* fix: stream not stop after sending HumanInputEvent
* Create polite-bugs-develop.md
* decide to run e2e:ts:streaming or e2e:ts:server based on matrix.template-types
* fix scripts
* update changeset
* feat: show document artifact after generating report
* keep chat message content as it is
* use artifactEvent from server
* add deep research example
* bump chat-ui for new editor
* import editor css
* hide warning for workflowEvent<{}>() in eject mode
* fix format
* use CL for better testing
* generate artifact after streaming report in Python
* bump chat-ui to support citations
* use isinstance to check stream
* fix document editor spacing
* Create tame-wolves-obey.md
* add sources to document artifact
* add sources to document artifact in python
* type cast
* no need score
* fix lint
* move handle stream logic to server
* refactor: use chunk.text and chunk.raw
* bump chat-ui 0.5.6 to fix citations
* update changset
* fix lock
* init private support for python BE
* feat: Add private file handling and upload support in FastAPI
- Introduced `main.py` to set up the FastAPI application with file upload capabilities.
- Created `workflow.py` to manage file reading and tool creation for uploaded files.
- Updated `server.py` to include upload API configuration.
- Modified chat router to handle file uploads and return server file metadata.
- Refactored chat models to support new file handling structure.
- Enhanced file service to manage private file storage and retrieval.
* add process base64 and update examples
* add readme example
* fix test
* feat: Add file upload support to LlamaIndexServer TS
* add get_file to fileservice
* refactor: Simplify file storage logic in helpers.ts
* update example
* attach file to user message
* fix example, improve model
* feat: Add file upload support and enhance chat workflow in LlamaIndexServer
* remove redundant change
* support agent workflow for ts
* Enhance README and add file upload examples for LlamaIndex Server. Updated instructions for running examples and added new workflows for handling uploaded files. Included detailed notes on using file attachments in workflows.
* update doc
* update example
* Enhance README with detailed instructions for file upload in chat UI. Update custom workflow to handle file attachments and modify chat router to remove unused attachment handling. Refactor create_workflow to pass attachments from chat request.
* Refactor file handling in workflows by updating the create_file_tool function to accept file attachments directly. Introduce a new ServerFileResponse model for better file response handling. Update chat router to utilize the new FileUpload model for file uploads. Clean up imports and ensure consistent file attachment processing across workflows.
* Enhance file handling in workflows by updating README and example files. Introduce a new `workflowFactory` structure to support file attachments, and improve the `extractFileAttachments` function for better clarity and usability. Update descriptions in tools to reflect changes in file ID handling.
* fix unstoppable
* chore: fix issues
* add changeset
* bump chat-ui
* bump chat-ui for eject project
---------
Co-authored-by: Marcus Schiesser <mail@marcusschiesser.de>
* Enhance LlamaIndexServer with next question suggestion feature
- Added `suggest_next_questions` parameter to the LlamaIndexServer for suggesting follow-up questions after the assistant's response.
- Updated README.md to document the new configuration option.
- Introduced `SUGGEST_NEXT_QUESTION_PROMPT` in prompts.py for customizable question suggestions.
- Bumped version to 0.1.16 in uv.lock to reflect the new feature.
* Implement next question suggestion feature in LlamaIndexServer
- Added `suggestNextQuestions` option to LlamaIndexServer for suggesting follow-up questions after the assistant's response.
- Updated README.md to include the new configuration option.
- Modified example workflow to utilize the new feature.
- Enhanced chat handler to conditionally send suggested questions based on the new option.
* add changeset
* remove log
* bundle ui instead of download
* check test
* check test
check test
check test
check test
check test
check test
check test
check test
check test
check test
* fix tests
* Update artifact path in workflow and clarify README.md text
- Changed the artifact path in the GitHub Actions workflow from `python/llama-index-server/dist/` to `dist/`.
- Revised README.md to clarify the default prompt used for the `suggest_next_questions` configuration option.
* support changeset for python
* refactor: update llama-index-server structure and workflows
* fix workflows
* fix workflows
* fix workflows
* add changeset
* fix cannot release python
* Update packages/server/README.md
Co-authored-by: Thuc Pham <51660321+thucpn@users.noreply.github.com>
* Update starter questions in LlamaIndex App and add TODO for suggestion feature in chat API
---------
Co-authored-by: Marcus Schiesser <mail@marcusschiesser.de>
Co-authored-by: Thuc Pham <51660321+thucpn@users.noreply.github.com>
* Add UI components and static assets for chat interface
* feat: Add simple chat app example with FastAPI integration
* fix: update default workflow file path and improve error handling
* update doc
* change to file_path
* include changes from #614
* fix mypy
* support devmode for backend ts server
* Revert "support devmode for backend ts server"
This reverts commit bd943fd8c1.
* fix: polling should work when server not yet started
* bump chat-ui to fix syntax highlight issue
* fix: missing language for code editor
* enhance UI with shadow overlay
* enhance doc
* fix minor UI bugs
* enhance doc
* remove unessesary debug log
* fix wrong check
* increase delay time before trigger polling
* feat: support dev mode for backend ts server (#616)
* feat: support dev mode for backend ts server
* update message
* validate typescript file
* fix: format
* use temp file to avoid server restart
* fix format
* use npx tsc
* remove typescript deps
---------
Co-authored-by: thucpn <thucsh2@gmail.com>
Co-authored-by: Thuc Pham <51660321+thucpn@users.noreply.github.com>
* support artifact
* migrate poetry to uv
* fix ci
* update ci
* Refactor artifact generation tools by introducing separate CodeGenerator and DocumentGenerator classes. Update app_writer to utilize FunctionAgent for code and document generation workflows. Remove deprecated ArtifactGenerator class. Enhance artifact transformation logic in callbacks. Improve system prompts for clarity and instruction adherence.
* enhance code
* remove previous content from tool input
* fix test
* bump chat ui
* revert changes
* remove dead code
* Add artifact workflows for code and document generation
- Introduced `code_workflow.py` for generating and updating code artifacts based on user requests.
- Introduced `document_workflow.py` for generating and updating document artifacts (Markdown/HTML).
- Created `main.py` to set up FastAPI server with artifact workflows.
- Added a README for setup instructions and usage.
- Implemented UI components for displaying artifact status and progress.
- Updated chat router to remove unused event callbacks.
* remove app_writer workflow
* Refactor artifact workflow classes and UI event handling
- Renamed `ArtifactUIEvents` to `UIEventData` for clarity.
- Introduced `last_artifact` attribute in `ArtifactWorkflow` to streamline artifact retrieval.
- Updated chat history handling to utilize the new `last_artifact` attribute.
- Modified event streaming to use `UIEventData` for consistent event structure.
- Added a new UI component for displaying artifact workflow status and progress.
* Use uv to release package
* Refactor artifact workflows and UI components
- Updated `code_workflow.py` and `document_workflow.py` to improve chat history handling and user message storage.
- Enhanced `ArtifactWorkflow` to utilize optional fields in the `Requirement` model.
- Revised prompt instructions for clarity and conciseness in generating requirements.
- Modified UI event components to reflect changes in workflow stages and improve user feedback.
- Improved error handling for JSON parsing in artifact annotations.
* move code
* Merge remote-tracking branch 'origin/main' into lee/add-artifact
* sort artifact
* fix mypy
* fix adding custom route does not work
* fix mypy
* revert create-llama change
* disable e2e test for python package change
* fix missing set memory
* remove include last artifact in the code
* Add ArtifactEvent model and update workflows to use it
* chore: create-llama monorepo
* add root package.json and pnpm workspace
* keep e2e inside create-llama
* update root package.json
* move scripts and dev dependencies of create-llama to root
* update e2e test for create-llama package
* update lint workflow
* update release llama-index-server workflow
* update path for test_llama_index_server workflow
* remove local lock file
* keep lint and format in create-llama
* fix: format
* update pre-commit
* move playwright back to create-llama
* disable pnpm for installing generated frontend
* use npm for type check
* update gitignore
* try --ignore-workspace option
* Move llama-index-server from packages/python-server to python directory
* update CI for python server
* Create plenty-spies-tickle.md