Edu SDKEdu SDK
Core

createStudyGuide

Generate a study guide from educational content.

Generates a study guide from educational content: a summary, key concepts, and review questions.

Usage

import { createStudyGuide } from "edu-sdk";

const studyGuide = await createStudyGuide({
  model: "google/gemini-3.6-flash",
  content,
  difficulty: "medium"
});

Options

OptionTypeRequiredDefault
modelstring | LanguageModelYes
contentstringYes
difficulty"easy" | "medium" | "hard"No"medium"

Returns

Promise<StudyGuide>

{
  title: string;
  summary: string;
  keyConcepts: {
    concept: string;
    explanation: string;
  }[];
  reviewQuestions: string[];
}

Example

import { createStudyGuide } from "edu-sdk";

const studyGuide = await createStudyGuide({
  model: "google/gemini-3.6-flash",
  content: chapterText,
  difficulty: "easy"
});

Render with <StudyGuide />.

On this page