0
Fork 0
mirror of https://github.com/TanStack/ai.git synced 2026-11-18 19:34:58 +00:00
ai/docs/reference/interfaces/AudioPart.md
github-actions[bot] f4f32bdcc2
docs: regenerate API documentation (#1195)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-22 08:16:20 +00:00

931 B

id title
AudioPart AudioPart

Interface: AudioPart<TMetadata>

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

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:281

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


source

source: ContentPartSource;

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

Source of the audio content


type

type: "audio";

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