Values.BatchDetectSentimentResponseSourceInspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE, NEUTRAL, MIXED, or NEGATIVE, in each one.
type nonrec t = {resultList : ListOfDetectSentimentResult.t option;A list of objects containing the results of the operation. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If all of the documents contain an error, the ResultList is empty.
*)errorList : BatchItemErrorList.t option;A list containing one object for each document that contained an error. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If there are no errors in the batch, the ErrorList is empty.
*)}type nonrec error = [ | `BatchSizeLimitExceededException of BatchSizeLimitExceededException.t| `InternalServerException of InternalServerException.t| `InvalidRequestException of InvalidRequestException.t| `TextSizeLimitExceededException of TextSizeLimitExceededException.t| `UnsupportedLanguageException of UnsupportedLanguageException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `BatchSizeLimitExceededException of BatchSizeLimitExceededException.t
| `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `TextSizeLimitExceededException of TextSizeLimitExceededException.t
| `Unknown_operation_error of string * string option
| `UnsupportedLanguageException of UnsupportedLanguageException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BatchSizeLimitExceededException of BatchSizeLimitExceededException.t
| `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `TextSizeLimitExceededException of TextSizeLimitExceededException.t
| `Unknown_operation_error of string * string option
| `UnsupportedLanguageException of UnsupportedLanguageException.t ]