We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5f51b8 commit 7b70f4fCopy full SHA for 7b70f4f
packages/core/src/provider/registry.ts
@@ -145,6 +145,15 @@ export enum ModelType {
145
TEXT_EMBEDDING_MODEL = 'textEmbeddingModel'
146
}
147
148
+export enum ModelCapability {
149
+ IMAGE_INPUT = 'imageInput',
150
+ IMAGE_OUTPUT = 'imageOutput',
151
+ AUDIO_INPUT = 'audioInput',
152
+ AUDIO_OUTPUT = 'audioOutput',
153
+ VIDEO_INPUT = 'videoInput',
154
+ VIDEO_OUTPUT = 'videoOutput'
155
+}
156
+
157
export interface ModelInfo {
158
name: string
159
@@ -155,6 +164,8 @@ export interface ModelInfo {
164
costPerTokenInput?: number
165
166
costPerTokenOutput?: number
167
168
+ capability?: ModelCapability[]
169
170
160
171
export type PlatformModelInfo = Readonly<
0 commit comments