Medical chatbot using Llama2 for answering queries
Top 82.4% on sourcepulse
This project provides a medical chatbot leveraging Llama2 and Sentence Transformers, powered by Langchain and Chainlit. It aims to answer user queries with medical information, citing sources when available, and is suitable for developers and researchers in the medical AI domain.
How It Works
The chatbot utilizes a retrieval-augmented generation (RAG) approach. User queries are processed using Sentence Transformers to create embeddings, which are then used to retrieve relevant information from a FAISS vector store. This retrieved context, along with the original query, is fed into the Llama2 language model via Langchain to generate a comprehensive and sourced answer. This method enhances accuracy and provides explainability by referencing data sources.
Quick Start & Requirements
pip install -r requirements.txt
Highlighted Details
Maintenance & Community
No specific details on maintainers, community channels, or roadmap are provided in the README.
Licensing & Compatibility
Limitations & Caveats
The README mentions the need to download language models and set up a vector store, with instructions pointing to external Langchain documentation, implying a non-trivial setup process. Specific model versions or performance benchmarks are not detailed.
1 year ago
1+ week