Module Values.GuardrailAutomatedReasoningFindingSource

Represents a logical validation result from automated reasoning policy evaluation. The finding indicates whether claims in the input are logically valid, invalid, satisfiable, impossible, or have other logical issues.

Sourcetype nonrec t = {
  1. valid : GuardrailAutomatedReasoningValidFinding.t option;
    (*

    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.

    *)
  2. invalid : GuardrailAutomatedReasoningInvalidFinding.t option;
    (*

    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.

    *)
  3. satisfiable : GuardrailAutomatedReasoningSatisfiableFinding.t option;
    (*

    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.

    *)
  4. impossible : GuardrailAutomatedReasoningImpossibleFinding.t option;
    (*

    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.

    *)
  5. translationAmbiguous : GuardrailAutomatedReasoningTranslationAmbiguousFinding.t option;
    (*

    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.

    *)
  6. tooComplex : GuardrailAutomatedReasoningTooComplexFinding.t option;
    (*

    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.

    *)
  7. noTranslations : GuardrailAutomatedReasoningNoTranslationsFinding.t option;
    (*

    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.

    *)
}
Sourceval make : ?valid:??? -> ?invalid:??? -> ?satisfiable:??? -> ?impossible:??? -> ?translationAmbiguous:??? -> ?tooComplex:??? -> ?noTranslations:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Double of GuardrailAutomatedReasoningTranslationConfidence.t | `List of [> `Structure of (string * [> `String of GuardrailAutomatedReasoningStatementLogicContent.t ]) list ] list | `String of GuardrailAutomatedReasoningStatementLogicContent.t ]) list ] list | `String of AutomatedReasoningRuleIdentifier.t ]) list ] list | `Structure of (string * [> `Double of GuardrailAutomatedReasoningTranslationConfidence.t | `Enum of string | `List of [> `Structure of (string * [> `String of GuardrailAutomatedReasoningStatementLogicContent.t ]) list ] list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t