Class: Aws::Bedrock::Types::AutomatedReasoningPolicyFidelityReport

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

Overview

A comprehensive analysis report that measures how accurately a generated policy represents the source documents. The report includes coverage and accuracy scores, detailed grounding information linking policy elements to source statements, and annotated document content.

Constant Summary collapse

SENSITIVE =
[:variable_reports]

Instance Attribute Summary collapse

Instance Attribute Details

#accuracy_scoreFloat

A score from 0.0 to 1.0 indicating how accurate the policy rules are relative to the source documents. A higher score means the policy rules more faithfully represent the source material.

Returns:

  • (Float)


1836
1837
1838
1839
1840
1841
1842
1843
1844
# File 'lib/aws-sdk-bedrock/types.rb', line 1836

class AutomatedReasoningPolicyFidelityReport < Struct.new(
  :coverage_score,
  :accuracy_score,
  :rule_reports,
  :variable_reports,
  :document_sources)
  SENSITIVE = [:variable_reports]
  include Aws::Structure
end

#coverage_scoreFloat

A score from 0.0 to 1.0 indicating how well the policy covers the statements in the source documents. A higher score means more of the source content is represented in the policy.

Returns:

  • (Float)


1836
1837
1838
1839
1840
1841
1842
1843
1844
# File 'lib/aws-sdk-bedrock/types.rb', line 1836

class AutomatedReasoningPolicyFidelityReport < Struct.new(
  :coverage_score,
  :accuracy_score,
  :rule_reports,
  :variable_reports,
  :document_sources)
  SENSITIVE = [:variable_reports]
  include Aws::Structure
end

#document_sourcesArray<Types::AutomatedReasoningPolicyReportSourceDocument>

A list of source documents with their content broken down into atomic statements and annotated with line numbers for precise referencing.



1836
1837
1838
1839
1840
1841
1842
1843
1844
# File 'lib/aws-sdk-bedrock/types.rb', line 1836

class AutomatedReasoningPolicyFidelityReport < Struct.new(
  :coverage_score,
  :accuracy_score,
  :rule_reports,
  :variable_reports,
  :document_sources)
  SENSITIVE = [:variable_reports]
  include Aws::Structure
end

#rule_reportsHash<String,Types::AutomatedReasoningPolicyRuleReport>

A mapping from rule identifiers to detailed fidelity reports for each rule, showing which source statements ground each rule and how accurate it is.



1836
1837
1838
1839
1840
1841
1842
1843
1844
# File 'lib/aws-sdk-bedrock/types.rb', line 1836

class AutomatedReasoningPolicyFidelityReport < Struct.new(
  :coverage_score,
  :accuracy_score,
  :rule_reports,
  :variable_reports,
  :document_sources)
  SENSITIVE = [:variable_reports]
  include Aws::Structure
end

#variable_reportsHash<String,Types::AutomatedReasoningPolicyVariableReport>

A mapping from variable names to detailed fidelity reports for each variable, showing which source statements ground each variable and how accurate it is.



1836
1837
1838
1839
1840
1841
1842
1843
1844
# File 'lib/aws-sdk-bedrock/types.rb', line 1836

class AutomatedReasoningPolicyFidelityReport < Struct.new(
  :coverage_score,
  :accuracy_score,
  :rule_reports,
  :variable_reports,
  :document_sources)
  SENSITIVE = [:variable_reports]
  include Aws::Structure
end