mirror of
https://github.com/run-llama/create-llama.git
synced 2026-07-15 13:15:42 -04:00
[PR #45] [MERGED] feat: display chat message sources #212
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/45
Author: @thucpn
Created: 4/10/2024
Status: ✅ Merged
Merged: 4/17/2024
Merged by: @marcusschiesser
Base:
main← Head:feat/display-chat-message-sources📝 Commits (10+)
f79e474feat: display chat message sources56fa138log node when open dialogebf78e2show node id in dialog11ebf74fix: enhance ui6e0f58crename to sources3a3db16add vercel response and update transform to work with streaming2140d21re-add config swaggerdaffda6refactor: upgrade ai and support message annotations6728077remove data headers and rename document type3ba416afeat: use appendMessageAnnotation in llama stream📊 Changes
16 files changed (+2787 additions, -2045 deletions)
View changed files
📝
helpers/env-variables.ts(+8 -10)📝
package.json(+1 -1)📝
pnpm-lock.yaml(+2399 -1918)📝
templates/types/streaming/express/package.json(+6 -6)📝
templates/types/streaming/express/src/controllers/llamaindex-stream.ts(+46 -20)📝
templates/types/streaming/fastapi/app/api/routers/chat.py(+22 -4)➕
templates/types/streaming/fastapi/app/api/routers/vercel_response.py(+29 -0)📝
templates/types/streaming/nextjs/app/api/chat/llamaindex-stream.ts(+46 -20)📝
templates/types/streaming/nextjs/app/components/chat-section.tsx(+1 -8)➖
templates/types/streaming/nextjs/app/components/transform.ts(+0 -19)➕
templates/types/streaming/nextjs/app/components/ui/chat/chat-image.tsx(+17 -0)📝
templates/types/streaming/nextjs/app/components/ui/chat/chat-message.tsx(+59 -31)➕
templates/types/streaming/nextjs/app/components/ui/chat/chat-sources.tsx(+88 -0)📝
templates/types/streaming/nextjs/app/components/ui/chat/index.ts(+27 -0)➕
templates/types/streaming/nextjs/app/components/ui/hover-card.tsx(+29 -0)📝
templates/types/streaming/nextjs/package.json(+9 -8)📄 Description
Summary by CodeRabbit
New Features
VercelStreamResponseclass.Refactor
Documentation
@radix-ui/react-dialogin Next.js.Chores
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.