System Requirements Document (SRD)
Project Name: deep-tutor
1. Introduction
nach
The deep-tutor project is an AI-powered platform designed to revolutionize learning and document analysis. Combining a DSA Tutor (Intelligent Learning Assistant) with Project SISO (RAG-based Document Intelligence System), this platform offers a multi-capability AI experience for students, professionals, and educators. It enables interactive algorithm learning, automated code evaluation, adaptive testing, multi-document question answering with citations, and AI-based resume-job description gap analysis—all within a unified, scalable architecture.
This document outlines the system requirements for the deep-tutor project, ensuring clarity and alignment with the vision of Prathit Panchal from India. The platform will cater to Indian users with locale-specific defaults, such as IST timezone and INR currency where applicable.
2. System Overview
The deep-tutor platform integrates two major systems:
- DSA Tutor: An intelligent learning assistant for Data Structures and Algorithms (DSA), offering concept explanations, coding practice, and adaptive testing.
- Project SISO: A Retrieval-Augmented Generation (RAG) engine for document intelligence, enabling multi-document Q&A, citation-based answers, and career gap analysis.
The platform is designed to provide a seamless user experience with features like conversational AI, intelligent intent detection, and a hybrid search retrieval system. It ensures high availability, scalability, and reliability through asynchronous processing pipelines and a robust AI model pipeline.
3. Functional Requirements as Story Points
- As a User, I should be able to ask for step-by-step explanations of DSA concepts.
- As a User, I should be able to practice coding problems in multiple languages (Python, Java, C++, JavaScript).
- As a User, I should receive automated evaluations of my code, including correctness, time complexity, and space complexity.
- As a User, I should be able to take adaptive MCQ quizzes with instant feedback and explanations.
- As a User, I should be able to engage in free chat mode for doubt solving and interview preparation.
- As a User, I should be able to upload documents (DOCX, PDFs, etc.) for multi-document Q&A.
- As a User, I should receive citation-based answers for document-related queries.
- As a User, I should be able to analyze my resume against job descriptions for skill gap identification.
- As a User, I should be able to track the status of document processing jobs.
- As a User, I should experience a smooth, interactive frontend workflow for input, processing, and result stages.
4. User Personas
- Student: Learners seeking to understand DSA concepts, practice coding, and prepare for exams.
- Professional: Job seekers analyzing resumes against job descriptions and improving their skills.
- Educator: Teachers creating adaptive quizzes and analyzing study materials.
- Admin: System administrators managing backend operations and ensuring platform reliability.
5. Visuals Colors and Theme
The visual theme for deep-tutor will focus on a modern, tech-savvy aesthetic with the following color palette:
- Primary Color: Deep Blue (#003366) – Represents intelligence and trust.
- Secondary Color: Vibrant Orange (#FF6600) – Adds energy and focus.
- Accent Color: Soft Green (#66CC66) – Symbolizes growth and learning.
- Background: Light Grey (#F5F5F5) – Ensures readability and a clean interface.
- Text: Dark Grey (#333333) – Provides high contrast for text elements.
The UI will incorporate subtle gradients, rounded edges, and smooth transitions to create a user-friendly experience.
6. Signature Design Concept
Interactive Algorithm Galaxy Homepage
The homepage of deep-tutor will feature an interactive galaxy map where each star represents a key feature or section of the platform. Users will navigate through the galaxy by clicking on stars, which will expand into constellations representing related functionalities. For example:
- Clicking on the "DSA Tutor" star will reveal constellations for "Concept Explanations," "Coding Practice," and "MCQ Tests."
- Hovering over a star will display a glowing animation and a brief description of the feature.
- The galaxy will have a dynamic background that shifts colors based on the time of day (e.g., warm tones in the morning, cool tones at night).
Micro-interactions will include:
- Stars pulsing gently to indicate interactivity.
- Smooth zoom-in and zoom-out transitions as users explore the galaxy.
- A "Search the Galaxy" bar for quick navigation to specific features.
This design will create a memorable first impression and encourage users to explore the platform's capabilities.
7. Non-Functional Requirements
- Scalability: The system must handle up to 10,000 concurrent users.
- Reliability: Ensure 99.9% uptime with robust failover mechanisms.
- Performance: Responses for user queries should be generated within 2 seconds on average.
- Security: Implement data encryption (AES-256) for document uploads and user data.
- Localization: Support Indian locale defaults, including IST timezone and INR currency.
8. Tech Stack
- Frontend: React for web interface.
- Backend: Python with FastAPI for API development.
- Database:
- RDBMS: MySQL with Alembic for migrations.
- VectorDB: WeaviateDB for semantic search and indexing.
- AI Models:
- GPT 5.2 for user-friendly responses.
- Claude 4.5 Opas for academic and coding work.
- Gemini 3 Pro for conversational responses.
- Google Nano Banana for image generation.
- AI Tools:
- Litellm for LLM routing.
- Langchain for AI workflow orchestration.
- Orchestration:
- Docker and docker-compose for local development.
- Kubernetes for server-side orchestration.
9. Assumptions and Constraints
- Users will primarily access the platform from India, so the system will default to IST timezone and INR currency.
- The platform will support English as the primary language for interactions.
- Document uploads will be limited to 100MB per file to ensure efficient processing.
- The system will rely on cloud-based infrastructure for scalability and reliability.
10. Glossary
- DSA: Data Structures and Algorithms.
- RAG: Retrieval-Augmented Generation.
- LLM: Large Language Model.
- OCR: Optical Character Recognition.
- BM25: Best Matching 25, a ranking function for information retrieval.
- VectorDB: A database optimized for storing and querying vector embeddings.
This document serves as the foundation for the development of the deep-tutor platform, ensuring alignment with the vision and goals of Prathit Panchal. Let's bring this innovative AI-powered tutor to life!
No comments yet. Be the first!