Skip to content

Interface: AudioMetadata

@kortexya/reasoninglayer


@kortexya/reasoninglayer / AudioMetadata

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

Transcription metadata of an audio ingest.

durationSecs: number

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

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


optional language?: string | null

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

Detected or observed language.


model: string

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

Model identifier the transcriber reported.


optional originalFileId?: string | null

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

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:2806

Original filename.


speakerMap: Record<string, string>

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

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:2819

Transcription wall-clock time in milliseconds.


warnings: string[]

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

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