SentimentFilter - Amazon Transcribe

SentimentFilter

An object that enables you to specify a particular customer or agent sentiment. If at least 50 percent of the conversation turns (the back-and-forth between two speakers) in a specified time period match the specified sentiment, Amazon Transcribe will consider the sentiment a match.

Contents

AbsoluteTimeRange

The time range, measured in seconds, of the sentiment.

Type: AbsoluteTimeRange object

Required: No

Negate

Set to TRUE to look for sentiments that weren't specified in the request.

Type: Boolean

Required: No

ParticipantRole

A value that determines whether the sentiment belongs to the customer or the agent.

Type: String

Valid Values: AGENT | CUSTOMER

Required: No

RelativeTimeRange

The time range, set in percentages, that correspond to proportion of the call.

Type: RelativeTimeRange object

Required: No

Sentiments

An array that enables you to specify sentiments for the customer or agent. You can specify one or more values.

Type: Array of strings

Array Members: Minimum number of 1 item.

Valid Values: POSITIVE | NEGATIVE | NEUTRAL | MIXED

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: