Docs
Code Rabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
Sentry
Prisma
Strapi
Unkey
UI.dev
Code Rabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
Sentry
Prisma
Strapi
Unkey
UI.dev
Class References
Function References
Interface References
Type Alias References
Variable References
Interface References

ContentPartSource

Interface: ContentPartSource

Defined in: types.ts:114

Source specification for multimodal content. Supports both inline data (base64) and URL-based content.

Properties

type

ts
type: "data" | "url";
type: "data" | "url";

Defined in: types.ts:120

The type of source:

  • 'data': Inline data (typically base64 encoded)
  • 'url': URL reference to the content

value

ts
value: string;
value: string;

Defined in: types.ts:126

The actual content value:

  • For 'data': base64-encoded string
  • For 'url': HTTP(S) URL or data URI