Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SentimentFilter

import type { SentimentFilter } from "https://aws-api.deno.dev/v0.3/services/transcribeservice.ts?docs=full";

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.

interface SentimentFilter {
AbsoluteTimeRange?: AbsoluteTimeRange | null;
Negate?: boolean | null;
ParticipantRole?: ParticipantRole | null;
RelativeTimeRange?: RelativeTimeRange | null;
Sentiments: SentimentValue[];
}

§Properties

§
AbsoluteTimeRange?: AbsoluteTimeRange | null
[src]

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

§
Negate?: boolean | null
[src]

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

§
ParticipantRole?: ParticipantRole | null
[src]

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

§
RelativeTimeRange?: RelativeTimeRange | null
[src]

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

§
Sentiments: SentimentValue[]
[src]

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