Arivian / README.md
Praga-6000's picture
Update README.md
7e08a16 verified
---
title: PDF Q&A Tutor (Groq Powered)
emoji: ๐Ÿ“˜
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 5.44.1
app_file: app.py
pinned: false
---
# ๐Ÿ“˜ PDF Q&A Tutor
Upload a PDF research paper and ask questions about it!
This Space uses:
- **SentenceTransformers** for embeddings
- **FAISS** for vector search
- **Groq API** for fast, low-latency LLM inference (e.g. `qwen/qwen3-32b` or `llama3-70b`)
## ๐Ÿ”‘ Setup
1. Go to your Spaceโ€™s **Settings โ†’ Repository secrets**.
2. Add your Groq API key as:
GROQ_API_KEY = your_api_key_here
## ๐Ÿš€ Usage
1. Upload a PDF paper.
2. Ask questions in the chatbox.
3. The system retrieves relevant chunks from the PDF and asks Groqโ€™s LLM to explain in simple terms.
## ๐Ÿงฉ Models
- Embeddings: `intfloat/e5-base-v2`
- Vector DB: FAISS
- LLM (via Groq API): `qwen/qwen3-32b` (default, can be swapped for `llama3-70b`)
---