0
Fork 0
mirror of https://github.com/TanStack/ai.git synced 2026-11-16 19:38:41 +00:00
ai/docs/reference/interfaces/ContentPartUrlSource.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

1,011 B

id title
ContentPartUrlSource ContentPartUrlSource

Interface: ContentPartUrlSource

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

Source specification for URL-based content. mimeType is optional as it can often be inferred from the URL or response headers.

Properties

mimeType?

optional mimeType?: string;

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

Optional MIME type hint for cases where providers can't infer it from the URL.


type

type: "url";

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

Indicates this is URL-referenced content.


value

value: string;

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

HTTP(S) URL or data URI pointing to the content.