Skip to content

feat: Wire frontend chat to backend RAG endpoint#21

Open
emmanuelkb wants to merge 1 commit intomainfrom
feature/eowusu/end-to-end-chat-integration
Open

feat: Wire frontend chat to backend RAG endpoint#21
emmanuelkb wants to merge 1 commit intomainfrom
feature/eowusu/end-to-end-chat-integration

Conversation

@emmanuelkb
Copy link
Collaborator

  • Fix chat router to pass chunks list (not flat string) to ask_workmate
  • Replace mock sendChatMessage with real POST /chat/ask call
  • Add Chat nav link in sidebar for navigating back from User Management
  • Add thinking indicator (bouncing dots) while waiting for AI response
  • Fix chat layout so input stays pinned and messages scroll
  • Add error handling with user-friendly rate limit messages
  • Update Google embedder to use new google.genai SDK with retry logic
  • Add batched document ingestion to avoid ChromaDB timeouts
  • Switch to gemini-2.5-flash model and gemini-embedding-001
  • Allow GEMINI_API_KEY and NOTION_TOKEN in backend Settings

- Fix chat router to pass chunks list (not flat string) to ask_workmate
- Replace mock sendChatMessage with real POST /chat/ask call
- Add Chat nav link in sidebar for navigating back from User Management
- Add thinking indicator (bouncing dots) while waiting for AI response
- Fix chat layout so input stays pinned and messages scroll
- Add error handling with user-friendly rate limit messages
- Update Google embedder to use new google.genai SDK with retry logic
- Add batched document ingestion to avoid ChromaDB timeouts
- Switch to gemini-2.5-flash model and gemini-embedding-001
- Allow GEMINI_API_KEY and NOTION_TOKEN in backend Settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant