Module Values.GuardrailContentPolicySource

Contains details about how to handle harmful content. This data type is used in the following API operations: GetGuardrail response body

Sourcetype nonrec t = {
  1. filters : GuardrailContentFilters.t option;
    (*

    Contains the type of the content filter and how strongly it should apply to prompts and model responses.

    *)
  2. tier : GuardrailContentFiltersTier.t option;
    (*

    The tier that your guardrail uses for content filters.

    *)
}
Sourceval make : ?filters:??? -> ?tier:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Enum of string ] list ]) list ] list | `Structure of (string * [> `Enum of string ]) 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