ChatPDF 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
Getting Started Code is up now, ⭐ (Star) the repo to receive updates
Replit and Colab version coming soon
Follow Ankur Singh on twitter for updates
How to run ? (Things might change based on OS)
Create a virtual environment in python https://docs.python.org/3/library/venv.html
Run "pip install langchain pypdf chromadb openai tiktoken"
Set OPENAI_API_KEY environment variable with your openai key
Run "python main.py"
Change pdf file path and ask other questions
To run streamlit app, follow the steps run "streamlit run streamlitui.py"
Demo link https://heybot.thesamur.ai/