Empowering Educators with AI

The Story Behind Beacon House AI Presentation Platform

Introduction

Imagine a world where teachers can generate engaging, curriculum-aligned presentations in minutes, not hours. That's the vision behind the Beacon House AI Presentation Platformβ€”a smart, AI-driven tool designed to help educators create high-quality, visually appealing slide decks with just a few clicks.

Built for schools, teachers, and educational organizations, this platform solves the age-old problem of time-consuming lesson preparation. By harnessing the power of artificial intelligence, it transforms simple prompts into full-fledged presentations, complete with speaker notes, charts, and tailored content. The result? More time for teaching, less time spent on formatting slides.

General Overview

At its core, the Beacon House AI Presentation Platform is a web-based solution that automates the creation of educational presentations. Users simply enter a topic, select a class or subject, and the platform generates a ready-to-use Google Slides presentationβ€”complete with structured outlines, content, images, and even speaker notes.

The system integrates advanced AI models for content generation, leverages Google APIs for slide creation, and provides a seamless, secure user experience from login to download.

Tech Stack

  • Frontend: Next.js 14, React, NextUI v2, Tailwind CSS, TypeScript
  • Backend: FastAPI (Python), asynchronous architecture
  • Database: MongoDB (via Prisma ORM)
  • AI/ML: OpenAI GPT (via API), custom prompt engineering
  • Other Integrations: Google Slides & Drive APIs, OAuth (Google SSO), Email notifications
  • DevOps/Infra: Poetry (Python), Vercel (frontend), Uvicorn (backend), environment-based config

How AI Powers the Project

Overview of AI Usage

AI is the beating heart of the platform. It's responsible for: - Generating slide outlines and detailed content from user prompts - Creating speaker notes tailored to each slide - Suggesting presentation structures and content improvements - Summarizing, classifying, and enhancing user input

Model Details

  • Model: OpenAI GPT (e.g., GPT-4, via API)
  • Usage: Models are accessed via API (not fine-tuned), with carefully crafted prompts for each task (outline, content, notes, suggestions).
  • Prompt Engineering: Custom templates and chaining strategies ensure the AI's output matches educational standards and slide formats.

AI Capabilities

  • Natural Language Processing: Summarization, classification, content generation, and context-aware note creation.
  • Content Structuring: AI classifies user input into slide types (introduction, body, conclusion, etc.) and generates JSON schemas for consistent formatting.
  • Recommendations: The AI suggests improvements, additional slides, and even visual elements (like images or charts).

Integration

  • Real-Time Generation: AI is called synchronously during the user's session, ensuring fast feedback.
  • Chaining: Multiple AI calls may be chained (e.g., outline β†’ content β†’ notes) for richer results.
  • Latency & Cost: Prompt design and retries are optimized for speed and token efficiency, with error handling for token limits or API failures.

Challenges Solved with AI

  • Scalability: Manual slide creation is slow; AI enables instant, scalable content generation.
  • Consistency: AI ensures every presentation follows best practices and educational guidelines.
  • Personalization: Each output is tailored to the user's subject, class, and language needs.
  • Engineering Solutions: The team implemented retries, prompt validation, and output mapping to handle API quirks, token limits, and ensure reliability.

Technical Deep Dive

Database Structure

  • MongoDB is used for flexible, scalable storage.
  • Key Models: User, Presentation, SpeakerNote
  • Presentations store URLs, outlines, AI responses, images, and user metadata.
  • SpeakerNotes are linked to slides and presentations for easy retrieval.

Backend Architecture

  • FastAPI provides a modular, async API layer.
  • Routers handle authentication, content generation, notes, suggestions, analytics, and integration with external services (Google, Beaconhouse).
  • Middleware manages CORS, usage logging, and error handling.

API Structure

  • RESTful Endpoints: For login, presentation generation, notes, suggestions, analytics, and user info.
  • Authentication: JWT-based, with Google SSO integration.
  • Security: Token verification, domain restrictions, and email validation.

Notable Engineering Challenges

  • Google API Integration: Handling async slide creation, permissions, and file management.
  • AI Output Validation: Ensuring AI responses fit the required schema and are safe for classroom use.
  • Performance: Async I/O, background tasks, and efficient database queries keep the platform responsive.

Security, Scalability, and Performance

  • Security: JWT tokens, OAuth, and environment-based secrets.
  • Scalability: Async backend, stateless API, and cloud-native frontend.
  • Performance: Caching, efficient batching, and error retries for AI and Google API calls.

User Journey Walkthrough

  1. Login: The user signs in via Google SSO, ensuring secure access.
  2. Prompt Entry: On the dashboard, the user enters a topic (e.g., "Boolean Algebra for Grade 9") and selects class/subject options.
  3. AI Magic: The backend sends the prompt to the AI, which:
  4. Classifies the outline (slide types)
  5. Generates detailed content for each slide
  6. Suggests images, charts, and speaker notes
  7. Slide Generation: The system uses Google Slides API to create a new presentation, populating it with AI-generated content and visuals.
  8. Review & Edit: The user receives a link to the Google Slides file, with options to review, edit, or download.
  9. Speaker Notes: For each slide, AI-generated notes are available to help the teacher present confidently.
  10. Analytics: The platform tracks usage, presentations created, and provides insights for both users and admins.
  11. Notifications: The user receives an email with the presentation link and summary.

System Architecture Diagram

Below is a text-based flowchart showing the system architecture:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚      USER       β”‚
β”‚   (Teacher)     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚
          β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚        FRONTEND                 β”‚
β”‚   (Next.js/React/NextUI)       β”‚
β”‚   β€’ Dashboard Interface         β”‚
β”‚   β€’ Topic Input Form           β”‚
β”‚   β€’ Class/Subject Selection     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚
          β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚      API GATEWAY                β”‚
β”‚      (FastAPI Backend)          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚
          β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
          β”‚                                                         β”‚
          β–Ό                                                         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ AUTHENTICATION  β”‚                                    β”‚   AI SERVICE    β”‚
β”‚     SERVICE     β”‚                                    β”‚     LAYER       β”‚
β”‚                 β”‚                                    β”‚                 β”‚
β”‚ β€’ Google SSO    β”‚                                    β”‚ β€’ OpenAI GPT    β”‚
β”‚ β€’ JWT Tokens    β”‚                                    β”‚ β€’ Prompt Eng.   β”‚
β”‚ β€’ User Session  β”‚                                    β”‚ β€’ Content Gen.  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                    β”‚ β€’ Chaining      β”‚
          β”‚                                             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚                                                       β”‚
          β–Ό                                                       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   CONTENT       β”‚                                    β”‚   NOTES         β”‚
β”‚   SERVICE       β”‚                                    β”‚   SERVICE       β”‚
β”‚                 β”‚                                    β”‚                 β”‚
β”‚ β€’ Google Slides β”‚                                    β”‚ β€’ Speaker Notes β”‚
β”‚ β€’ Image Gen.    β”‚                                    β”‚ β€’ AI Generated  β”‚
β”‚ β€’ Chart Creationβ”‚                                    β”‚ β€’ Slide-linked  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜                                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚
          β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
          β”‚                                                         β”‚
          β–Ό                                                         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  SUGGESTION     β”‚                                    β”‚   ANALYTICS     β”‚
β”‚   SERVICE       β”‚                                    β”‚   SERVICE       β”‚
β”‚                 β”‚                                    β”‚                 β”‚
β”‚ β€’ AI Recs.      β”‚                                    β”‚ β€’ Usage Trackingβ”‚
β”‚ β€’ Improvements  β”‚                                    β”‚ β€’ User Metrics  β”‚
β”‚ β€’ Add Slides    β”‚                                    β”‚ β€’ Admin Insightsβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚
          β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚      DATABASE                   β”‚
β”‚    (MongoDB via Prisma)         β”‚
β”‚                                 β”‚
β”‚ β€’ User Profiles                 β”‚
β”‚ β€’ Presentations                 β”‚
β”‚ β€’ Speaker Notes                 β”‚
β”‚ β€’ Analytics Data                β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚
          β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    EMAIL SERVICE                β”‚
β”‚   (Notifications)               β”‚
β”‚                                 β”‚
β”‚ β€’ Presentation Links            β”‚
β”‚ β€’ Summary Emails                β”‚
β”‚ β€’ Status Updates                β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚
          β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚      USER       β”‚
β”‚   (Teacher)     β”‚
β”‚   (Receives)    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Flow Description: 1. User Input β†’ Teacher enters topic and selects class/subject 2. Frontend Processing β†’ Next.js handles form validation and UI updates 3. API Gateway β†’ FastAPI routes requests to appropriate services 4. Authentication β†’ Google SSO verifies user identity 5. AI Processing β†’ OpenAI generates content, notes, and suggestions 6. Content Creation β†’ Google Slides API creates presentation 7. Data Storage β†’ MongoDB stores all metadata and user data 8. Notifications β†’ Email service sends presentation links 9. User Receives β†’ Teacher gets ready-to-use presentation

Key Integration Points: - AI Service is central to content generation, notes, and suggestions - Google APIs handle slide creation and file management - MongoDB stores all persistent data with Prisma ORM - Async Architecture enables concurrent processing for better performance

Conclusion

The Beacon House AI Presentation Platform is a leap forward for educational technology. By blending advanced AI with seamless integrations and a user-friendly interface, it empowers teachers to focus on what matters most: teaching.

The AI component isn't just a featureβ€”it's the engine that makes instant, high-quality, and personalized presentations possible. With a scalable, secure, and robust architecture, the platform is ready to grow, adapt, and serve educators everywhere.

Looking ahead: The team plans to add more languages, richer analytics, and deeper curriculum integrationβ€”showcasing a commitment to innovation and technical excellence.