Values.GuardrailWordSourceA word configured for the guardrail.
type nonrec t = {text : GuardrailWordTextString.t option;Text of the word configured for the guardrail to block.
*)inputAction : GuardrailWordAction.t option;The action to take when harmful content is detected in the input. Supported values include: BLOCK – Block the content and replace it with blocked messaging. NONE – Take no action but return detection information in the trace response.
*)outputAction : GuardrailWordAction.t option;The action to take when harmful content is detected in the output. Supported values include: BLOCK – Block the content and replace it with blocked messaging. NONE – Take no action but return detection information in the trace response.
*)inputEnabled : Boolean.t option;Indicates whether guardrail evaluation is enabled on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.
*)outputEnabled : Boolean.t option;Indicates whether guardrail evaluation is enabled on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `String of GuardrailWordTextString.t ])
list ]