Values.AutomatedReasoningPolicyTestCaseSourceRepresents a test for validating an Automated Reasoning policy. tests contain sample inputs and expected outcomes to verify policy behavior.
type nonrec t = {testCaseId : AutomatedReasoningPolicyTestCaseId.t option;The unique identifier of the test.
*)guardContent : AutomatedReasoningPolicyTestGuardContent.t option;The output content to be validated by the policy, typically representing a foundation model response.
*)queryContent : AutomatedReasoningPolicyTestQueryContent.t option;The input query or prompt that generated the content. This provides context for the validation.
*)expectedAggregatedFindingsResult : AutomatedReasoningCheckResult.t option;The expected result of the Automated Reasoning check for this test.
*)createdAt : Timestamp.t option;The timestamp when the test was created.
*)updatedAt : Timestamp.t option;The timestamp when the test was last updated.
*)confidenceThreshold : AutomatedReasoningCheckTranslationConfidence.t option;The minimum confidence level for logic validation. Content meeting this threshold is considered high-confidence and can be validated.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Double of AutomatedReasoningCheckTranslationConfidence.t
| `Enum of string
| `String of AutomatedReasoningPolicyTestCaseId.t
| `Timestamp of Timestamp.t ])
list ]