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

AudioPart.md

52 lines1018 Bytes

Interface: AudioPart<TMetadata>

Defined in: packages/typescript/ai/src/types.ts:225

Audio content part for multimodal messages.

Type Parameters

TMetadata

TMetadata = unknown

Provider-specific metadata type

Properties

metadata?

optional metadata: TMetadata;

Defined in: packages/typescript/ai/src/types.ts:230

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


source

source: ContentPartSource;

Defined in: packages/typescript/ai/src/types.ts:228

Source of the audio content


type

type: "audio";

Defined in: packages/typescript/ai/src/types.ts:226