Interface AutomatedReasoningPolicyFidelityReport.Builder

    • Method Detail

      • coverageScore

        AutomatedReasoningPolicyFidelityReport.Builder coverageScore​(Double coverageScore)

        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.

        Parameters:
        coverageScore - 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:
        Returns a reference to this object so that method calls can be chained together.
      • accuracyScore

        AutomatedReasoningPolicyFidelityReport.Builder accuracyScore​(Double accuracyScore)

        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.

        Parameters:
        accuracyScore - 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:
        Returns a reference to this object so that method calls can be chained together.
      • ruleReports

        AutomatedReasoningPolicyFidelityReport.Builder ruleReports​(Map<String,​AutomatedReasoningPolicyRuleReport> ruleReports)

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

        Parameters:
        ruleReports - A mapping from rule identifiers to detailed fidelity reports for each rule, showing which source statements ground each rule and how accurate it is.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • variableReports

        AutomatedReasoningPolicyFidelityReport.Builder variableReports​(Map<String,​AutomatedReasoningPolicyVariableReport> variableReports)

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

        Parameters:
        variableReports - A mapping from variable names to detailed fidelity reports for each variable, showing which source statements ground each variable and how accurate it is.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentSources

        AutomatedReasoningPolicyFidelityReport.Builder documentSources​(Collection<AutomatedReasoningPolicyReportSourceDocument> documentSources)

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

        Parameters:
        documentSources - A list of source documents with their content broken down into atomic statements and annotated with line numbers for precise referencing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentSources

        AutomatedReasoningPolicyFidelityReport.Builder documentSources​(AutomatedReasoningPolicyReportSourceDocument... documentSources)

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

        Parameters:
        documentSources - A list of source documents with their content broken down into atomic statements and annotated with line numbers for precise referencing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.