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

AudioPart.md

38 lines505 Bytes

1---
2id: AudioPart
3title: AudioPart
4---
5​
6Defined in: packages/ai/src/types.ts:297
7​
8Audio content part for multimodal messages. AG-UI `AudioPart` with typed metadata.
9​
10## Extends
11​
12- `AudioPart`
13​
14## Type Parameters
15​
16### TMetadata
17​
18`TMetadata` = `unknown`
19​
20Provider-specific metadata type
21​
22## Properties
23​
24### metadata?
25​
26```ts
27optional metadata?: TMetadata;
28```
29​
30Defined in: packages/ai/src/types.ts:299
31​
32Provider-specific metadata (e.g., format, sample rate)
33​
34#### Overrides
35​
36```ts
37AGUIAudioPart.metadata
38```