Class: Aws::BedrockRuntime::Types::GuardrailTraceAssessment

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#action_reasonString

Provides the reason for the action taken when harmful content is detected.

Returns:

  • (String)


2171
2172
2173
2174
2175
2176
2177
2178
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2171

class GuardrailTraceAssessment < Struct.new(
  :model_output,
  :input_assessment,
  :output_assessments,
  :action_reason)
  SENSITIVE = []
  include Aws::Structure
end

#input_assessmentHash<String,Types::GuardrailAssessment>

The input assessment.

Returns:



2171
2172
2173
2174
2175
2176
2177
2178
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2171

class GuardrailTraceAssessment < Struct.new(
  :model_output,
  :input_assessment,
  :output_assessments,
  :action_reason)
  SENSITIVE = []
  include Aws::Structure
end

#model_outputArray<String>

The output from the model.

Returns:

  • (Array<String>)


2171
2172
2173
2174
2175
2176
2177
2178
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2171

class GuardrailTraceAssessment < Struct.new(
  :model_output,
  :input_assessment,
  :output_assessments,
  :action_reason)
  SENSITIVE = []
  include Aws::Structure
end

#output_assessmentsHash<String,Array<Types::GuardrailAssessment>>

the output assessments.

Returns:



2171
2172
2173
2174
2175
2176
2177
2178
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2171

class GuardrailTraceAssessment < Struct.new(
  :model_output,
  :input_assessment,
  :output_assessments,
  :action_reason)
  SENSITIVE = []
  include Aws::Structure
end