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

AudioPart.md

52 lines910 Bytes

Interface: AudioPart<TMetadata>

Defined in: types.ts:136

Audio content part for multimodal messages.

Type Parameters

TMetadata

TMetadata = unknown

Provider-specific metadata type

Properties

metadata?

optional metadata: TMetadata;

Defined in: types.ts:141

Provider-specific metadata (e.g., format, sample rate)


source

source: ContentPartSource;

Defined in: types.ts:139

Source of the audio content


type

type: "audio";

Defined in: types.ts:137