跳转到内容
Agentic Workflowdocs
v0.8.2免费安装

节点 / builtin / ai / aidependencies / llm

Chrome AI

Leverage Chrome AI to use LLM directly on your device

AI 扩展程序网页应用

此内容尚不支持你的语言。

Send a prompt to the AI model built into Google Chrome (Gemini Nano) and get its reply, all on your device.

Chrome AI is a standalone node, not a model you plug into an agent. It sends Prompt to Chrome’s built-in model and returns the answer as { result }. Nothing leaves your computer, there is no API key and no cost.

Chrome only. The node uses the AI built into Google Chrome, which Google is still rolling out (see Chrome’s built-in AI). It does not work in Firefox; there, use an on-device model from Local models or a cloud AI provider.

  • Short, private text jobs: rewrite a sentence, pull a name out of a paragraph, draft a one-line reply.
  • Workflows that must work offline or must not send text to a cloud service.

For longer or harder tasks, a cloud model behind Basic LLM Chain gives better answers. For other on-device models, see the Local AI nodes.

设置项类型作用
Prompt TextThe prompt to use with the model.
Options GroupThe options to use with the model.
Options › Temperature NumberThe temperature to use for the model.
Options › Top K NumberSample each next token from only the K most likely candidates. Lower values are more focused; higher values are more varied (default 40). 默认值:40

Without options, Temperature is 0.5 and Top K is 40. Lower values give more focused, repeatable answers; higher values give more varied ones. Use expressions in Prompt to include data from earlier nodes, for example Summarise in one sentence: {{ $input.text }}.

  • Output

Each output item has these fields:

Field类型What it holds
result AnyThe model reply; the parsed result when an output parser is connected
Shape of an output item
{
"result": null
}

result holds the model’s reply as text.

None. This node needs no connection and has no slots for other nodes.

  1. A Context Menu trigger on selected text.
  2. Chrome AI with Prompt Rewrite this politely: {{ $input.selectionText }}.
  3. Clipboard Write copies {{ $input.result }}.
  • It fails with “only works in Chrome”. You are in Firefox, which has no built-in AI. Switch to an on-device or cloud model.
  • The model is not available. Chrome’s built-in AI is not enabled or not downloaded yet on this computer. Follow Google’s setup steps for Chrome’s built-in AI, then try again.
  • The run was stopped and there is no reply. Stop cancels the answer while the model is still writing.
编辑此页

最近更新:

Was this page useful?
向 Aria 询问“Chrome AI”