Class: Aws::BedrockAgentRuntime::Types::Trace
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::Trace
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Trace is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Trace corresponding to the set member.
Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.
Direct Known Subclasses
FailureTrace, OrchestrationTrace, PostProcessingTrace, PreProcessingTrace, Unknown
Defined Under Namespace
Classes: FailureTrace, OrchestrationTrace, PostProcessingTrace, PreProcessingTrace, Unknown
Constant Summary collapse
- SENSITIVE =
[:failure_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace]
Instance Attribute Summary collapse
-
#failure_trace ⇒ Types::FailureTrace
Contains information about the failure of the interaction.
-
#orchestration_trace ⇒ Types::OrchestrationTrace
Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.
-
#post_processing_trace ⇒ Types::PostProcessingTrace
Details about the post-processing step, in which the agent shapes the response..
-
#pre_processing_trace ⇒ Types::PreProcessingTrace
Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#failure_trace ⇒ Types::FailureTrace
Contains information about the failure of the interaction.
2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2403 class Trace < Struct.new( :failure_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace, :unknown) SENSITIVE = [:failure_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace] include Aws::Structure include Aws::Structure::Union class FailureTrace < Trace; end class OrchestrationTrace < Trace; end class PostProcessingTrace < Trace; end class PreProcessingTrace < Trace; end class Unknown < Trace; end end |
#orchestration_trace ⇒ Types::OrchestrationTrace
Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.
2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2403 class Trace < Struct.new( :failure_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace, :unknown) SENSITIVE = [:failure_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace] include Aws::Structure include Aws::Structure::Union class FailureTrace < Trace; end class OrchestrationTrace < Trace; end class PostProcessingTrace < Trace; end class PreProcessingTrace < Trace; end class Unknown < Trace; end end |
#post_processing_trace ⇒ Types::PostProcessingTrace
Details about the post-processing step, in which the agent shapes the response..
2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2403 class Trace < Struct.new( :failure_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace, :unknown) SENSITIVE = [:failure_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace] include Aws::Structure include Aws::Structure::Union class FailureTrace < Trace; end class OrchestrationTrace < Trace; end class PostProcessingTrace < Trace; end class PreProcessingTrace < Trace; end class Unknown < Trace; end end |
#pre_processing_trace ⇒ Types::PreProcessingTrace
Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.
2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2403 class Trace < Struct.new( :failure_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace, :unknown) SENSITIVE = [:failure_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace] include Aws::Structure include Aws::Structure::Union class FailureTrace < Trace; end class OrchestrationTrace < Trace; end class PostProcessingTrace < Trace; end class PreProcessingTrace < Trace; end class Unknown < Trace; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2403 2404 2405 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2403 def unknown @unknown end |