Edu SDKEdu SDK
Core

createNote

Generate a Markdown note from educational content.

Generates a Markdown note from educational content. There is no React component for notes.

Usage

import { createNote } from "edu-sdk";

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

Options

OptionTypeRequiredDefault
modelstring | LanguageModelYes
contentstringYes
difficulty"easy" | "medium" | "hard"No"medium"
length"short" | "medium" | "long"No"medium"

Returns

Promise<string>

The string is Markdown: headings for sections, bold for important terms.

Example

import { createNote } from "edu-sdk";

const note = await createNote({
  model: "google/gemini-3.6-flash",
  content: lectureTranscript,
  difficulty: "hard",
  length: "long"
});

On this page