AgentFlowDefinitionNodeConfiguration class

Constructors

AgentFlowDefinitionNodeConfiguration({Input<AgentFlowDefinitionNodeConfigurationAgent?>? agent, Input<Map<String, dynamic>?>? collector, Input<AgentFlowDefinitionNodeConfigurationCondition?>? condition, Input<AgentFlowDefinitionNodeConfigurationInlineCode?>? inlineCode, Input<Map<String, dynamic>?>? input, Input<Map<String, dynamic>?>? iterator, Input<AgentFlowDefinitionNodeConfigurationKnowledgeBase?>? knowledgeBase, Input<AgentFlowDefinitionNodeConfigurationLambdaFunction?>? lambdaFunction, Input<AgentFlowDefinitionNodeConfigurationLex?>? lex, Input<Map<String, dynamic>?>? output, Input<AgentFlowDefinitionNodeConfigurationPrompt?>? prompt, Input<AgentFlowDefinitionNodeConfigurationRetrieval?>? retrieval, Input<AgentFlowDefinitionNodeConfigurationStorage?>? storage})
Creates a new AgentFlowDefinitionNodeConfiguration. agent Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See Agent Node Configuration for more information. collector Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This object has no fields. condition Contains configurations for a Condition node in your flow. Defines conditions that lead to different branches of the flow. See Condition Node Configuration for more information. inlineCode Contains configurations for an inline code node in your flow. See Inline Code Node Configuration for more information. input Contains configurations for an input flow node in your flow. The node inputs can’t be specified for this node. This block has no fields. iterator Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. This block has no fields. knowledgeBase Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See Knowledge Base Node Configuration for more information. lambdaFunction Contains configurations for a Lambda function node in your flow. Invokes a Lambda function. See Lambda Function Node Configuration for more information. lex Contains configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output. See Lex Node Configuration for more information. output Contains configurations for an output flow node in your flow. The node outputs can’t be specified for this node. This block has no fields. prompt Contains configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node. See Prompt Node Configuration for more information. retrieval Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See Retrieval Node Configuration for more information. storage Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See Storage Node Configuration for more information.
const
AgentFlowDefinitionNodeConfiguration.fromMap(Map<String, dynamic> map)
factory

Properties

agent → Input<AgentFlowDefinitionNodeConfigurationAgent?>?
Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See Agent Node Configuration for more information.
final
collector → Input<Map<String, dynamic>?>?
Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This object has no fields.
final
condition → Input<AgentFlowDefinitionNodeConfigurationCondition?>?
Contains configurations for a Condition node in your flow. Defines conditions that lead to different branches of the flow. See Condition Node Configuration for more information.
final
hashCode → int
The hash code for this object.
no setterinherited
inlineCode → Input<AgentFlowDefinitionNodeConfigurationInlineCode?>?
Contains configurations for an inline code node in your flow. See Inline Code Node Configuration for more information.
final
input → Input<Map<String, dynamic>?>?
Contains configurations for an input flow node in your flow. The node inputs can’t be specified for this node. This block has no fields.
final
iterator → Input<Map<String, dynamic>?>?
Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. This block has no fields.
final
knowledgeBase → Input<AgentFlowDefinitionNodeConfigurationKnowledgeBase?>?
Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See Knowledge Base Node Configuration for more information.
final
lambdaFunction → Input<AgentFlowDefinitionNodeConfigurationLambdaFunction?>?
Contains configurations for a Lambda function node in your flow. Invokes a Lambda function. See Lambda Function Node Configuration for more information.
final
lex → Input<AgentFlowDefinitionNodeConfigurationLex?>?
Contains configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output. See Lex Node Configuration for more information.
final
output → Input<Map<String, dynamic>?>?
Contains configurations for an output flow node in your flow. The node outputs can’t be specified for this node. This block has no fields.
final
prompt → Input<AgentFlowDefinitionNodeConfigurationPrompt?>?
Contains configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node. See Prompt Node Configuration for more information.
final
retrieval → Input<AgentFlowDefinitionNodeConfigurationRetrieval?>?
Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See Retrieval Node Configuration for more information.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storage → Input<AgentFlowDefinitionNodeConfigurationStorage?>?
Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See Storage Node Configuration for more information.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited