This is a Python application that allows users to ask questions about PDF documents and get answers using OpenAI.
Current implementation is using text-davinci-003 ( next iteration will be using chat-gpt API , reducing cost.
- Python 3.7 or later
- Streamlit
- PyPDF2
- Langchain
-
Clone the repository
git clone https://github.com/SimonMagusPY/AskPDF.git
-
Install the required packages:
pip install -r requirements.txt
- Run the app:
streamlit run app.py
- Upload a PDF file.
- Ask a question about the PDF document.
- Get the answer from the OpenAI model.
Contributions are welcome! If you have any suggestions or find any bugs, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.