mirror of
https://github.com/TanStack/ai.git
synced 2026-11-16 19:38:41 +00:00
1 KiB
1 KiB
| id | title |
|---|---|
| ContentPartDataSource | ContentPartDataSource |
Interface: ContentPartDataSource
Defined in: packages/ai/src/types.ts:217
Source specification for inline data content (base64). Requires a mimeType to ensure providers receive proper content type information.
Properties
mimeType
mimeType: string;
Defined in: packages/ai/src/types.ts:230
The MIME type of the content (e.g., 'image/png', 'audio/wav'). Required for data sources to ensure proper handling by providers.
type
type: "data";
Defined in: packages/ai/src/types.ts:221
Indicates this is inline data content.
value
value: string;
Defined in: packages/ai/src/types.ts:225
The base64-encoded content value.