Class: Aws::BedrockAgent::Types::FlowNodeConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::FlowNodeConfiguration
- Defined in:
- gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb
Overview
FlowNodeConfiguration is a union - when making an API calls you must set exactly one of the members.
FlowNodeConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FlowNodeConfiguration corresponding to the set member.
Contains configurations for a node in your flow. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
Direct Known Subclasses
Agent, Collector, Condition, Input, Iterator, KnowledgeBase, LambdaFunction, Lex, Output, Prompt, Retrieval, Storage, Unknown
Defined Under Namespace
Classes: Agent, Collector, Condition, Input, Iterator, KnowledgeBase, LambdaFunction, Lex, Output, Prompt, Retrieval, Storage, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#agent ⇒ Types::AgentFlowNodeConfiguration
Contains configurations for an agent node in your flow.
-
#collector ⇒ Types::CollectorFlowNodeConfiguration
Contains configurations for a collector node in your flow.
-
#condition ⇒ Types::ConditionFlowNodeConfiguration
Contains configurations for a Condition node in your flow.
-
#input ⇒ Types::InputFlowNodeConfiguration
Contains configurations for an input flow node in your flow.
-
#iterator ⇒ Types::IteratorFlowNodeConfiguration
Contains configurations for an iterator node in your flow.
-
#knowledge_base ⇒ Types::KnowledgeBaseFlowNodeConfiguration
Contains configurations for a knowledge base node in your flow.
-
#lambda_function ⇒ Types::LambdaFunctionFlowNodeConfiguration
Contains configurations for a Lambda function node in your flow.
-
#lex ⇒ Types::LexFlowNodeConfiguration
Contains configurations for a Lex node in your flow.
-
#output ⇒ Types::OutputFlowNodeConfiguration
Contains configurations for an output flow node in your flow.
-
#prompt ⇒ Types::PromptFlowNodeConfiguration
Contains configurations for a prompt node in your flow.
-
#retrieval ⇒ Types::RetrievalFlowNodeConfiguration
Contains configurations for a Retrieval node in your flow.
-
#storage ⇒ Types::StorageFlowNodeConfiguration
Contains configurations for a Storage node in your flow.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#agent ⇒ Types::AgentFlowNodeConfiguration
Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#collector ⇒ Types::CollectorFlowNodeConfiguration
Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#condition ⇒ Types::ConditionFlowNodeConfiguration
Contains configurations for a Condition node in your flow. Defines conditions that lead to different branches of the flow.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#input ⇒ Types::InputFlowNodeConfiguration
Contains configurations for an input flow node in your flow. The
first node in the flow. inputs
can't be specified for this node.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#iterator ⇒ Types::IteratorFlowNodeConfiguration
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.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#knowledge_base ⇒ Types::KnowledgeBaseFlowNodeConfiguration
Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#lambda_function ⇒ Types::LambdaFunctionFlowNodeConfiguration
Contains configurations for a Lambda function node in your flow. Invokes an Lambda function.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#lex ⇒ Types::LexFlowNodeConfiguration
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.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#output ⇒ Types::OutputFlowNodeConfiguration
Contains configurations for an output flow node in your flow. The
last node in the flow. outputs
can't be specified for this node.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#prompt ⇒ Types::PromptFlowNodeConfiguration
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.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#retrieval ⇒ Types::RetrievalFlowNodeConfiguration
Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#storage ⇒ Types::StorageFlowNodeConfiguration
Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 class FlowNodeConfiguration < Struct.new( :agent, :collector, :condition, :input, :iterator, :knowledge_base, :lambda_function, :lex, :output, :prompt, :retrieval, :storage, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Agent < FlowNodeConfiguration; end class Collector < FlowNodeConfiguration; end class Condition < FlowNodeConfiguration; end class Input < FlowNodeConfiguration; end class Iterator < FlowNodeConfiguration; end class KnowledgeBase < FlowNodeConfiguration; end class LambdaFunction < FlowNodeConfiguration; end class Lex < FlowNodeConfiguration; end class Output < FlowNodeConfiguration; end class Prompt < FlowNodeConfiguration; end class Retrieval < FlowNodeConfiguration; end class Storage < FlowNodeConfiguration; end class Unknown < FlowNodeConfiguration; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
3180 3181 3182 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180 def unknown @unknown end |