Giter Club home page Giter Club logo

gpt_chatwithpdf's Introduction

GPT -> PDF Chatbot

After seeing much desire for a GPT chatbot that uses your own PDFs, I decided to code this project. I hope you enjoy it!

Installation

To set up this project, first you need to add your OPENAI_API key as an env variable, or add it on line 13 of the .py file and deleting line 12. Next, run pip install -r /path/to/requirements.txt. Lastly, put all of your PDFs you wish to chat with in a central repository, and add the path to PATH_TO_PDFs in the .py file.

Usage

Use the command python -m streamlit run "path/to/project/gpt_custkb.py". This will start the app in your browser. Once you have uploaded your PDFs, refresh the browser, select a manual, and ask away!

History

WORK IN PROGRESS

Currently the .py file is all you need to produce the functionality shown in the video. Manual/PDF selection is not working as of yet, but due to the questions about how to make this work I wanted to provide some source code for the time being. Follow for updates as I change this project into something that allows you to run locally and upload your PDFs, then select them on the sidebar as you wish. Thanks!

Credits

TODO: Write credits

License

TODO: Write license

gpt_chatwithpdf's People

Contributors

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