Skip to content

SimonMagusPY/PDFGPTLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ask Your PDF

This is a Python application that allows users to ask questions about PDF documents and get answers using OpenAI.

NB

Current implementation is using text-davinci-003 ( next iteration will be using chat-gpt API , reducing cost.

Getting Started

Prerequisites

  • Python 3.7 or later
  • Streamlit
  • PyPDF2
  • Langchain

Installation

  1. Clone the repository

    git clone https://github.com/SimonMagusPY/AskPDF.git
  2. Install the required packages:

    pip install -r requirements.txt

Usage

  1. Run the app:
    streamlit run app.py
  2. Upload a PDF file.
  3. Ask a question about the PDF document.
  4. Get the answer from the OpenAI model.

Contributing

Contributions are welcome! If you have any suggestions or find any bugs, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages