Module Values.GuardrailRegexConfigSource

The regular expression to configure for the AI Guardrail.

Sourcetype nonrec t = {
  1. name : GuardrailRegexName.t;
    (*

    The name of the regular expression to configure for the AI Guardrail.

    *)
  2. description : GuardrailRegexDescription.t option;
    (*

    The description of the regular expression to configure for the AI Guardrail.

    *)
  3. pattern : GuardrailRegexPattern.t;
    (*

    The regular expression pattern to configure for the AI Guardrail.

    *)
  4. action : GuardrailSensitiveInformationAction.t;
    (*

    The AI Guardrail action to configure when matching regular expression is detected.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> name:GuardrailRegexName.t -> pattern:GuardrailRegexPattern.t -> action:GuardrailSensitiveInformationAction.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of GuardrailRegexName.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