project repo: https://github.com/conda create -n medichal python=3.10 -yconda activate medichalpip install -r requirements.txtCreate a .env file in the root directory and add your Pinecone & llm credentials (I used mistrai via openrouter) as follows:
PINECONE_API_KEY = "xxxxxxxxxxxx"
OPENROUTER_API_KEY = "xxxxxxxxxx"# run the following command to store embeddings to pinecone
python store_index.py#Finally run the following command
python app.pyNow,
open up localhost:8080Python LangChain Flask GPT Pinecone