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

ContentPartUrlSource.md

47 lines1010 Bytes

Interface: ContentPartUrlSource

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

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

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

Indicates this is URL-referenced content.


value

value: string;

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

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