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

RecognizeResponse

import type { RecognizeResponse } from "https://googleapis.deno.dev/v1/speech:v1.ts";

The only message returned to the client by the Recognize method. It contains the result as zero or more sequential SpeechRecognitionResult messages.

interface RecognizeResponse {
requestId?: bigint;
speechAdaptationInfo?: SpeechAdaptationInfo;
totalBilledTime?: number;
usingLegacyModels?: boolean;
}

§Properties

§
requestId?: bigint
[src]

The ID associated with the request. This is a unique ID specific only to the given request.

§

Sequential list of transcription results corresponding to sequential portions of audio.

§
speechAdaptationInfo?: SpeechAdaptationInfo
[src]

Provides information on adaptation behavior in response

§
totalBilledTime?: number
[src]

When available, billed audio seconds for the corresponding request.

§
usingLegacyModels?: boolean
[src]

Whether request used legacy asr models (was not automatically migrated to use conformer models).