Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 976 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 976 Bytes

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.