Module Values.GuardrailTopicPolicySource

Contains details about topics that the guardrail should identify and deny. This data type is used in the following API operations: GetGuardrail response body

Sourcetype nonrec t = {
  1. topics : GuardrailTopics.t option;
    (*

    A list of policies related to topics that the guardrail should deny.

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

    The tier that your guardrail uses for denied topic filters.

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