文档
CodeRabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
类引用
函数引用
接口引用
类型别名引用
变量引用
类型别名引用

ConstrainedModelMessage

类型别名: ConstrainedModelMessage<TInputModalitiesTypes>

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

定义于: types.ts:341

一个内容受限的模型消息,仅允许与指定输入模态匹配的内容部分。

类型声明

内容

ts
content: ConstrainedContent<TInputModalitiesTypes>;

类型参数

TInputModalitiesTypes

TInputModalitiesTypes 扩展自 InputModalitiesTypes