A Streamlit-based web application that allows users to upload single or multiple PDF files and interact with their contents using OpenAI's GPT-3.5 Turbo. Users can extract text, ask questions, generate summaries, highlight relevant sections, and download results.
- 📤 Upload single or multiple PDF files
- 🧠 Ask questions about PDF contents using AI
- 📑 View extracted text from PDFs
- ✨ Highlight relevant sections in the original PDF
- 📝 Generate and download AI-based summaries
- 💾 Download AI responses and summaries
- Streamlit – for building the UI
- OpenAI GPT-3.5 Turbo – for natural language processing
- pdfplumber – for text extraction
- PyMuPDF (fitz) – for PDF manipulation and highlighting
- Python – core programming language
This app uses the OpenAI API, which requires an API key.
-
Get your key from https://platform.openai.com/account/api-keys.
-
Replace the following line in
main.py:openai.api_key = "sk-..." # Replace with your actual API key