chatgpt-retrieval

Simple script to use ChatGPT on your own files.

Here's the YouTube Video.

Installation

Install Langchain.

pip install langchain
pip install openai
pip install chromadb
pip install tiktoken

Modify constants.py to use your own OpenAI API key.

Place your own data into data.txt.

Example usage

> python chatgpt.py "what is my dog's name"
Your dog's name is Sunny.