prompt() method. In this method, define the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Unique identifier for the node. |
| display_name | string | No | Display name for the node. |
| system_prompt | string or list[string] | No | Initial instructions that guide the LLM’s behavior. Starting from version 1.14.0, it also supports expressions. For example: flow.input.variable_1. |
| user_prompt | string or list[string] | No | The specific request or task you want the LLM to perform. Starting from version 1.14.0, it also supports expressions. For example: flow.input.variable_1. |
| prompt_examples | list[PromptExample] | No | Examples of user prompts. You can configure:
|
| llm | string | No | LLM used for content generation. |
| llm_parameters | PromptLLMParameters | No | Parameters for the LLM. You can configure:
|
| description | string | No | Description of the node. |
| input_schema | type[BaseModel] | No | Input schema for the LLM. |
| output_schema | type[BaseModel] | No | Output schema for the LLM. |
| input_map | DataMap | No | Define input mappings using a structured collection of Assignment objects. |
| error_handler_config | NodeErrorHandlerConfi | No | Defines the configuration for the retry option using a JSON structure. In this JSON, set the following fields:
|
Python

