Giter Site home page Giter Site logo

hellokellyworld / chatpdf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haoyitedaniu/chatpdf

0.0 0.0 0.0 9 KB

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.

Home Page: https://embedai.thesamur.ai

License: MIT License

Python 100.00%

chatpdf's Introduction

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

chatpdf's People

Contributors

anil-matcha avatar vadootvpeer avatar aliceoh avatar taherfattahi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.