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

TranscriptFilter

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

Matches the output of the transcription to either the specific phrases that you specify, or the intent of the phrases that you specify.

interface TranscriptFilter {
AbsoluteTimeRange?: AbsoluteTimeRange | null;
Negate?: boolean | null;
ParticipantRole?: ParticipantRole | null;
RelativeTimeRange?: RelativeTimeRange | null;
Targets: string[];
TranscriptFilterType: TranscriptFilterType;
}

§Properties

§
AbsoluteTimeRange?: AbsoluteTimeRange | null
[src]

A time range, set in seconds, between two points in the call.

§
Negate?: boolean | null
[src]

If TRUE, the rule that you specify is applied to everything except for the phrases that you specify.

§
ParticipantRole?: ParticipantRole | null
[src]

Determines whether the customer or the agent is speaking the phrases that you've specified.

§
RelativeTimeRange?: RelativeTimeRange | null
[src]

An object that allows percentages to specify the proportion of the call where you would like to apply a filter. For example, you can specify the first half of the call. You can also specify the period of time between halfway through to three-quarters of the way through the call. Because the length of conversation can vary between calls, you can apply relative time ranges across all calls.

§
Targets: string[]
[src]

The phrases that you're specifying for the transcript filter to match.

§
TranscriptFilterType: TranscriptFilterType
[src]

Matches the phrase to the transcription output in a word for word fashion. For example, if you specify the phrase "I want to speak to the manager." Amazon Transcribe attempts to match that specific phrase to the transcription.