Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mihirkudale/end-to-end-medical-chatbot-using-llama2
https://github.com/mihirkudale/end-to-end-medical-chatbot-using-llama2
generative-ai langchain llama2 medical-chatbot meta pinecone python
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mihirkudale/end-to-end-medical-chatbot-using-llama2
- Owner: mihirkudale
- Created: 2024-01-22T04:14:56.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-05-12T05:55:48.000Z (8 months ago)
- Last Synced: 2024-10-18T22:12:12.726Z (3 months ago)
- Topics: generative-ai, langchain, llama2, medical-chatbot, meta, pinecone, python
- Language: Jupyter Notebook
- Homepage:
- Size: 10.3 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# End-to-end-Medical-Chatbot-using-Llama2
# How to run?
### STEPS:Clone the repository
```bash
Project repo: https://github.com/mihirkudale/End-to-end-Medical-Chatbot-using-Llama2.git
```### STEP 01- Create a conda environment after opening the repository
```bash
conda create -n mchatbot python=3.8 -y
``````bash
conda activate mchatbot
```### STEP 02- install the requirements
```bash
pip install -r requirements.txt
```### Create a `.env` file in the root directory and add your Pinecone credentials as follows:
```ini
PINECONE_API_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
PINECONE_API_ENV = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```### Download the quantize model from the link provided in model folder & keep the model in the model directory:
```ini
## 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
``````bash
# run the following command
python store_index.py
``````bash
# Finally run the following command
python app.py
```Now,
```bash
open up localhost:
```### Techstack Used:
- Python
- LangChain
- Flask
- Meta Llama2
- Pinecone