refactor: use message annotations instead of sending data (#116)
--------- Co-authored-by:Thuc Pham <51660321+thucpn@users.noreply.github.com> Co-authored-by:
leehuwuj <leehuwuj@gmail.com>
Showing
- templates/types/streaming/express/src/controllers/chat.controller.ts 20 additions, 16 deletions...ypes/streaming/express/src/controllers/chat.controller.ts
- templates/types/streaming/express/src/controllers/llamaindex-stream.ts 56 additions, 32 deletions...es/streaming/express/src/controllers/llamaindex-stream.ts
- templates/types/streaming/fastapi/app/api/routers/models.py 28 additions, 14 deletionstemplates/types/streaming/fastapi/app/api/routers/models.py
- templates/types/streaming/nextjs/app/api/chat/llamaindex-stream.ts 56 additions, 32 deletions.../types/streaming/nextjs/app/api/chat/llamaindex-stream.ts
- templates/types/streaming/nextjs/app/api/chat/route.ts 20 additions, 16 deletionstemplates/types/streaming/nextjs/app/api/chat/route.ts
- templates/types/streaming/nextjs/app/components/ui/chat/chat-input.tsx 30 additions, 49 deletions...es/streaming/nextjs/app/components/ui/chat/chat-input.tsx
- templates/types/streaming/nextjs/app/components/ui/chat/use-csv.ts 11 additions, 63 deletions.../types/streaming/nextjs/app/components/ui/chat/use-csv.ts
- templates/types/streaming/nextjs/app/components/ui/upload-csv-preview.tsx 1 addition, 7 deletions...streaming/nextjs/app/components/ui/upload-csv-preview.tsx
Loading
Please register or sign in to comment