Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 534 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 534 Bytes

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.