Spaces:
Runtime error
Runtime error
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`) | |
--- | |