Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

007dude/ChatPDF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

Repository files navigation

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 streamlit version coming soon

Follow Anil Chandra Naidu Matcha on twitter for updates

Subscribe to https://www.youtube.com/@AnilChandraNaiduMatcha for more such video tutorials

How to run ? (Things might change based on OS)

  1. Create a virtual environment in python https://docs.python.org/3/library/venv.html

  2. Run "pip install -r requirements.txt"

  3. Set OPENAI_API_KEY environment variable with your openai key

  4. Run "python main.py"

  5. 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"

Parts of the streamlit code is inspired from here

Demo link

https://heybot.thesamur.ai/

Also check

Chat with Website code

Chat with CSV code

Chat with Youtube code

ChatGPT in Discord code

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Python 100.0%

AltStyle によって変換されたページ (->オリジナル) /