Skip to content

Type Alias: AudioSource

@kortexya/reasoninglayer


@kortexya/reasoninglayer / AudioSource

AudioSource = { stored: { id: string; }; } | { base64: { data: string; filename: string; }; } | { url: string; }

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

Source of the audio to ingest.

Externally tagged on the wire: {"base64": {"data": …, "filename": …}}, {"url": "…"}, or {"stored": {"id": "<uuid>"}} to reuse a retained original of this tenant (the originalFileId an earlier ingest reported). The filename is a decode hint for the transcriber.