Module Values.ToxicContentSource

Toxic content analysis result for one string. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide

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

    The name of the toxic content type.

    *)
  2. score : Float_.t option;
    (*

    Model confidence in the detected content type. Value range is zero to one, where one is highest confidence.

    *)
}
Sourceval make : ?name:??? -> ?score:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Float of Float_.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