
Description
This Node uses a Large Language Model (LLM) to extract entities, such as product codes, booking codes, or customer IDs, frominput.text of the Input object.
The Node supports both chat and voice use cases by processing text and transcribed speech inputs.
Before using this Node, set the LLM provider in the Settings.
You can configure the Node to either use the default model defined in the Settings or choose a specific configured LLM.
To view the extracted entity in the Interaction Panel, activate debug mode.
To output the extracted entity, add a Say Node below the LLM Entity Extract Node in the Flow editor. In the Text field of the Say Node, use the key you specified in the Storage Options section, for example, {{input.extractedEntity}}.
Parameters
Advanced
Advanced
Custom Options
Custom Options
These options let you pass parameters that this Node doesn’t expose, or override existing configurations.
Storage Options
Storage Options
Debugging Options
Debugging Options
When using the Interaction Panel, you can trigger two types of debug logs. These logs are only available when using the Interaction Panel and aren’t intended for production debugging. You can also combine both log types.
Custom Options
Custom Options
These options let you use parameters that aren’t included in the LLM Entity Extract Node or overwrite set configurations.
Forcing Model VersionsYou can force the LLM Entity Extract Node to use a specific model version by including it in the Custom Options.
This means that the LLM Entity Extract Node will use the specified version of the language model instead of the default or any other available versions. This allows for more control over the behavior of the LLM Entity Extract Node, ensuring it uses the desired model version for generating prompts or responses.You can use models from any LLM provider supported by Cognigy, including those not yet directly integrated.
However, you can only replace a model with another from the same provider.Let’s consider an example with Anthropic:
You can force the LLM Entity Extract Node to use the model version
claude-opus-4-1-20250805, despite the LLM resource defaulting to the claude-opus-4-5-20251101 model:- Create an Anthropic LLM resource for Claude, for example,
claude-opus-4-5-20251101. - Create a Flow and add an LLM Entity Extract Node to it.
- In the LLM Entity Extract Node, select the model
claude-opus-4-5-20251101from the Large Language Model list. - In the Custom Model Options field, add
{ "model": "claude-opus-4-1-20250805" }to force the use of theclaude-opus-4-1-20250805model. - Click Save Node.
claude-opus-4-1-20250805 model.Below, you’ll find documentation for supported models:Examples
Extract a Booking Code from User Input
Extract a Booking Code from User Input
The user input is stored under LLM Entity Extract Node configuration:
input.text:- Entity Name:
bookingCode - Entity Description:
An alphanumeric booking code of 6 characters, such as XYZ123 or ABC987 - Example Input:
My booking code is XYZ123.It's X Y Z 1 2 3.
- Extracted Entity:
XYZ123
input.extractedEntity:Extract a Product Code from User Input
Extract a Product Code from User Input
The user input is stored under LLM Entity Extract Node configuration:
input.text:- Entity Name:
productCode - Entity Description:
An alphanumeric product code, such as P12A3B or X45K2Q - Example Input:
The product code is P12A3B.That would be P 1 2 A 3 B.
- Extracted Entity:
P12A3B
input.extractedEntity: