Values.UpdateAutomatedReasoningPolicyTestCaseRequestSourceUpdates an existing Automated Reasoning policy test. You can modify the content, query, expected result, and confidence threshold.
type nonrec t = {policyArn : AutomatedReasoningPolicyArn.t;The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test.
*)testCaseId : AutomatedReasoningPolicyTestCaseId.t;The unique identifier of the test to update.
*)guardContent : AutomatedReasoningPolicyTestGuardContent.t;The updated content to be validated by the Automated Reasoning policy.
*)queryContent : AutomatedReasoningPolicyTestQueryContent.t option;The updated input query or prompt that generated the content.
*)lastUpdatedAt : Timestamp.t;The timestamp when the test was last updated. This is used as a concurrency token to prevent conflicting modifications.
*)expectedAggregatedFindingsResult : AutomatedReasoningCheckResult.t;The updated expected result of the Automated Reasoning check.
*)confidenceThreshold : AutomatedReasoningCheckTranslationConfidence.t option;The updated minimum confidence level for logic validation. If null is provided, the threshold will be removed.
*)clientRequestToken : IdempotencyToken.t option;A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
*)}val make :
?queryContent:??? ->
?confidenceThreshold:??? ->
?clientRequestToken:??? ->
policyArn:AutomatedReasoningPolicyArn.t ->
testCaseId:AutomatedReasoningPolicyTestCaseId.t ->
guardContent:AutomatedReasoningPolicyTestGuardContent.t ->
lastUpdatedAt:Timestamp.t ->
expectedAggregatedFindingsResult:AutomatedReasoningCheckResult.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Double of AutomatedReasoningCheckTranslationConfidence.t
| `Enum of string
| `String of AutomatedReasoningPolicyArn.t
| `Timestamp of Timestamp.t ])
list ]