Suppose you possess various text documents (such as PDFs, txt, code etc.) and want to ask questions questions about what's inside these docs. Since LLMs understand text tasks quite well we can use them as a solution for this purpose.
- python 3.9
- OpenAI APIKey. Please generate a .env file with the key. This file must be saved at this level with the following structure.
OPENAI_API_KEY=your_key
After cloning this repo, please install requirements.
pip install -r requirements.txt
There are two ways to use the code, running the streamlit application
streamlit run app.py
Or there is a notebook index.ipynb