AI Course Generator

Documentation for the AI-powered course content generation system using Amazon Bedrock.

Overview

The AI Course Generator uses Amazon Bedrock (Claude models) to automatically create course content including:

  • Course outlines and structure
  • Lesson content and summaries
  • Quiz questions
  • Introduction video scripts

Architecture

Admin UI → API Gateway → Step Functions → Bedrock (Claude)
                              ↓
                         Save to DB
                              ↓
                         Store in S3

Prompt System

Prompts are located in backend/functions/ai-generation/src/prompts/:

prompts/
├── templates/           # Markdown templates with 
│   ├── course-outline.md
│   ├── lesson-content.md
│   └── quiz-questions.md
├── config.ts           # AI settings (temperature, tokens)
└── index.ts            # PROMPT_REGISTRY

Documentation

Usage

import { PROMPT_REGISTRY } from '@/prompts';

const { getPrompt, validate, config } = PROMPT_REGISTRY.courseOutline;
const prompt = getPrompt(courseInput);
const response = await invokeClaudeModel({
  prompt,
  maxTokens: config.maxTokens
});

Back to top

Momentum LMS © 2025. Distributed under the MIT license.