Class: Aws::BedrockAgentRuntime::Types::OrchestrationTrace
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::OrchestrationTrace
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
OrchestrationTrace is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OrchestrationTrace corresponding to the set member.
Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.
Direct Known Subclasses
InvocationInput, ModelInvocationInput, ModelInvocationOutput, Observation, Rationale, Unknown
Defined Under Namespace
Classes: InvocationInput, ModelInvocationInput, ModelInvocationOutput, Observation, Rationale, Unknown
Constant Summary collapse
- SENSITIVE =
[:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale]
Instance Attribute Summary collapse
-
#invocation_input ⇒ Types::InvocationInput
Contains information pertaining to the action group or knowledge base that is being invoked.
-
#model_invocation_input ⇒ Types::ModelInvocationInput
The input for the orchestration step.
-
#model_invocation_output ⇒ Types::OrchestrationModelInvocationOutput
Contains information pertaining to the output from the foundation model that is being invoked.
-
#observation ⇒ Types::Observation
Details about the observation (the output of the action group Lambda or knowledge base) made by the agent.
-
#rationale ⇒ Types::Rationale
Details about the reasoning, based on the input, that the agent uses to justify carrying out an action group or getting information from a knowledge base.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#invocation_input ⇒ Types::InvocationInput
Contains information pertaining to the action group or knowledge base that is being invoked.
6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 6290 class OrchestrationTrace < Struct.new( :invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale, :unknown) SENSITIVE = [:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale] include Aws::Structure include Aws::Structure::Union class InvocationInput < OrchestrationTrace; end class ModelInvocationInput < OrchestrationTrace; end class ModelInvocationOutput < OrchestrationTrace; end class Observation < OrchestrationTrace; end class Rationale < OrchestrationTrace; end class Unknown < OrchestrationTrace; end end |
#model_invocation_input ⇒ Types::ModelInvocationInput
The input for the orchestration step.
The
typeisORCHESTRATION.The
textcontains the prompt.The
inferenceConfiguration,parserMode, andoverrideLambdavalues are set in the PromptOverrideConfiguration object that was set when the agent was created or updated.
6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 6290 class OrchestrationTrace < Struct.new( :invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale, :unknown) SENSITIVE = [:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale] include Aws::Structure include Aws::Structure::Union class InvocationInput < OrchestrationTrace; end class ModelInvocationInput < OrchestrationTrace; end class ModelInvocationOutput < OrchestrationTrace; end class Observation < OrchestrationTrace; end class Rationale < OrchestrationTrace; end class Unknown < OrchestrationTrace; end end |
#model_invocation_output ⇒ Types::OrchestrationModelInvocationOutput
Contains information pertaining to the output from the foundation model that is being invoked.
6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 6290 class OrchestrationTrace < Struct.new( :invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale, :unknown) SENSITIVE = [:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale] include Aws::Structure include Aws::Structure::Union class InvocationInput < OrchestrationTrace; end class ModelInvocationInput < OrchestrationTrace; end class ModelInvocationOutput < OrchestrationTrace; end class Observation < OrchestrationTrace; end class Rationale < OrchestrationTrace; end class Unknown < OrchestrationTrace; end end |
#observation ⇒ Types::Observation
Details about the observation (the output of the action group Lambda or knowledge base) made by the agent.
6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 6290 class OrchestrationTrace < Struct.new( :invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale, :unknown) SENSITIVE = [:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale] include Aws::Structure include Aws::Structure::Union class InvocationInput < OrchestrationTrace; end class ModelInvocationInput < OrchestrationTrace; end class ModelInvocationOutput < OrchestrationTrace; end class Observation < OrchestrationTrace; end class Rationale < OrchestrationTrace; end class Unknown < OrchestrationTrace; end end |
#rationale ⇒ Types::Rationale
Details about the reasoning, based on the input, that the agent uses to justify carrying out an action group or getting information from a knowledge base.
6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 6290 class OrchestrationTrace < Struct.new( :invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale, :unknown) SENSITIVE = [:invocation_input, :model_invocation_input, :model_invocation_output, :observation, :rationale] include Aws::Structure include Aws::Structure::Union class InvocationInput < OrchestrationTrace; end class ModelInvocationInput < OrchestrationTrace; end class ModelInvocationOutput < OrchestrationTrace; end class Observation < OrchestrationTrace; end class Rationale < OrchestrationTrace; end class Unknown < OrchestrationTrace; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
6290 6291 6292 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 6290 def unknown @unknown end |