Skip to content

System built to answer questions based on a PDF using natural language as an intermediary.

License

Notifications You must be signed in to change notification settings

JavierChicoOfc/PDF-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF-Solver

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.

Preview

Note: system crashes when received horizontal pages on PDFs

Usage

  1. Clone the repository
  2. Create a virtual environment with python3 -m venv venv, conda or any other tool. It is needed for Streamlit to work properly.
  3. Install the dependencies pip install -r requirements.txt in the virtual environment
  4. {Optional} Go to config.py and write down your own key for OpenAI API (you can get it here)
  5. {Optional} Go to config.py and write down your own settings for Pinecone: envirment, api_key, index_name
  6. Run the app streamlit run main.py
  7. Follow the instructions on the web page

Extra

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).

Architecture design

Architecture

About

System built to answer questions based on a PDF using natural language as an intermediary.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages