mirror of
https://github.com/kennethreitz/langchain.git
synced 2026-06-05 23:00:18 +00:00
RAG Pinecone
This template performs RAG using Pinecone and OpenAI.
Pinecone
This connects to a hosted Pinecone vectorstore.
Be sure that you have set a few env variables in chain.py:
PINECONE_API_KEYPINECONE_ENVindex_name
LLM
Be sure that OPENAI_API_KEY is set in order to the OpenAI models.