Node Function
Large Language Model (LLM) Label Extractor Node belongs to Information Processing Node, supporting label extraction from pending content configured by the user. For example, extracting specific device models from maintenance manuals or case occurrence times from case details.
Directions
Input Variables
Input variables take effect only within the same node and cannot be used cross-node. Support up to 50 input variables to meet scene requirements. Click "Add" to configure input variables as follows.
|
Variable Name | The variable name can only contain letters, digits, or underscores, must start with a letter or underscore, and is mandatory. |
Description | Description of this variable. Optional. |
Data source | The data source of this variable supports two options: "refer" and "input". "Refer" allows selecting output variables from all preceding nodes, while "input" supports manually filling in a fixed value. |
Type | The data type of this variable is unselectable and defaults to the variable type "refer" or the string type "input". |
Model
Supports selecting LLMs with usage permissions under the current account.
Content of the label to be extracted
The user expects the LLM to extract tag content. Here, it supports direct import of variables, manual input of content, or a mix of variables and text content.
Label
Important information extracted from pending extraction content, such as the "first-tier city" tag from a news article. Click "Add" to perform label variable configuration.
|
Label name | Label name, please use semantic content to help LLM understanding. |
Label type | Label supports data types: string, int, float, bool. |
Label description | Describe the tag purpose in natural language to help LLM understanding. Use intelligent one-click optimization. |
Example value | Value examples for the label to help LLM understanding identify which content will be extracted. |
Prompt
As a supplementary input for tag extraction in LLM, it supports user customization of overall constraints on label extraction, such as context scope limitation, tag dependency/mutual exclusion rules, etc. Here, it supports direct import of variables, manual input of content, or a mix of input variables and text content.
Output Variable
The output variable processed by this node defaults to the configured label, as well as runtime error info Error (data type is object, this field is empty when running normally). Manual addition is not supported.
Handling error
Exception handling can be enabled manually, supporting exception retry and output content configuration for anomalies. The configuration content is as follows.
|
Max Retry Attempts | The maximum number of times to rerun when a node runs exceptionally. If retries exceed the set number of times, consider the node call failed and return the "Exception Output Variable" content, defaulting to 3 times. |
Retry Interval | Interval between each rerun, default is 1 second. |
Exception Output Variable | The output variable returned when retries exceed the maximum number. |
Application Example
Create a beverage review analysis assistant to extract beverage tags from user reviews for subsequent analysis.
LLM Label Extractor Node configuration is as follows: