Class: Aws::BedrockRuntime::Types::GuardrailTraceAssessment
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::GuardrailTraceAssessment
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
A Top level guardrail trace object. For more information, see ConverseTrace.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action_reason ⇒ String
Provides the reason for the action taken when harmful content is detected.
-
#input_assessment ⇒ Hash<String,Types::GuardrailAssessment>
The input assessment.
-
#model_output ⇒ Array<String>
The output from the model.
-
#output_assessments ⇒ Hash<String,Array<Types::GuardrailAssessment>>
the output assessments.
Instance Attribute Details
#action_reason ⇒ String
Provides the reason for the action taken when harmful content is detected.
2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2687 class GuardrailTraceAssessment < Struct.new( :model_output, :input_assessment, :output_assessments, :action_reason) SENSITIVE = [] include Aws::Structure end |
#input_assessment ⇒ Hash<String,Types::GuardrailAssessment>
The input assessment.
2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2687 class GuardrailTraceAssessment < Struct.new( :model_output, :input_assessment, :output_assessments, :action_reason) SENSITIVE = [] include Aws::Structure end |
#model_output ⇒ Array<String>
The output from the model.
2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2687 class GuardrailTraceAssessment < Struct.new( :model_output, :input_assessment, :output_assessments, :action_reason) SENSITIVE = [] include Aws::Structure end |
#output_assessments ⇒ Hash<String,Array<Types::GuardrailAssessment>>
the output assessments.
2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2687 class GuardrailTraceAssessment < Struct.new( :model_output, :input_assessment, :output_assessments, :action_reason) SENSITIVE = [] include Aws::Structure end |