Module Values.BatchDetectEntitiesItemResultSource

The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.

Sourcetype nonrec t = {
  1. index : Integer.t option;
    (*

    The zero-based index of the document in the input list.

    *)
  2. entities : ListOfEntities.t option;
    (*

    One or more Entity objects, one for each entity detected in the document.

    *)
}
Sourceval make : ?index:??? -> ?entities:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `Float of Float_.t | `Integer of Integer.t | `List of [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ] list | `String of String_.t ]) list ] list | `String of String_.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