langchain/templates/rag-pinecone
Lance Martin d6acb3ed7e
Clean-up template READMEs (#12403)
Normalize, and update notebooks.
2023-10-26 22:23:03 -07:00
..
rag_pinecone Format Templates (#12396) 2023-10-26 19:44:30 -07:00
tests Templates (#12294) 2023-10-25 18:47:42 -07:00
LICENSE Templates (#12294) 2023-10-25 18:47:42 -07:00
poetry.lock Templates (#12294) 2023-10-25 18:47:42 -07:00
pyproject.toml Templates (#12294) 2023-10-25 18:47:42 -07:00
rag_pinecone.ipynb Add template for Pinecone + Multi-Query (#12353) 2023-10-26 10:12:23 -07:00
README.md Clean-up template READMEs (#12403) 2023-10-26 22:23:03 -07: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_KEY
  • PINECONE_ENV
  • index_name

LLM

Be sure that OPENAI_API_KEY is set in order to the OpenAI models.