Module Values.TaskConfigSource

Configuration about the model associated with a flywheel.

Sourcetype nonrec t = {
  1. languageCode : LanguageCode.t;
    (*

    Language code for the language that the model supports.

    *)
  2. documentClassificationConfig : DocumentClassificationConfig.t option;
    (*

    Configuration required for a document classification model.

    *)
  3. entityRecognitionConfig : EntityRecognitionConfig.t option;
    (*

    Configuration required for an entity recognition model.

    *)
}
Sourceval context_ : string
Sourceval make : ?documentClassificationConfig:??? -> ?entityRecognitionConfig:??? -> languageCode:LanguageCode.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `String of LabelListItem.t | `Structure of (string * [> `String of EntityTypeName.t ]) list ] list ]) 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