/langchain-rag-tutorial

A simple Langchain RAG application.

Primary LanguagePython

Langchain RAG Tutorial

Install dependencies.

pip install -r requirements.txt

Create the Chroma DB.

python create_database.py

Query the Chroma DB.

python query_data.py "How does Alice meet the Mad Hatter?"

You'll also need to set up an OpenAI account (and set the OpenAI key in your environment variable) for this to work.