git clone https://github.com/Ishan-phys/llms-project.git
venv -p python3.10 venv
source venv/bin/activate
pip3 install -r requirements.txt
HUGGINGFACEHUB_API_TOKEN=xxxxxxxxxxxxxxxx
PINECONE_API_KEY=xxxxxxxxxxxxxxxx
PINECONE_API_ENV=xxxxxxxxxxxxxxxx
## 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
## Set the document store and the retriever in the data folder
document_store = "data/documment.pdf"
## Setup the Pinecone Index on the Pinecone Console
https://www.pinecone.io/
python3 store_index.py
python3 app.py
Open the following link in the browser
http://127.0.0.0:8080
Type in the medical related query and the chatbot will answer the query