FlowNodeConfigurationDict¶
Union Type¶
FlowNodeConfigurationDict
module-attribute
¶
FlowNodeConfigurationDict = Union[FlowNodeConfigurationInputDict | FlowNodeConfigurationOutputDict | FlowNodeConfigurationKnowledgeBaseDict | FlowNodeConfigurationConditionDict | FlowNodeConfigurationLexDict | FlowNodeConfigurationPromptDict | FlowNodeConfigurationLambdaFunctionDict | FlowNodeConfigurationStorageDict | FlowNodeConfigurationAgentDict | FlowNodeConfigurationRetrievalDict | FlowNodeConfigurationIteratorDict | FlowNodeConfigurationCollectorDict | FlowNodeConfigurationInlineCodeDict | FlowNodeConfigurationLoopDict | FlowNodeConfigurationLoopInputDict | FlowNodeConfigurationLoopControllerDict]
Dictionary form of FlowNodeConfiguration, setting exactly one
variant.
Union Member Types¶
FlowNodeConfigurationInputDict
¶
FlowNodeConfigurationOutputDict
¶
FlowNodeConfigurationKnowledgeBaseDict
¶
Bases: TypedDict
Attributes¶
knowledge_base
instance-attribute
¶
knowledge_base: KnowledgeBaseFlowNodeConfiguration | KnowledgeBaseFlowNodeConfigurationDict
Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response.
FlowNodeConfigurationConditionDict
¶
FlowNodeConfigurationLexDict
¶
FlowNodeConfigurationPromptDict
¶
FlowNodeConfigurationLambdaFunctionDict
¶
Bases: TypedDict
Attributes¶
lambda_function
instance-attribute
¶
lambda_function: LambdaFunctionFlowNodeConfiguration | LambdaFunctionFlowNodeConfigurationDict
Contains configurations for a Lambda function node in your flow. Invokes an Lambda function.
FlowNodeConfigurationStorageDict
¶
FlowNodeConfigurationAgentDict
¶
FlowNodeConfigurationRetrievalDict
¶
FlowNodeConfigurationIteratorDict
¶
Bases: TypedDict
Attributes¶
iterator
instance-attribute
¶
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.
FlowNodeConfigurationCollectorDict
¶
FlowNodeConfigurationInlineCodeDict
¶
Bases: TypedDict
FlowNodeConfigurationLoopDict
¶
FlowNodeConfigurationLoopInputDict
¶
FlowNodeConfigurationLoopControllerDict
¶
Bases: TypedDict
Attributes¶
loop_controller
instance-attribute
¶
loop_controller: LoopControllerFlowNodeConfiguration | LoopControllerFlowNodeConfigurationDict
Contains controller node configurations for a DoWhile loop in your flow.