Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anil-matcha/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.
https://github.com/anil-matcha/chatpdf

chatbot chatgpt chatpdf chatwithpdf gpt gpt4 langchain openai pdf pdf-chat-bot pdfgpt pdftochatbot

Last synced: about 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

        

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

### Tutorial -> https://www.youtube.com/watch?v=3aRc1ijrTVs

Create app like [ChatPDF](https://www.thesamur.ai/chatpdf-alternative) or [PDF.ai](https://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](https://twitter.com/matchaman11) 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](https://github.com/viniciusarruda/chatpdf)

### Demo link

https://heybot.thesamur.ai/

### Also check

[Chat with Website code](https://github.com/Anil-matcha/Website-to-Chatbot)

[Chat with CSV code](https://github.com/Anil-matcha/Chat-With-Excel)

[Chat with Youtube code](https://github.com/Anil-matcha/Chat-Youtube)

[ChatGPT in Discord code](https://github.com/Anil-matcha/DiscordGPT)