feat: display sources in chat messages (#45)
Co-authored-by:
Marcus Schiesser <mail@marcusschiesser.de>
Showing
- helpers/env-variables.ts 8 additions, 10 deletionshelpers/env-variables.ts
- package.json 1 addition, 1 deletionpackage.json
- pnpm-lock.yaml 2399 additions, 1918 deletionspnpm-lock.yaml
- templates/types/streaming/express/package.json 6 additions, 6 deletionstemplates/types/streaming/express/package.json
- templates/types/streaming/express/src/controllers/llamaindex-stream.ts 46 additions, 20 deletions...es/streaming/express/src/controllers/llamaindex-stream.ts
- templates/types/streaming/fastapi/app/api/routers/chat.py 22 additions, 4 deletionstemplates/types/streaming/fastapi/app/api/routers/chat.py
- templates/types/streaming/fastapi/app/api/routers/vercel_response.py 29 additions, 0 deletions...ypes/streaming/fastapi/app/api/routers/vercel_response.py
- templates/types/streaming/nextjs/app/api/chat/llamaindex-stream.ts 46 additions, 20 deletions.../types/streaming/nextjs/app/api/chat/llamaindex-stream.ts
- templates/types/streaming/nextjs/app/components/chat-section.tsx 1 addition, 8 deletions...es/types/streaming/nextjs/app/components/chat-section.tsx
- templates/types/streaming/nextjs/app/components/transform.ts 0 additions, 19 deletionstemplates/types/streaming/nextjs/app/components/transform.ts
- templates/types/streaming/nextjs/app/components/ui/chat/chat-image.tsx 17 additions, 0 deletions...es/streaming/nextjs/app/components/ui/chat/chat-image.tsx
- templates/types/streaming/nextjs/app/components/ui/chat/chat-message.tsx 59 additions, 31 deletions.../streaming/nextjs/app/components/ui/chat/chat-message.tsx
- templates/types/streaming/nextjs/app/components/ui/chat/chat-sources.tsx 88 additions, 0 deletions.../streaming/nextjs/app/components/ui/chat/chat-sources.tsx
- templates/types/streaming/nextjs/app/components/ui/chat/index.ts 27 additions, 0 deletions...es/types/streaming/nextjs/app/components/ui/chat/index.ts
- templates/types/streaming/nextjs/app/components/ui/hover-card.tsx 29 additions, 0 deletions...s/types/streaming/nextjs/app/components/ui/hover-card.tsx
- templates/types/streaming/nextjs/package.json 9 additions, 8 deletionstemplates/types/streaming/nextjs/package.json
Loading
Please register or sign in to comment