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

DefaultMessageMetadataByModality.md

61 lines1.3 KB

1---
2id: DefaultMessageMetadataByModality
3title: DefaultMessageMetadataByModality
4---
5​
6# Interface: DefaultMessageMetadataByModality
7​
8Defined in: [packages/typescript/ai/src/types.ts:1741](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1741)
9​
10Default metadata type for adapters that don't define custom metadata.
11Uses unknown for all modalities.
12​
13## Properties
14​
15### audio
16​
17```ts
18audio: unknown;
19```
20​
21Defined in: [packages/typescript/ai/src/types.ts:1744](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1744)
22​
23***
24​
25### document
26​
27```ts
28document: unknown;
29```
30​
31Defined in: [packages/typescript/ai/src/types.ts:1746](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1746)
32​
33***
34​
35### image
36​
37```ts
38image: unknown;
39```
40​
41Defined in: [packages/typescript/ai/src/types.ts:1743](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1743)
42​
43***
44​
45### text
46​
47```ts
48text: unknown;
49```
50​
51Defined in: [packages/typescript/ai/src/types.ts:1742](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1742)
52​
53***
54​
55### video
56​
57```ts
58video: unknown;
59```
60​
61Defined in: [packages/typescript/ai/src/types.ts:1745](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1745)