[PR #640] [MERGED] feat: Add config for suggest next question #654

Closed
opened 2026-02-15 20:15:44 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/640
Author: @leehuwuj
Created: 5/21/2025
Status: Merged
Merged: 5/23/2025
Merged by: @thucpn

Base: mainHead: lee/add-next-question-config


📝 Commits (10+)

  • 8921730 Enhance LlamaIndexServer with next question suggestion feature
  • c8d6f45 Implement next question suggestion feature in LlamaIndexServer
  • c67972f add changeset
  • 871feec remove log
  • c354cfd bundle ui instead of download
  • 13bdfea check test
  • 93c3ba0 check test
  • 14f9f02 fix tests
  • ebb71ec Update artifact path in workflow and clarify README.md text
  • f51414c support changeset for python

📊 Changes

34 files changed (+524 additions, -474 deletions)

View changed files

.changeset/deep-grapes-do.md (+5 -0)
.changeset/silver-corners-fold.md (+5 -0)
📝 .github/workflows/lint_on_push_or_pull.yml (+10 -0)
📝 .github/workflows/release.yml (+7 -0)
.github/workflows/release_llama_index_server.yml (+0 -138)
📝 .github/workflows/test_llama_index_server.yml (+55 -18)
📝 package.json (+6 -3)
📝 packages/server/README.md (+1 -0)
📝 packages/server/examples/agentic-rag/index.ts (+1 -0)
📝 packages/server/next/app/api/chat/route.ts (+1 -0)
📝 packages/server/src/handlers/chat.ts (+4 -1)
📝 packages/server/src/index.ts (+1 -0)
packages/server/src/prompts.ts (+14 -0)
📝 packages/server/src/server.ts (+11 -3)
📝 packages/server/src/types.ts (+1 -0)
📝 packages/server/src/utils/suggestion.ts (+4 -18)
📝 pnpm-lock.yaml (+6 -0)
📝 pnpm-workspace.yaml (+1 -0)
📝 python/llama-index-server/.gitignore (+1 -0)
📝 python/llama-index-server/README.md (+1 -0)

...and 14 more files

📄 Description

Summary by CodeRabbit

  • New Features
    • Added a configuration option to enable or disable suggested next questions after the assistant's response in both the server and Python package.
    • The prompt for suggested next questions can now be customized via an environment variable.
  • Documentation
    • Updated documentation to reflect the new configuration option and prompt customization for suggested next questions.
  • Chores
    • Improved build and test workflows, including better integration of Node.js and Python environments, and added scripts for frontend asset management and version synchronization.
    • Expanded workspace configuration to include Python packages.
  • Refactor
    • Switched UI resource management from downloading external assets to copying bundled resources within the Python package.
    • Updated test suite to conditionally run UI integration tests based on an environment variable.
  • Bug Fixes
    • Improved error handling and validation for UI resource copying and server initialization.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/create-llama/pull/640 **Author:** [@leehuwuj](https://github.com/leehuwuj) **Created:** 5/21/2025 **Status:** ✅ Merged **Merged:** 5/23/2025 **Merged by:** [@thucpn](https://github.com/thucpn) **Base:** `main` ← **Head:** `lee/add-next-question-config` --- ### 📝 Commits (10+) - [`8921730`](https://github.com/run-llama/create-llama/commit/89217303a0b9aa46d60a72eaa5b51af14d6fd4c4) Enhance LlamaIndexServer with next question suggestion feature - [`c8d6f45`](https://github.com/run-llama/create-llama/commit/c8d6f4538562819b88533121fcfbafbca937f55e) Implement next question suggestion feature in LlamaIndexServer - [`c67972f`](https://github.com/run-llama/create-llama/commit/c67972ff89e18923f6916f20dd31c0cb396ef558) add changeset - [`871feec`](https://github.com/run-llama/create-llama/commit/871feec97cd708607b7e91cba97ff0a621c57f8e) remove log - [`c354cfd`](https://github.com/run-llama/create-llama/commit/c354cfd133b597310d1eddf2da915b4635288321) bundle ui instead of download - [`13bdfea`](https://github.com/run-llama/create-llama/commit/13bdfea120b5c34807e236075070335b37b4908e) check test - [`93c3ba0`](https://github.com/run-llama/create-llama/commit/93c3ba0c0d128c236f123d36427045167dae5d0e) check test - [`14f9f02`](https://github.com/run-llama/create-llama/commit/14f9f0234a6b93ed809601b87abbe63d325a0653) fix tests - [`ebb71ec`](https://github.com/run-llama/create-llama/commit/ebb71ec02d18e706849d043bf0da339bae0bf7ab) Update artifact path in workflow and clarify README.md text - [`f51414c`](https://github.com/run-llama/create-llama/commit/f51414cec171ee40f631812b108f1a5780d5df31) support changeset for python ### 📊 Changes **34 files changed** (+524 additions, -474 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/deep-grapes-do.md` (+5 -0) ➕ `.changeset/silver-corners-fold.md` (+5 -0) 📝 `.github/workflows/lint_on_push_or_pull.yml` (+10 -0) 📝 `.github/workflows/release.yml` (+7 -0) ➖ `.github/workflows/release_llama_index_server.yml` (+0 -138) 📝 `.github/workflows/test_llama_index_server.yml` (+55 -18) 📝 `package.json` (+6 -3) 📝 `packages/server/README.md` (+1 -0) 📝 `packages/server/examples/agentic-rag/index.ts` (+1 -0) 📝 `packages/server/next/app/api/chat/route.ts` (+1 -0) 📝 `packages/server/src/handlers/chat.ts` (+4 -1) 📝 `packages/server/src/index.ts` (+1 -0) ➕ `packages/server/src/prompts.ts` (+14 -0) 📝 `packages/server/src/server.ts` (+11 -3) 📝 `packages/server/src/types.ts` (+1 -0) 📝 `packages/server/src/utils/suggestion.ts` (+4 -18) 📝 `pnpm-lock.yaml` (+6 -0) 📝 `pnpm-workspace.yaml` (+1 -0) 📝 `python/llama-index-server/.gitignore` (+1 -0) 📝 `python/llama-index-server/README.md` (+1 -0) _...and 14 more files_ </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a configuration option to enable or disable suggested next questions after the assistant's response in both the server and Python package. - The prompt for suggested next questions can now be customized via an environment variable. - **Documentation** - Updated documentation to reflect the new configuration option and prompt customization for suggested next questions. - **Chores** - Improved build and test workflows, including better integration of Node.js and Python environments, and added scripts for frontend asset management and version synchronization. - Expanded workspace configuration to include Python packages. - **Refactor** - Switched UI resource management from downloading external assets to copying bundled resources within the Python package. - Updated test suite to conditionally run UI integration tests based on an environment variable. - **Bug Fixes** - Improved error handling and validation for UI resource copying and server initialization. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:15:44 -05:00
yindo closed this issue 2026-02-15 20:15:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#654