Interface AutomatedReasoningPolicyRuleReport.Builder

    • Method Detail

      • rule

        AutomatedReasoningPolicyRuleReport.Builder rule​(String rule)

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

        Parameters:
        rule - The identifier of the policy rule being analyzed in this report.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groundingStatements

        AutomatedReasoningPolicyRuleReport.Builder groundingStatements​(Collection<AutomatedReasoningPolicyStatementReference> groundingStatements)

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

        Parameters:
        groundingStatements - References to statements from the source documents that provide the basis or justification for this rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groundingStatements

        AutomatedReasoningPolicyRuleReport.Builder groundingStatements​(AutomatedReasoningPolicyStatementReference... groundingStatements)

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

        Parameters:
        groundingStatements - References to statements from the source documents that provide the basis or justification for this rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groundingJustifications

        AutomatedReasoningPolicyRuleReport.Builder groundingJustifications​(Collection<String> groundingJustifications)

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

        Parameters:
        groundingJustifications - Explanations describing how the source statements support and justify this specific rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groundingJustifications

        AutomatedReasoningPolicyRuleReport.Builder groundingJustifications​(String... groundingJustifications)

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

        Parameters:
        groundingJustifications - Explanations describing how the source statements support and justify this specific rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accuracyScore

        AutomatedReasoningPolicyRuleReport.Builder accuracyScore​(Double accuracyScore)

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

        Parameters:
        accuracyScore - A score from 0.0 to 1.0 indicating how accurately this rule represents the source material.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accuracyJustification

        AutomatedReasoningPolicyRuleReport.Builder accuracyJustification​(String accuracyJustification)

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

        Parameters:
        accuracyJustification - A textual explanation of the accuracy score, describing why the rule received this particular accuracy rating.
        Returns:
        Returns a reference to this object so that method calls can be chained together.