Module Values.DocumentClassificationConfigSource

Configuration required for a document classification model.

Sourcetype nonrec t = {
  1. mode : DocumentClassifierMode.t;
    (*

    Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.

    *)
  2. labels : LabelsList.t option;
    (*

    One or more labels to associate with the custom classifier.

    *)
}
Sourceval context_ : string
Sourceval make : ?labels:??? -> mode:DocumentClassifierMode.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of LabelListItem.t ] 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