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.4/services/transcribeservice.ts?docs=full";

Flag the presence or absence of specific sentiments detected in your Call Analytics transcription output.

Rules using SentimentFilter are designed to match:

  • The presence or absence of a positive sentiment felt by the customer, agent, or both at specified points in the call
  • The presence or absence of a negative sentiment felt by the customer, agent, or both at specified points in the call
  • The presence or absence of a neutral sentiment felt by the customer, agent, or both at specified points in the call
  • The presence or absence of a mixed sentiment felt by the customer, the agent, or both at specified points in the call

See Rule criteria for batch categories for usage examples.

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

§Properties

§
AbsoluteTimeRange?: AbsoluteTimeRange | null
[src]

Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for the specified sentiments. See for more detail.

§
Negate?: boolean | null
[src]

Set to TRUE to flag the sentiments that you didn't include in your request. Set to FALSE to flag the sentiments that you specified in your request.

§
ParticipantRole?: ParticipantRole | null
[src]

Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.

§
RelativeTimeRange?: RelativeTimeRange | null
[src]

Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for the specified sentiments. See for more detail.

§
Sentiments: SentimentValue[]
[src]

Specify the sentiments that you want to flag.