Values.GuardrailAssessmentSourceA behavior assessment of the guardrail policies used in a call to the Converse API.
type nonrec t = {topicPolicy : GuardrailTopicPolicyAssessment.t option;The topic policy.
*)contentPolicy : GuardrailContentPolicyAssessment.t option;The content policy.
*)wordPolicy : GuardrailWordPolicyAssessment.t option;The word policy.
*)sensitiveInformationPolicy : GuardrailSensitiveInformationPolicyAssessment.t
option;The sensitive information policy.
*)contextualGroundingPolicy : GuardrailContextualGroundingPolicyAssessment.t
option;The contextual grounding policy used for the guardrail assessment.
*)automatedReasoningPolicy : GuardrailAutomatedReasoningPolicyAssessment.t option;The automated reasoning policy assessment results, including logical validation findings for the input content.
*)invocationMetrics : GuardrailInvocationMetrics.t option;The invocation metrics for the guardrail assessment.
*)appliedGuardrailDetails : AppliedGuardrailDetails.t option;}val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `List of
[> `Enum of string
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Double of
GuardrailContextualGroundingFilterThresholdDouble.t
| `Enum of string
| `String of String_.t
| `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 ]
list
| `Long of GuardrailProcessingLatency.t
| `String of GuardrailId.t
| `Structure of
(string
* [> `Integer of GuardrailTopicPolicyUnitsProcessed.t
| `Structure of
(string * [> `Integer of TextCharactersGuarded.t ])
list ])
list ])
list ])
list ]