Skip to content

Interface: AudioMetadata

@kortexya/reasoninglayer


@kortexya/reasoninglayer / AudioMetadata

Defined in: src/types/ingestion.ts:2456

Transcription metadata of an audio ingest.

durationSecs: number

Defined in: src/types/ingestion.ts:2458

Audio duration in seconds (0 when the transcriber did not report it).


optional language?: string | null

Defined in: src/types/ingestion.ts:2460

Detected or observed language.


model: string

Defined in: src/types/ingestion.ts:2462

Model identifier the transcriber reported.


optional originalFileId?: string | null

Defined in: src/types/ingestion.ts:2469

The retained original’s id; absent for a parse-only request. Reuse it as { stored: { id } } in a later AudioSource.


optional sourceFilename?: string | null

Defined in: src/types/ingestion.ts:2464

Original filename.


speakerMap: Record<string, string>

Defined in: src/types/ingestion.ts:2475

Display name per diarized speaker cluster (cluster id as a string → name), including the Speaker N fallback. The keys are data, not schema, so they reach the caller unchanged.


transcribeTimeMs: number

Defined in: src/types/ingestion.ts:2477

Transcription wall-clock time in milliseconds.


warnings: string[]

Defined in: src/types/ingestion.ts:2479

Non-fatal warnings (CPU fallback, LLM unavailable, partial diarization).