Spaces:
Runtime error
Runtime error
File size: 885 Bytes
41a1629 74d24f4 e7e48d3 74d24f4 41a1629 7e08a16 41a1629 74d24f4 c7a09c4 74d24f4 41a1629 74d24f4 e7e48d3 74d24f4 e7e48d3 74d24f4 7e08a16 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
---
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`)
---
|