Chapter Mode
Chapter mode is the primary learning interface, offering a structured, step-by-step study plan.
Agents
ChapterTeachingAgent
inherits from TopicTeachingAgent.
generate_teaching_material(topic, full_plan, user_background, incorrect_questions=None)
Generates the educational content for a specific step in the study plan.
- Inputs:
full_plan: The complete list of steps.incorrect_questions: Context from previous failures to adapt content.
- Output: Markdown string containing the lesson.
AssessorAgent
Responsible for generating "Check Your Understanding" questions after each step.
generate_question(teaching_material, user_background)
- Inputs:
teaching_material: The content just presented to the user.
- Output: JSON object with a question, options, and correct answer.
ChapterModeChatAgent
inherits from ChatAgent.
Provides a specialized system message for the chat assistant within Chapter Mode, ensuring the AI acts as a tutor aware of the current lesson context.