Skip to content

@chinmaymk/aikit v0.0.40


@chinmaymk/aikit / AudioContent

Interface: AudioContent ​

Defined in: types.ts:46

Audio content for speech-to-text and audio understanding. Perfect for voice interactions.

Properties ​

type ​

type: "audio"

Defined in: types.ts:48

It's audio, ready to be understood.


audio ​

audio: string

Defined in: types.ts:50

Base64 encoded audio or a data URL. Supports various audio formats like mp3, wav, etc.


format? ​

optional format: string

Defined in: types.ts:52

Optional format hint for the audio (e.g., 'mp3', 'wav', 'webm'). Helps with processing.

Released under the MIT License.