How huythai855/quizvista works
Main Components Structure
The system should be represented with these key components:
a. Frontend Layer:
• Class Management Module
• Credential Module
• Study Module (including Chat, Flashcard, Practice, Study Notes)
• Test Management Module
b. Backend Layer:
• API Layer (Routes and Schemas)
• Core Layer (Business Logic)
• Infrastructure Layer (Database)
c. AI Services Layer:
• Chatbot Function Calling
• Question Extraction
• Quiz Generation
• And Mindmap Generation
• RAG (Retrieval-Augmented Generation)
Data Flow and Interactions
• Frontend → Backend API communication
• Backend Core → Infrastructure data access
• Backend → AI Services integration
• Database interactions with all components
Special Features Integration
Create dedicated sections for:
• Input Processing Pipeline:
• Document Processing (PDF, DOCX, URL, YouTube)
• Image Processing
• Text Extraction
• Quiz Generation Pipeline:
• Multiple Question Types (MCQ, Boolean, Fill-in-blanks, etc.)
• RAG System with Vector Store
• AI Mentor System:
• Chat Interface
• Learning Analytics
Database Schema
A simplified database schema showing:
• Users
• Classes
• Tests
• Test Results
• Class Memberships
External Services
Connections to:
• File Storage
• AI Models
• Vector Stores
Technical Details
Annotations for:
• Python-based implementation
• SQLAlchemy ORM
• FastAPI framework
• AI model integration points
Architecture Patterns
Following patterns:
• Clean Architecture (with adapter, core, and infrastructure layers)
• Service-oriented design
• RESTful API structure
• AI pipeline integration
Remember to include the four pipelines shown in the README: