File size: 1,309 Bytes
830cece
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
52
53
54
---
title: Jajabor โ€“ SEBA Assamese Class 10 AI Tutor
emoji: ๐Ÿงญ
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: "4.44.0"
app_file: app.py
pinned: false
---

# ๐Ÿงญ Jajabor โ€“ SEBA Assamese Class 10 AI Tutor

**Jajabor** is an AI-powered tutor for **SEBA Class 10 Assamese medium** students.  
It reads textbook PDFs, understands photographed questions, solves math step-by-step,  
and answers in **simple Assamese**.

---

# ๐Ÿš€ Features

### ๐Ÿ“š **RAG Textbook Intelligence**
- Drop SEBA Class 10 PDFs into `pdfs/class10/`
- System auto-reads textbooks using PyMuPDF
- Splits into chunks + builds FAISS search index
- Answers ONLY from textbook content

### ๐Ÿ–ผ๏ธ **OCR Question Reading**
- Upload a photo of a question  
- Tesseract extracts Assamese + English text  
- Works even with low-quality exam photos

### ๐Ÿงฎ **Math Solver (SymPy)**
- Solves equations  
- Simplifies expressions  
- Shows **step-by-step Assamese explanation**

### ๐Ÿค– **LLM Reasoning**
Uses Hugging Face Inference API (configurable):
- default: `Qwen/Qwen2.5-3B-Instruct`
- can change to Gemma, Falcon, Mistral etc.

### ๐Ÿ‘ค **User Login + Progress Tracking**
Stores:
- number of questions asked  
- math vs non-math ratio  

SQLite database auto-created: `jajabor_users.db`

---

# ๐Ÿ“‚ Directory Structure