Module Values.GuardrailContentPolicyConfigSource

Contains details about how to handle harmful content.

Sourcetype nonrec t = {
  1. filtersConfig : GuardrailContentFiltersConfig.t;
    (*

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

    *)
  2. tierConfig : GuardrailContentFiltersTierConfig.t option;
    (*

    The tier that your guardrail uses for content filters.

    *)
}
Sourceval context_ : string
Sourceval make : ?tierConfig:??? -> filtersConfig:GuardrailContentFiltersConfig.t -> 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