Module Values.EntityRecognitionConfigSource

Configuration required for an entity recognition model.

Sourcetype nonrec t = {
  1. entityTypes : EntityTypesList.t;
    (*

    Up to 25 entity types that the model is trained to recognize.

    *)
}
Sourceval context_ : string
Sourceval make : entityTypes:EntityTypesList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of EntityTypeName.t ]) 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