Skip to content

Function: chromeAI()

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

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

The default, on-device model — Chrome's built-in LanguageModel (Gemini Nano). Runs page-side, needs no API key or network.

Parameters

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

Returns

ChromeModelConfig

Matterway Assistant SDK Documentation