Skip to content

Amanda-WangXiao/LLM-Agent-4-Medical-Q-A

Repository files navigation

LLM-Agent-4-Medical-Q-A

Introduction

A LLM Agent for Medical Q&A based on LangChain.
MedicalQA for medical related questions and WebSearch(DuckDuckGo API) for general questions.
sentence-transformers/all-MiniLM-L6-v2 for Embedding and google/flan-t5-base for Generating.

Settings

Check requirements.txt for correct version of tools.
Update your own HuggingFace token HUGGINGFACEHUB_API_TOKEN = your_token_here in .env.
Add your own documents under the path "ref" in .md format.
Run python create_database.py first to create chroma database.

Test

Example Image Example Image

Releases

No releases published

Packages

No packages published