Module Values.GuardrailContentBlockSource

The content block to be evaluated by the guardrail.

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

    Text within content block to be evaluated by the guardrail.

    *)
  2. image : GuardrailImageBlock.t option;
    (*

    Image within guardrail content block to be evaluated by the guardrail.

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