Module Values.DetectPiiEntitiesRequestSource

Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them.

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

    A UTF-8 text string. The maximum string size is 100 KB.

    *)
  2. languageCode : LanguageCode.t;
    (*

    The language of the input text. Enter the language code for English (en) or Spanish (es).

    *)
}
Sourceval context_ : string
Sourceval make : text:String_.t -> languageCode:LanguageCode.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.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