Class: Aws::Bedrock::Types::AutomatedReasoningPolicyFidelityReport
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::AutomatedReasoningPolicyFidelityReport
- 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
-
#accuracy_score ⇒ Float
A score from 0.0 to 1.0 indicating how accurate the policy rules are relative to the source documents.
-
#coverage_score ⇒ Float
A score from 0.0 to 1.0 indicating how well the policy covers the statements in the source documents.
-
#document_sources ⇒ Array<Types::AutomatedReasoningPolicyReportSourceDocument>
A list of source documents with their content broken down into atomic statements and annotated with line numbers for precise referencing.
-
#rule_reports ⇒ Hash<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.
-
#variable_reports ⇒ Hash<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.
Instance Attribute Details
#accuracy_score ⇒ Float
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.
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_score ⇒ Float
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.
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_sources ⇒ Array<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_reports ⇒ Hash<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_reports ⇒ Hash<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 |