Skip to content

Function: nano()

ts
function nano(opts?: {
  systemPrompt?: string;
}): ChromeModelConfig;

Defined in: packages/sdk/src/ai/chatModel.ts:52

The default, on-device model — Chrome's built-in LanguageModel (Gemini Nano). Page-side, no API key or network. Preferred name: where a model runs is an internal detail, so the public surface says nano(), not "chrome-ai". Alias of chromeAI.

Parameters

ParameterType
opts?{ systemPrompt?: string; }
opts.systemPrompt?string

Returns

ChromeModelConfig

Matterway Assistant SDK Documentation