You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/templates/rag-pinecone
David Duong d39b4b61b6
Batch apply `poetry lock --no-update` for all templates (#12531)
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>
11 months ago
..
rag_pinecone Format Templates (#12396) 11 months ago
tests Templates (#12294) 11 months ago
LICENSE Templates (#12294) 11 months ago
README.md Clean-up template READMEs (#12403) 11 months ago
poetry.lock Batch apply `poetry lock --no-update` for all templates (#12531) 11 months ago
pyproject.toml Templates (#12294) 11 months ago
rag_pinecone.ipynb notebook fmt (#12498) 11 months ago

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.