TonyTromp / langchain-rag-tutorial

A simple Langchain RAG application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A simple Langchain RAG application.


Languages

Language:Python 100.0%