GPT but with your own data
- Install necessary libraries
pip install langchain
pip install python-dotenv
- Edit .env and txt file
cp .env.template .env
cp data.txt.template data.txt
Make sure to put in your OpenAI API Key and content to data.txt.
Note: you can put multiple .txt files
- Run script
python retriever.py "Prompt"