Send prompts to browser native LLM and use the response dynamically in your flow.
Send prompts to browser native LLM and use the response dynamically in your flow.
Category: AI
Tutorial: Start interactive node tutorial
| Label | Property | Type | Default | Description |
|---|---|---|---|---|
| System prompt | systemPrompt | textarea | "" | The system prompt |
| User prompt | userPrompt | textarea | "" | The user prompt. Supports variables with handlebars. |
| Collect and send history | manageHistory | checkbox | true | Manage and use the history |
| On back in context | onReentry | select | "reset" | What should happen when the node re-enters the context? |
| On prompt change | onChange | select | "reset" |
| State | Initial Value | Description |
|---|---|---|
| thinking | false | Is the model thinking right now? |
| using | false | Is the model using a tool right now? |
| done | false | Is the model done? |
| answer | null | Contains the answer as a string |
| error | false | Did an error occur? |
| lastUserPrompt | "" | Contains the last user prompt |
| history | Contains the history if the node manages it itself. |
reset() - Resets the node to its default stategenerate() - Start generating an output.used() - Called after successful use of a tool.