File size: 1,002 Bytes
5933013
3c8f545
5933013
 
 
7fae88d
3c8f545
5933013
 
 
3c8f545
5933013
3c8f545
5933013
3c8f545
 
 
 
 
0c86a5d
88a019c
 
3c8f545
5933013
3c8f545
5933013
3c8f545
 
 
 
 
 
 
5933013
3c8f545
 
 
5933013
3c8f545
 
 
 
 
5933013
 
0c86a5d
3c8f545
 
 
0c86a5d
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
40
41
42
43
44
45
46
47
48
49
50
51
---
title: Study RAG Assistant
emoji: πŸ“š
colorFrom: blue
colorTo: indigo
sdk: gradio
app_file: app.py
pinned: false
---

# πŸ“š Study RAG Assistant (Functional RAG)

This Hugging Face Space runs a **fully functional Retrieval-Augmented Generation (RAG)** system built with:

- Gradio (UI)
- FAISS (vector search)
- Sentence Transformers (embeddings)
- Transformers (LLM generation)
- PDF + Jupyter Notebook parsing

---

## πŸš€ What It Does

You can:

- Upload up to 10 `.ipynb` notebooks
- Upload up to 5 `.pdf` files
- Index them into vector embeddings
- Chat grounded strictly in your documents
- Generate structured Notes
- Generate tricky Quiz questions (10–50)
- See citations from retrieved chunks

---

## βš™οΈ How It Works

1. Files are parsed and chunked
2. Chunks are embedded using `all-MiniLM-L6-v2`
3. FAISS stores embeddings for fast retrieval
4. Top-k chunks are retrieved per query
5. The LLM generates grounded responses

---

## πŸ“ Required Files

This Space must contain: