Skip to content

hwchase17/chat-your-data

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages