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

AudioPart.md

52 lines930 Bytes

Interface: AudioPart<TMetadata>

Defined in: packages/ai/src/types.ts:260

Audio content part for multimodal messages.

Type Parameters

TMetadata

TMetadata = unknown

Provider-specific metadata type

Properties

metadata?

optional metadata: TMetadata;

Defined in: packages/ai/src/types.ts:265

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


source

source: ContentPartSource;

Defined in: packages/ai/src/types.ts:263

Source of the audio content


type

type: "audio";

Defined in: packages/ai/src/types.ts:261