Doubt Buddy: Advanced AI-Powered Doubt Solver

Doubt Buddy: Advanced AI-Powered Doubt Solver

Business Problem

  • In advanced education, students preparing for highly competitive exams like JEE Advanced, NEET, SAT and Gaokao face exceptionally complex questions. Traditional methods of solving these doubts are often inefficient and time-consuming.

    There is a significant need for a detailed, explainable doubt solver that can provide accurate and understandable solutions to these intricate problems and also students can follow up at any step which helps students grasp complex concepts effectively.

About Doubt Buddy

Doubt Buddy is one of India’s leading education companies for students of classes 6 to 12 and engineering and medical entrance exam aspirants, Doubt Buddy provides students with personalized practice, mock tests, previous year question papers, and live doubt resolution which help students learn better and faster. Doubt Buddy covers the syllabus for all school boards across India for Class 6 to 12.

Explore Now

Solution

To address the challenge, we developed a sophisticated chatbot system with the following components:

Doubtbuddy-Architecture
Click to View in Full Size

Architecture

  • Users Interaction
    – Users access the system through a web interface.
    – Requests are directed to the AWS infrastructure.
  • Web Application Firewall (WAF)
    – Protects against common web exploits and attacks.
    – Ensures only legitimate traffic reaches the web server.
  • Public Subnet
    – Hosts the Web server that handles incoming user requests.
    – Web server communicates with the API Gateway to forward requests.
  • API Gateway
    – Serves as the main entry point for all user requests.
    – Routes requests to the Lambda function for processing.
  • Lambda Inference
    – Processes requests using FastAPI and LyzrSDK.
    – Executes serverless functions to handle inference tasks.
  • Private Subnet
    – Amazon S3: Stores documents and static assets.
    – EC2 Instances: Perform intensive data processing and computations.
  • Data Processing and Machine Learning
    – Processing and Embedding:
      – Processes documents from S3 to create embeddings.
      – Uses EC2 instances to handle data transformation.
    – Finetuning:
      – Fine-tunes ML models (e.g., LLAMA2) using embeddings.
      – Stores processed results in Postgres for persistent storage.
  • Version Control and Deployment
    – Git: Manages the source code and configuration files.
    – ECR: Hosts containerized applications for deployment.
  • Monitoring and Management
    – CloudWatch: Monitors system performance, logs, and metrics.
    – Secrets Manager: Manages and secures sensitive information like API keys and credentials.
Outcomes

0%

Accuracy while solving IIT JEE & Gaokao level exam questions

0%

Reduced efforts for reported by students on Exam preparations

0Enhanced Information Access

The chat agent’s use of the vector store enabled detailed extraction from domain-specific PDFs, ensuring comprehensive information retrieval for users.

Technology Stack​