Edu SDKEdu SDK
Core

Core

Generation APIs in the edu-sdk package.

edu-sdk generates learning materials from content. Pass a model (string ID or AI SDK LanguageModel), content, and optional difficulty (easy | medium | hard).

FunctionReturns
createFlashcards()Flashcard[]
createNote()Markdown string
createQuiz()QuizQuestion[]
createStudyGuide()StudyGuide
createPracticeProblems()PracticeProblem[]

Invalid options throw InvalidInputError.

See Quick Start for a full createQuiz example.