Docs
CodeRabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Prisma
Strapi
Unkey
Fireship
CodeRabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Prisma
Strapi
Unkey
Fireship
Class References
Function References
Interface References
Type Alias References
Variable References
Type Alias References

ConstrainedModelMessage

Type Alias: ConstrainedModelMessage<TInputModalitiesTypes>

ts
type ConstrainedModelMessage<TInputModalitiesTypes> = Omit<ModelMessage, "content"> & object;

Defined in: types.ts:309

A ModelMessage with content constrained to only allow content parts matching the specified input modalities.

Type Declaration

content

ts
content: ConstrainedContent<TInputModalitiesTypes>;

Type Parameters

TInputModalitiesTypes

TInputModalitiesTypes extends InputModalitiesTypes