Values.DetectSentimentResponseSourceInspects text and returns an inference of the prevailing sentiment (POSITIVE, NEUTRAL, MIXED, or NEGATIVE).
type nonrec t = {sentiment : SentimentType.t option;The inferred sentiment that Amazon Comprehend has the highest level of confidence in.
*)sentimentScore : SentimentScore.t option;An object that lists the sentiments, and their corresponding confidence levels.
*)}type nonrec error = [ | `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 ->
[> `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 ->
[> `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `TextSizeLimitExceededException of TextSizeLimitExceededException.t
| `Unknown_operation_error of string * string option
| `UnsupportedLanguageException of UnsupportedLanguageException.t ]