This is a Python application that allows you to load a PDF and ask questions about it using natural language. The application uses a LLM to generate a response about your PDF. The LLM will not answer questions unrelated to the document.
To install the repository, please clone this repository and install the requirements:
pip install -r requirements.txt
You will also need to add your OpenAI API key to the .env
file.
To use the application, run the main.py
file with the streamlit CLI (after having installed streamlit):
streamlit run app.py