Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 718 Bytes

README.md

File metadata and controls

30 lines (16 loc) · 718 Bytes

Chat-Your-Data

Create a ChatGPT like experience over your custom docs using LangChain.

See this blog post for a more detailed explanation.

Step 0: Install requirements

pip install -r requirements.txt

Step 1: Set your open AI Key

export OPENAI_API_KEY=<your_key_here>

Step 2: Ingest your data

Run: python ingest_data.py

This builds vectorstore.pkl using OpenAI Embeddings and FAISS.

Query data

Custom prompts are used to ground the answers in the state of the union text file.

Running the Application

By running python app.py from the command line you can easily interact with your ChatGPT over your own data.