Class GuardrailAutomatedReasoningFinding

    • Method Detail

      • valid

        public final GuardrailAutomatedReasoningValidFinding valid()

        Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.

        Returns:
        Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.
      • invalid

        public final GuardrailAutomatedReasoningInvalidFinding invalid()

        Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.

        Returns:
        Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.
      • satisfiable

        public final GuardrailAutomatedReasoningSatisfiableFinding satisfiable()

        Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.

        Returns:
        Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.
      • impossible

        public final GuardrailAutomatedReasoningImpossibleFinding impossible()

        Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.

        Returns:
        Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.
      • translationAmbiguous

        public final GuardrailAutomatedReasoningTranslationAmbiguousFinding translationAmbiguous()

        Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.

        Returns:
        Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.
      • tooComplex

        public final GuardrailAutomatedReasoningTooComplexFinding tooComplex()

        Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.

        Returns:
        Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.
      • noTranslations

        public final GuardrailAutomatedReasoningNoTranslationsFinding noTranslations()

        Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.

        Returns:
        Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromValid

        public static GuardrailAutomatedReasoningFinding fromValid​(GuardrailAutomatedReasoningValidFinding valid)
        Create an instance of this class with valid() initialized to the given value.

        Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.

        Parameters:
        valid - Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.
      • fromValid

        public static GuardrailAutomatedReasoningFinding fromValid​(Consumer<GuardrailAutomatedReasoningValidFinding.Builder> valid)
        Create an instance of this class with valid() initialized to the given value.

        Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.

        Parameters:
        valid - Contains the result when the automated reasoning evaluation determines that the claims in the input are logically valid and definitively true based on the provided premises and policy rules.
      • fromInvalid

        public static GuardrailAutomatedReasoningFinding fromInvalid​(GuardrailAutomatedReasoningInvalidFinding invalid)
        Create an instance of this class with invalid() initialized to the given value.

        Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.

        Parameters:
        invalid - Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.
      • fromInvalid

        public static GuardrailAutomatedReasoningFinding fromInvalid​(Consumer<GuardrailAutomatedReasoningInvalidFinding.Builder> invalid)
        Create an instance of this class with invalid() initialized to the given value.

        Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.

        Parameters:
        invalid - Contains the result when the automated reasoning evaluation determines that the claims in the input are logically invalid and contradict the established premises or policy rules.
      • fromSatisfiable

        public static GuardrailAutomatedReasoningFinding fromSatisfiable​(GuardrailAutomatedReasoningSatisfiableFinding satisfiable)
        Create an instance of this class with satisfiable() initialized to the given value.

        Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.

        Parameters:
        satisfiable - Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.
      • fromSatisfiable

        public static GuardrailAutomatedReasoningFinding fromSatisfiable​(Consumer<GuardrailAutomatedReasoningSatisfiableFinding.Builder> satisfiable)
        Create an instance of this class with satisfiable() initialized to the given value.

        Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.

        Parameters:
        satisfiable - Contains the result when the automated reasoning evaluation determines that the claims in the input could be either true or false depending on additional assumptions not provided in the input context.
      • fromImpossible

        public static GuardrailAutomatedReasoningFinding fromImpossible​(GuardrailAutomatedReasoningImpossibleFinding impossible)
        Create an instance of this class with impossible() initialized to the given value.

        Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.

        Parameters:
        impossible - Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.
      • fromImpossible

        public static GuardrailAutomatedReasoningFinding fromImpossible​(Consumer<GuardrailAutomatedReasoningImpossibleFinding.Builder> impossible)
        Create an instance of this class with impossible() initialized to the given value.

        Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.

        Parameters:
        impossible - Contains the result when the automated reasoning evaluation determines that no valid logical conclusions can be drawn due to contradictions in the premises or policy rules themselves.
      • fromTranslationAmbiguous

        public static GuardrailAutomatedReasoningFinding fromTranslationAmbiguous​(GuardrailAutomatedReasoningTranslationAmbiguousFinding translationAmbiguous)
        Create an instance of this class with translationAmbiguous() initialized to the given value.

        Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.

        Parameters:
        translationAmbiguous - Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.
      • fromTranslationAmbiguous

        public static GuardrailAutomatedReasoningFinding fromTranslationAmbiguous​(Consumer<GuardrailAutomatedReasoningTranslationAmbiguousFinding.Builder> translationAmbiguous)
        Create an instance of this class with translationAmbiguous() initialized to the given value.

        Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.

        Parameters:
        translationAmbiguous - Contains the result when the automated reasoning evaluation detects that the input has multiple valid logical interpretations, requiring additional context or clarification to proceed with validation.
      • fromTooComplex

        public static GuardrailAutomatedReasoningFinding fromTooComplex​(GuardrailAutomatedReasoningTooComplexFinding tooComplex)
        Create an instance of this class with tooComplex() initialized to the given value.

        Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.

        Parameters:
        tooComplex - Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.
      • fromTooComplex

        public static GuardrailAutomatedReasoningFinding fromTooComplex​(Consumer<GuardrailAutomatedReasoningTooComplexFinding.Builder> tooComplex)
        Create an instance of this class with tooComplex() initialized to the given value.

        Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.

        Parameters:
        tooComplex - Contains the result when the automated reasoning evaluation cannot process the input due to its complexity or volume exceeding the system's processing capacity for logical analysis.
      • fromNoTranslations

        public static GuardrailAutomatedReasoningFinding fromNoTranslations​(GuardrailAutomatedReasoningNoTranslationsFinding noTranslations)
        Create an instance of this class with noTranslations() initialized to the given value.

        Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.

        Parameters:
        noTranslations - Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.
      • fromNoTranslations

        public static GuardrailAutomatedReasoningFinding fromNoTranslations​(Consumer<GuardrailAutomatedReasoningNoTranslationsFinding.Builder> noTranslations)
        Create an instance of this class with noTranslations() initialized to the given value.

        Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.

        Parameters:
        noTranslations - Contains the result when the automated reasoning evaluation cannot extract any relevant logical information from the input that can be validated against the policy rules.