Skip to content

Vinit-joshi2/Medical_ChatBot

Repository files navigation

Medical_ChatBot



How to run?

STEPS:

Clone the repository

git clone https://github.com/Vinit-joshi2/Medical_ChatBot.git

STEP 01- Create a voirtual environment after opening the repository

python -m venv myenv
myenv/Scripts/activate

STEP 02- install the requirements

pip install -r requirements.txt

Create a .env file in the root directory and add your Pinecone & openai credentials as follows:

PINECONE_API_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
GOOGLE_API_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# run the following command to store embeddings to pinecone
python store_index.py
# Finally run the following command
python app.py

Now,

open up localhost:

Techstack Used:

  • Python
  • LangChain
  • Flask
  • GPT
  • Pinecone
  • Html , CSS , JS

About

Developed a Flask-based medical RAG chatbot using HuggingFace embeddings, Pinecone vector search, and Google Gemini with custom retrieval chains to generate accurate, document-grounded medical responses. Designed a scalable backend pipeline enabling real-time query processing and efficient vector-based similarity search.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages