Module Values.GuardrailConverseTextBlockSource

A text block that contains text that you want to assess with a guardrail. For more information, see GuardrailConverseContentBlock.

Sourcetype nonrec t = {
  1. text : String_.t;
    (*

    The text that you want to guard.

    *)
  2. qualifiers : GuardrailConverseContentQualifierList.t option;
    (*

    The qualifier details for the guardrails contextual grounding filter.

    *)
}
Sourceval context_ : string
Sourceval make : ?qualifiers:??? -> text:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Enum of string ] list | `String of String_.t ]) 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