Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

TranscriptionResult.md

94 lines1.6 KB

Interface: TranscriptionResult

Defined in: types.ts:982

Result of audio transcription.

Properties

duration?

optional duration: number;

Defined in: types.ts:992

Duration of the audio in seconds


id

id: string;

Defined in: types.ts:984

Unique identifier for the transcription


language?

optional language: string;

Defined in: types.ts:990

Language detected or specified


model

model: string;

Defined in: types.ts:986

Model used for transcription


segments?

optional segments: TranscriptionSegment[];

Defined in: types.ts:994

Detailed segments with timing, if available


text

text: string;

Defined in: types.ts:988

The full transcribed text


words?

optional words: TranscriptionWord[];

Defined in: types.ts:996

Word-level timestamps, if available