Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RAG model for discussions based on specific medical literature #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HendricksJudy
Copy link

Fixes #30

Add a new model for retrieval-augmented generation (RAG) to enable discussions based on specific medical literature.

  • New RAG Model: Add src/lib/health-data/parser/rag.ts to implement the RAG model for document and vision parsing.
  • Assistant Modes: Update src/app/api/assistant-modes/route.ts to include the RAG model in the assistant modes.
  • Chat Rooms: Modify src/app/api/chat-rooms/route.ts to import the RAG model for discussions.
  • Chat Setting Sidebar: Update src/components/chat/chat-setting-side-bar.tsx to reference the RAG model in the assistant mode settings.
  • Chat Sidebar: Update src/components/chat/chat-side-bar.tsx to reference the RAG model in the chat room settings.

Fixes OpenHealthForAll#30

Add a new model for retrieval-augmented generation (RAG) to enable discussions based on specific medical literature.

* **New RAG Model**: Add `src/lib/health-data/parser/rag.ts` to implement the RAG model for document and vision parsing.
* **Assistant Modes**: Update `src/app/api/assistant-modes/route.ts` to include the RAG model in the assistant modes.
* **Chat Rooms**: Modify `src/app/api/chat-rooms/route.ts` to import the RAG model for discussions.
* **Chat Setting Sidebar**: Update `src/components/chat/chat-setting-side-bar.tsx` to reference the RAG model in the assistant mode settings.
* **Chat Sidebar**: Update `src/components/chat/chat-side-bar.tsx` to reference the RAG model in the chat room 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.

Add Model for Conversations Based on Specific Medical Knowledge
1 participant