Class: Aws::Bedrock::Types::AutomatedReasoningPolicyRuleReport

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrock/types.rb

Overview

Provides detailed fidelity analysis for a specific policy rule, including which source document statements support it and how accurate the rule is.

Constant Summary collapse

SENSITIVE =
[:grounding_justifications, :accuracy_justification]

Instance Attribute Summary collapse

Instance Attribute Details

#accuracy_justificationString

A textual explanation of the accuracy score, describing why the rule received this particular accuracy rating.

Returns:

  • (String)


2101
2102
2103
2104
2105
2106
2107
2108
2109
# File 'lib/aws-sdk-bedrock/types.rb', line 2101

class AutomatedReasoningPolicyRuleReport < Struct.new(
  :rule,
  :grounding_statements,
  :grounding_justifications,
  :accuracy_score,
  :accuracy_justification)
  SENSITIVE = [:grounding_justifications, :accuracy_justification]
  include Aws::Structure
end

#accuracy_scoreFloat

A score from 0.0 to 1.0 indicating how accurately this rule represents the source material.

Returns:

  • (Float)


2101
2102
2103
2104
2105
2106
2107
2108
2109
# File 'lib/aws-sdk-bedrock/types.rb', line 2101

class AutomatedReasoningPolicyRuleReport < Struct.new(
  :rule,
  :grounding_statements,
  :grounding_justifications,
  :accuracy_score,
  :accuracy_justification)
  SENSITIVE = [:grounding_justifications, :accuracy_justification]
  include Aws::Structure
end

#grounding_justificationsArray<String>

Explanations describing how the source statements support and justify this specific rule.

Returns:

  • (Array<String>)


2101
2102
2103
2104
2105
2106
2107
2108
2109
# File 'lib/aws-sdk-bedrock/types.rb', line 2101

class AutomatedReasoningPolicyRuleReport < Struct.new(
  :rule,
  :grounding_statements,
  :grounding_justifications,
  :accuracy_score,
  :accuracy_justification)
  SENSITIVE = [:grounding_justifications, :accuracy_justification]
  include Aws::Structure
end

#grounding_statementsArray<Types::AutomatedReasoningPolicyStatementReference>

References to statements from the source documents that provide the basis or justification for this rule.



2101
2102
2103
2104
2105
2106
2107
2108
2109
# File 'lib/aws-sdk-bedrock/types.rb', line 2101

class AutomatedReasoningPolicyRuleReport < Struct.new(
  :rule,
  :grounding_statements,
  :grounding_justifications,
  :accuracy_score,
  :accuracy_justification)
  SENSITIVE = [:grounding_justifications, :accuracy_justification]
  include Aws::Structure
end

#ruleString

The identifier of the policy rule being analyzed in this report.

Returns:

  • (String)


2101
2102
2103
2104
2105
2106
2107
2108
2109
# File 'lib/aws-sdk-bedrock/types.rb', line 2101

class AutomatedReasoningPolicyRuleReport < Struct.new(
  :rule,
  :grounding_statements,
  :grounding_justifications,
  :accuracy_score,
  :accuracy_justification)
  SENSITIVE = [:grounding_justifications, :accuracy_justification]
  include Aws::Structure
end