Chat with any PDF.
Easily upload the PDF documents you'd like to chat with. Instant answers. Ask questions, extract information, and summarize documents with AI. Sources included.
Create app like ChatPDF or PDF.ai in less than 10 lines of code
Code is up now, ⭐ (Star) the repo to receive updates
Replit and streamlit version coming soon
-
Create a virtual environment in python https://docs.python.org/3/library/venv.html
-
Run "pip install -r requirements.txt"
-
Set OPENAI_API_KEY environment variable with your openai key
-
Run "python main.py"
-
Change pdf file and query in code if you want to try with any other content
To run streamlit app, follow the steps run "streamlit run streamlitui.py"