mirror of
https://github.com/run-llama/create-llama.git
synced 2026-07-13 21:01:55 -04:00
[PR #642] [MERGED] feat: Support citation for agentic template #656
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/create-llama/pull/642
Author: @leehuwuj
Created: 5/22/2025
Status: ✅ Merged
Merged: 5/28/2025
Merged by: @marcusschiesser
Base:
main← Head:lee/citation-agentic📝 Commits (10+)
ec06a12feat: add citation processing and prompts for query engineff9acacadd example and improve tool descriptiona46d655better condad0c2f3Improve citation instructions in prompts and enhance logging in query engine creation0960b14Merge remote-tracking branch 'origin/main' into lee/citation-agentic491dd8eEnhance citation instructions in prompts, improve error handling in source node transformation, and update response synthesizer in query engine creation22ca4baUpdate @llamaindex/chat-ui to version 0.4.6 in package.json and pnpm-lock.yaml; enhance citation instructions in prompts for clarity and correctness.eedffb0Enhance system prompt and tool description for improved clarity on knowledge base access and citation format in query responses.13a1454introduce preconfigured agent for citation answering8799669Refactor workflow creation to utilize query tool with citation support; enhance system prompt for clarity in knowledge base responses.📊 Changes
25 files changed (+3224 additions, -2820 deletions)
View changed files
➕
.changeset/few-news-marry.md(+5 -0)➕
.changeset/rich-nights-hug.md(+5 -0)➕
.changeset/small-insects-hug.md(+5 -0)➕
.changeset/stale-things-beg.md(+5 -0)📝
.github/workflows/e2e.yml(+10 -0)📝
packages/create-llama/helpers/python.ts(+14 -0)📝
packages/create-llama/templates/components/use-cases/python/agentic_rag/workflow.py(+14 -4)📝
packages/create-llama/templates/types/llamaindexserver/fastapi/app/settings.py(+2 -2)📝
packages/create-llama/templates/types/llamaindexserver/fastapi/pyproject.toml(+4 -1)📝
packages/server/package.json(+1 -1)📝
pnpm-lock.yaml(+5 -5)➕
python/llama-index-server/examples/llamacloud/main.py(+113 -0)📝
python/llama-index-server/llama_index/server/api/callbacks/__init__.py(+2 -0)➕
python/llama-index-server/llama_index/server/api/callbacks/agent_call_tool.py(+26 -0)📝
python/llama-index-server/llama_index/server/api/callbacks/source_nodes.py(+34 -14)📝
python/llama-index-server/llama_index/server/api/models.py(+3 -5)📝
python/llama-index-server/llama_index/server/api/routers/chat.py(+2 -1)📝
python/llama-index-server/llama_index/server/prompts.py(+39 -2)📝
python/llama-index-server/llama_index/server/services/llamacloud/file.py(+7 -7)📝
python/llama-index-server/llama_index/server/tools/index/__init__.py(+2 -1)...and 5 more files
📄 Description
Summary by CodeRabbit
New Features
Improvements
Bug Fixes
Chores
@llamaindex/chat-uito 0.4.6.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.