mirror of
https://github.com/run-llama/create-llama.git
synced 2026-07-15 13:15:42 -04:00
[PR #399] [MERGED] feat: integrate llamaindex chat-ui #477
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/399
Author: @thucpn
Created: 10/28/2024
Status: ✅ Merged
Merged: 11/1/2024
Merged by: @marcusschiesser
Base:
main← Head:feat/integrate-llamaindex-chat-ui📝 Commits (10+)
981c561feat: integrate llamaindex chat-uif59e13erefactor: add message id and use append function4f59d61refactor: useFile from chat-ui65a2a2brefactor: move code to chat input and section0ea22d2keep chat message content as it isd7a143arefactor: use data from context instead of propsc30edb2feat: use markdown from chat-ui97eac2bfix: keep passing append to avoid re-render when chat suggestion changed244a4a7fix: remove dead code0f2c7a9refactor: use chat starter questions from chat-ui📊 Changes
34 files changed (+290 additions, -2019 deletions)
View changed files
➕
.changeset/nice-garlics-repeat.md(+5 -0)📝
templates/types/streaming/nextjs/app/components/chat-section.tsx(+11 -42)➖
templates/types/streaming/nextjs/app/components/ui/README-template.md(+0 -1)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat-actions.tsx(+0 -28)📝
templates/types/streaming/nextjs/app/components/ui/chat/chat-avatar.tsx(+4 -2)📝
templates/types/streaming/nextjs/app/components/ui/chat/chat-input.tsx(+52 -115)➕
templates/types/streaming/nextjs/app/components/ui/chat/chat-message-content.tsx(+30 -0)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-agent-events.tsx(+0 -222)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-events.tsx(+0 -50)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-files.tsx(+0 -13)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-image.tsx(+0 -17)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-sources.tsx(+0 -173)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-suggestedQuestions.tsx(+0 -31)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat-message/chat-tools.tsx(+0 -40)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat-message/codeblock.tsx(+0 -131)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat-message/index.tsx(+0 -184)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat-message/markdown.tsx(+0 -172)📝
templates/types/streaming/nextjs/app/components/ui/chat/chat-messages.tsx(+25 -131)➕
templates/types/streaming/nextjs/app/components/ui/chat/chat-starter.tsx(+26 -0)➖
templates/types/streaming/nextjs/app/components/ui/chat/chat.interface.ts(+0 -25)...and 14 more files
📄 Description
Summary by CodeRabbit
New Features
ChatSectionUIcomponent.ChatStartercomponent for fetching and displaying starter questions.ToolAnnotationsfor displaying tool-related annotations in chat messages.Markdowncomponent for rendering markdown content with media preprocessing.CustomChatMessagesandCustomChatInputcomponents for enhanced chat functionality.Bug Fixes
Refactor
Chores
package.jsonto enhance functionality and remove unused packages.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.