mirror of
https://github.com/hwchase17/langchain
synced 2024-11-02 09:40:22 +00:00
d39b4b61b6
Ran the following bash script for all templates ```bash #!/bin/bash set -e current_dir="$(pwd)" for directory in */; do if [ -d "$directory" ]; then (cd "$directory" && poetry lock --no-update) fi done cd "$current_dir" ``` Co-authored-by: Bagatur <baskaryan@gmail.com> |
||
---|---|---|
.. | ||
rag_pinecone | ||
tests | ||
LICENSE | ||
poetry.lock | ||
pyproject.toml | ||
rag_pinecone.ipynb | ||
README.md |
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.