This example demonstrates how to use the Retrieval Augmented Generation (RAG) model with Pinecone vector database.
- Install all dependencies
pip install -U langchain pinecone-client openai
- Open
main.py
and set theindex_name
anddata_directory
- Run
python main.py
- Enter your query or type 'exit' to quit the application