PDF-Solver is a web application that allows users to ask questions about the content of a PDF file using natural language. It is built upon GPT-3.5.
Note: system crashes when received horizontal pages on PDFs
- Clone the repository
- Create a virtual environment with
python3 -m venv venv
, conda or any other tool. It is needed for Streamlit to work properly. - Install the dependencies
pip install -r requirements.txt
in the virtual environment - {Optional} Go to config.py and write down your own key for OpenAI API (you can get it here)
- {Optional} Go to config.py and write down your own settings for Pinecone: envirment, api_key, index_name
- Run the app
streamlit run main.py
- Follow the instructions on the web page
In the config.py file there is a parameter designed as EVALUATION, it is False by default, but could be turned on to enable an LLM evaluation for each answer (it would increase the cost per question).