The Medical Chatbot offers the following features:
-
Chatbot:
-
User-friendly Interface:
-
Answer questions using user's data
- Python
- LangChain
- Flask
- Meta Llama2
- Pinecone
Clone the repository
git clone https:/Msparihar/Medical-Chatbot-using-Llama2.git
conda create -n mchatbot python=3.8 -y
conda activate mchatbot
pip install -r requirements.txt
PINECONE_API_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
PINECONE_API_ENV = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Download the quantized model from the link provided in the model folder & keep the model in the model directory:
## Download the Llama 2 Model:
llama-2-7b-chat.ggmlv3.q4_0.bin
## From the following link:
https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/tree/main
# run the following command
python store_index.py
# Finally run the following command
python app.py
Now,
open up localhost:
Contributions to the Fire Detection project are welcome! If you'd like to contribute, please follow these steps:
-
Fork the repository on GitHub.
-
Create a new branch from the
main
branch. -
Make your modifications and enhancements.
-
Test your changes thoroughly.
-
Commit and push your changes to your forked repository.
-
Submit a pull request to the main repository, describing your changes in detail.
Please ensure your contributions adhere to the project's coding standards and guidelines.
This project is licensed under the MIT License. Feel free to modify and distribute it according to the terms of the license.
If you have any questions, suggestions, or feedback regarding this project, please contact the project maintainer at [email protected]
I really appreciate your interest in this project and hope you found this project helpful! Keep Exploring!