Module Values.BatchDetectSentimentItemResultSource

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. sentiment : SentimentType.t option;
    (*

    The sentiment detected in the document.

    *)
  3. sentimentScore : SentimentScore.t option;
    (*

    The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.

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