conda create -n mchatbot python=3.12.4 -y
conda activate mchatbot
pip install -r requirements.txt
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:
llama-2-7b-chat.ggmlv3.q4_0.bin
https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/tree/main
python store_index.py
python app.py Now,
open up localhost: Techstack Used: Python LangChain Flask Meta Llama2 Pinecone