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
Type Alias References

Modality

Type Alias: Modality

ts
type Modality = "text" | "image" | "audio" | "video" | "document";
type Modality = "text" | "image" | "audio" | "video" | "document";

Defined in: types.ts:108

Supported input modality types for multimodal content.

  • 'text': Plain text content
  • 'image': Image content (base64 or URL)
  • 'audio': Audio content (base64 or URL)
  • 'video': Video content (base64 or URL)
  • 'document': Document content like PDFs (base64 or URL)