Skip to content

niels-demeyer/pdf-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF-GPT: Intelligent PDF Interaction Platform

Introduction to PDF-GPT 🤖📎

PDF-GPT represents a sophisticated platform seamlessly integrating artificial intelligence and document analysis, elevating the nuances of your PDF exploration. Upon uploading your document, a gateway to insightful conversations and revelations is unlocked. This innovative platform leverages the streamlit library, langchain, and the openai API to deliver a refined user experience.

Getting Started

  1. Create a Python Virtual Environment
    python -m venv venv
  2. Activate the Virtual Environment
    • On Windows
      .\venv\Scripts\activate
    • On macOS/Linux
      source venv/bin/activate
  3. Install requirements
    pip install -r requirements.txt
  4. Create an '.env' file
    OPENAI_API_KEY=your_openai_api_key_here
  5. Run the app
    streamlit run app.py

lm studio chat

I also added a script that makes it possible to interact with any open source model (freely available from huggingface and supplied to lm studio). check out this link The script is called chat.py and can be run with the following command:

python3 chat.py

About

you can upload a pdf file and communicate using the openai api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages