π
Minimum Viable Product (MVP)
The MVP is a conversational AI chat interface where users ask questions about the Vedas and receive contextual, referenced answers powered by web search and Sarvam AI.
Try it live: veda-guru-ai-ui.vercel.app
Scope
| Area | Included in MVP | Future |
|---|---|---|
| Chat | Text-based Q&A with AI | Voice, guided tutorials |
| Search | Web search (DuckDuckGo + Google fallback) | Curated Vedic knowledge base |
| LLM | Sarvam AI (sarvam-105b, 128K context) |
Fine-tuned Vedic model |
| Languages | English | 10+ Indian languages |
| References | Source URLs from web search | Clickable verse references |
| Security | Rate limiting, CORS lock, API key auth | User auth, per-session tokens |
| Learning | Free-form Q&A | Structured courses, progress tracking |
How it works
- User asks a question (e.g. βWhat does the Rig Veda say about creation?β)
- Backend searches the web via DuckDuckGo (falls back to Google)
- Search results are fed as context to Sarvam AI (
sarvam-105b) - Sarvam AI synthesizes an answer with source citations
- Response is rendered with markdown formatting in the chat UI
User flow
Ask a question
β
βΌ
Web search (DDG β Google fallback)
β
βΌ
Context + question sent to Sarvam AI
β
βΌ
AI synthesizes answer with source citations
β
βΌ
Response rendered with markdown in chat UI
Tech stack (MVP)
| Component | Choice |
|---|---|
| LLM | Sarvam AI (sarvam-105b, 128K context) |
| Backend | Python FastAPI (Render β free tier) |
| Frontend | Vanilla HTML/CSS/JS (Vercel β free tier) |
| Web search | DuckDuckGo + Google fallback (no API key needed) |
| Rate limiting | slowapi (30 req/min per IP) |
| Markdown render | marked.js |
Success metrics
- Accuracy: Responses are factually grounded in search results (>90% precision)
- Relevance: User finds the answer helpful (>80% satisfaction)
- Latency: First response within 5s (or up to 60s on cold start)