@adaline/azure 1.9.3 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2725 -75
- package/dist/index.d.ts +2725 -75
- package/dist/index.js +176 -76
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -118,12 +118,12 @@ declare class BaseChatModelOpenAI extends BaseChatModel {
|
|
|
118
118
|
getModelPricing(): ChatModelPriceType;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
declare const
|
|
122
|
-
declare const
|
|
121
|
+
declare const ChatGPT_4o_LatestLiteral: "chatgpt-4o-latest";
|
|
122
|
+
declare const ChatGPT_4o_LatestSchema: {
|
|
123
123
|
description: string;
|
|
124
124
|
name: string;
|
|
125
125
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
126
|
-
modalities: ["text" | "image"
|
|
126
|
+
modalities: ["text" | "image", ...("text" | "image")[]];
|
|
127
127
|
maxInputTokens: number;
|
|
128
128
|
maxOutputTokens: number;
|
|
129
129
|
config: {
|
|
@@ -203,7 +203,7 @@ declare const GPT_4oSchema: {
|
|
|
203
203
|
};
|
|
204
204
|
maxReasoningTokens?: number | undefined;
|
|
205
205
|
};
|
|
206
|
-
declare const
|
|
206
|
+
declare const ChatGPT_4o_LatestOptions: z.ZodObject<{
|
|
207
207
|
apiKey: z.ZodString;
|
|
208
208
|
deploymentId: z.ZodString;
|
|
209
209
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
@@ -219,13 +219,13 @@ declare const GPT_4oOptions: z.ZodObject<{
|
|
|
219
219
|
resourceName?: string | undefined;
|
|
220
220
|
baseUrl?: string | undefined;
|
|
221
221
|
}>;
|
|
222
|
-
type
|
|
223
|
-
declare class
|
|
224
|
-
constructor(options:
|
|
222
|
+
type ChatGPT_4o_LatestOptionsType = z.infer<typeof ChatGPT_4o_LatestOptions>;
|
|
223
|
+
declare class ChatGPT_4o_Latest extends BaseChatModelOpenAI {
|
|
224
|
+
constructor(options: ChatGPT_4o_LatestOptionsType);
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
declare const
|
|
228
|
-
declare const
|
|
227
|
+
declare const ChatGPT_5_2Literal: "chatgpt-5.2";
|
|
228
|
+
declare const ChatGPT_5_2Schema: {
|
|
229
229
|
description: string;
|
|
230
230
|
name: string;
|
|
231
231
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -309,7 +309,7 @@ declare const GPT_4o_MiniSchema: {
|
|
|
309
309
|
};
|
|
310
310
|
maxReasoningTokens?: number | undefined;
|
|
311
311
|
};
|
|
312
|
-
declare const
|
|
312
|
+
declare const ChatGPT_5_2Options: z.ZodObject<{
|
|
313
313
|
apiKey: z.ZodString;
|
|
314
314
|
deploymentId: z.ZodString;
|
|
315
315
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
@@ -325,17 +325,17 @@ declare const GPT_4o_MiniOptions: z.ZodObject<{
|
|
|
325
325
|
resourceName?: string | undefined;
|
|
326
326
|
baseUrl?: string | undefined;
|
|
327
327
|
}>;
|
|
328
|
-
type
|
|
329
|
-
declare class
|
|
330
|
-
constructor(options:
|
|
328
|
+
type ChatGPT_5_2OptionsType = z.infer<typeof ChatGPT_5_2Options>;
|
|
329
|
+
declare class ChatGPT_5_2 extends BaseChatModelOpenAI {
|
|
330
|
+
constructor(options: ChatGPT_5_2OptionsType);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
declare const
|
|
334
|
-
declare const
|
|
333
|
+
declare const GPT_3_5_TurboLiteral: "gpt-3-5-turbo";
|
|
334
|
+
declare const GPT_3_5_TurboSchema: {
|
|
335
335
|
description: string;
|
|
336
336
|
name: string;
|
|
337
337
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
338
|
-
modalities: ["text" | "
|
|
338
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
339
339
|
maxInputTokens: number;
|
|
340
340
|
maxOutputTokens: number;
|
|
341
341
|
config: {
|
|
@@ -415,7 +415,7 @@ declare const GPT_4o_Mini_2024_07_18Schema: {
|
|
|
415
415
|
};
|
|
416
416
|
maxReasoningTokens?: number | undefined;
|
|
417
417
|
};
|
|
418
|
-
declare const
|
|
418
|
+
declare const GPT_3_5_TurboOptions: z.ZodObject<{
|
|
419
419
|
apiKey: z.ZodString;
|
|
420
420
|
deploymentId: z.ZodString;
|
|
421
421
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
@@ -431,17 +431,17 @@ declare const GPT_4o_Mini_2024_07_18Options: z.ZodObject<{
|
|
|
431
431
|
resourceName?: string | undefined;
|
|
432
432
|
baseUrl?: string | undefined;
|
|
433
433
|
}>;
|
|
434
|
-
type
|
|
435
|
-
declare class
|
|
436
|
-
constructor(options:
|
|
434
|
+
type GPT_3_5_TurboOptionsType = z.infer<typeof GPT_3_5_TurboOptions>;
|
|
435
|
+
declare class GPT_3_5_Turbo extends BaseChatModelOpenAI {
|
|
436
|
+
constructor(options: GPT_3_5_TurboOptionsType);
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
declare const
|
|
440
|
-
declare const
|
|
439
|
+
declare const GPT_3_5_Turbo_0125Literal: "gpt-3-5-turbo-0125";
|
|
440
|
+
declare const GPT_3_5_Turbo_0125Schema: {
|
|
441
441
|
description: string;
|
|
442
442
|
name: string;
|
|
443
443
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
444
|
-
modalities: ["text" | "
|
|
444
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
445
445
|
maxInputTokens: number;
|
|
446
446
|
maxOutputTokens: number;
|
|
447
447
|
config: {
|
|
@@ -521,7 +521,7 @@ declare const GPT_4o_2024_08_06Schema: {
|
|
|
521
521
|
};
|
|
522
522
|
maxReasoningTokens?: number | undefined;
|
|
523
523
|
};
|
|
524
|
-
declare const
|
|
524
|
+
declare const GPT_3_5_Turbo_0125Options: z.ZodObject<{
|
|
525
525
|
apiKey: z.ZodString;
|
|
526
526
|
deploymentId: z.ZodString;
|
|
527
527
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
@@ -537,17 +537,17 @@ declare const GPT_4o_2024_08_06Options: z.ZodObject<{
|
|
|
537
537
|
resourceName?: string | undefined;
|
|
538
538
|
baseUrl?: string | undefined;
|
|
539
539
|
}>;
|
|
540
|
-
type
|
|
541
|
-
declare class
|
|
542
|
-
constructor(options:
|
|
540
|
+
type GPT_3_5_Turbo_0125OptionsType = z.infer<typeof GPT_3_5_Turbo_0125Options>;
|
|
541
|
+
declare class GPT_3_5_Turbo_0125 extends BaseChatModelOpenAI {
|
|
542
|
+
constructor(options: GPT_3_5_Turbo_0125OptionsType);
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
-
declare const
|
|
546
|
-
declare const
|
|
545
|
+
declare const GPT_3_5_Turbo_1106Literal: "gpt-3-5-turbo-1106";
|
|
546
|
+
declare const GPT_3_5_Turbo_1106Schema: {
|
|
547
547
|
description: string;
|
|
548
548
|
name: string;
|
|
549
549
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
550
|
-
modalities: ["text" | "
|
|
550
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
551
551
|
maxInputTokens: number;
|
|
552
552
|
maxOutputTokens: number;
|
|
553
553
|
config: {
|
|
@@ -627,7 +627,7 @@ declare const GPT_4o_2024_05_13Schema: {
|
|
|
627
627
|
};
|
|
628
628
|
maxReasoningTokens?: number | undefined;
|
|
629
629
|
};
|
|
630
|
-
declare const
|
|
630
|
+
declare const GPT_3_5_Turbo_1106Options: z.ZodObject<{
|
|
631
631
|
apiKey: z.ZodString;
|
|
632
632
|
deploymentId: z.ZodString;
|
|
633
633
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
@@ -643,9 +643,9 @@ declare const GPT_4o_2024_05_13Options: z.ZodObject<{
|
|
|
643
643
|
resourceName?: string | undefined;
|
|
644
644
|
baseUrl?: string | undefined;
|
|
645
645
|
}>;
|
|
646
|
-
type
|
|
647
|
-
declare class
|
|
648
|
-
constructor(options:
|
|
646
|
+
type GPT_3_5_Turbo_1106OptionsType = z.infer<typeof GPT_3_5_Turbo_1106Options>;
|
|
647
|
+
declare class GPT_3_5_Turbo_1106 extends BaseChatModelOpenAI {
|
|
648
|
+
constructor(options: GPT_3_5_Turbo_1106OptionsType);
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
declare const GPT_4Literal: "gpt-4";
|
|
@@ -754,12 +754,12 @@ declare class GPT_4 extends BaseChatModelOpenAI {
|
|
|
754
754
|
constructor(options: GPT_4OptionsType);
|
|
755
755
|
}
|
|
756
756
|
|
|
757
|
-
declare const
|
|
758
|
-
declare const
|
|
757
|
+
declare const GPT_4_0125_PreviewLiteral: "gpt-4-0125-preview";
|
|
758
|
+
declare const GPT_4_0125_PreviewSchema: {
|
|
759
759
|
description: string;
|
|
760
760
|
name: string;
|
|
761
761
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
762
|
-
modalities: ["text" | "
|
|
762
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
763
763
|
maxInputTokens: number;
|
|
764
764
|
maxOutputTokens: number;
|
|
765
765
|
config: {
|
|
@@ -839,7 +839,7 @@ declare const GPT_4_Turbo_2024_04_09Schema: {
|
|
|
839
839
|
};
|
|
840
840
|
maxReasoningTokens?: number | undefined;
|
|
841
841
|
};
|
|
842
|
-
declare const
|
|
842
|
+
declare const GPT_4_0125_PreviewOptions: z.ZodObject<{
|
|
843
843
|
apiKey: z.ZodString;
|
|
844
844
|
deploymentId: z.ZodString;
|
|
845
845
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
@@ -855,13 +855,13 @@ declare const GPT_4_Turbo_2024_04_09Options: z.ZodObject<{
|
|
|
855
855
|
resourceName?: string | undefined;
|
|
856
856
|
baseUrl?: string | undefined;
|
|
857
857
|
}>;
|
|
858
|
-
type
|
|
859
|
-
declare class
|
|
860
|
-
constructor(options:
|
|
858
|
+
type GPT_4_0125_PreviewOptionsType = z.infer<typeof GPT_4_0125_PreviewOptions>;
|
|
859
|
+
declare class GPT_4_0125_Preview extends BaseChatModelOpenAI {
|
|
860
|
+
constructor(options: GPT_4_0125_PreviewOptionsType);
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
declare const
|
|
864
|
-
declare const
|
|
863
|
+
declare const GPT_4_0613Literal: "gpt-4-0613";
|
|
864
|
+
declare const GPT_4_0613Schema: {
|
|
865
865
|
description: string;
|
|
866
866
|
name: string;
|
|
867
867
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -945,7 +945,7 @@ declare const GPT_4_1106_PreviewSchema: {
|
|
|
945
945
|
};
|
|
946
946
|
maxReasoningTokens?: number | undefined;
|
|
947
947
|
};
|
|
948
|
-
declare const
|
|
948
|
+
declare const GPT_4_0613Options: z.ZodObject<{
|
|
949
949
|
apiKey: z.ZodString;
|
|
950
950
|
deploymentId: z.ZodString;
|
|
951
951
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
@@ -961,17 +961,17 @@ declare const GPT_4_1106_PreviewOptions: z.ZodObject<{
|
|
|
961
961
|
resourceName?: string | undefined;
|
|
962
962
|
baseUrl?: string | undefined;
|
|
963
963
|
}>;
|
|
964
|
-
type
|
|
965
|
-
declare class
|
|
966
|
-
constructor(options:
|
|
964
|
+
type GPT_4_0613OptionsType = z.infer<typeof GPT_4_0613Options>;
|
|
965
|
+
declare class GPT_4_0613 extends BaseChatModelOpenAI {
|
|
966
|
+
constructor(options: GPT_4_0613OptionsType);
|
|
967
967
|
}
|
|
968
968
|
|
|
969
|
-
declare const
|
|
970
|
-
declare const
|
|
969
|
+
declare const GPT_4_1Literal: "gpt-4.1";
|
|
970
|
+
declare const GPT_4_1Schema: {
|
|
971
971
|
description: string;
|
|
972
972
|
name: string;
|
|
973
973
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
974
|
-
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
974
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
975
975
|
maxInputTokens: number;
|
|
976
976
|
maxOutputTokens: number;
|
|
977
977
|
config: {
|
|
@@ -1051,7 +1051,7 @@ declare const GPT_4_0613Schema: {
|
|
|
1051
1051
|
};
|
|
1052
1052
|
maxReasoningTokens?: number | undefined;
|
|
1053
1053
|
};
|
|
1054
|
-
declare const
|
|
1054
|
+
declare const GPT_4_1Options: z.ZodObject<{
|
|
1055
1055
|
apiKey: z.ZodString;
|
|
1056
1056
|
deploymentId: z.ZodString;
|
|
1057
1057
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
@@ -1067,17 +1067,17 @@ declare const GPT_4_0613Options: z.ZodObject<{
|
|
|
1067
1067
|
resourceName?: string | undefined;
|
|
1068
1068
|
baseUrl?: string | undefined;
|
|
1069
1069
|
}>;
|
|
1070
|
-
type
|
|
1071
|
-
declare class
|
|
1072
|
-
constructor(options:
|
|
1070
|
+
type GPT_4_1OptionsType = z.infer<typeof GPT_4_1Options>;
|
|
1071
|
+
declare class GPT_4_1 extends BaseChatModelOpenAI {
|
|
1072
|
+
constructor(options: GPT_4_1OptionsType);
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
|
-
declare const
|
|
1076
|
-
declare const
|
|
1075
|
+
declare const GPT_4_1_MiniLiteral: "gpt-4.1-mini";
|
|
1076
|
+
declare const GPT_4_1_MiniSchema: {
|
|
1077
1077
|
description: string;
|
|
1078
1078
|
name: string;
|
|
1079
1079
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1080
|
-
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
1080
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
1081
1081
|
maxInputTokens: number;
|
|
1082
1082
|
maxOutputTokens: number;
|
|
1083
1083
|
config: {
|
|
@@ -1157,7 +1157,7 @@ declare const GPT_3_5_TurboSchema: {
|
|
|
1157
1157
|
};
|
|
1158
1158
|
maxReasoningTokens?: number | undefined;
|
|
1159
1159
|
};
|
|
1160
|
-
declare const
|
|
1160
|
+
declare const GPT_4_1_MiniOptions: z.ZodObject<{
|
|
1161
1161
|
apiKey: z.ZodString;
|
|
1162
1162
|
deploymentId: z.ZodString;
|
|
1163
1163
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
@@ -1173,17 +1173,17 @@ declare const GPT_3_5_TurboOptions: z.ZodObject<{
|
|
|
1173
1173
|
resourceName?: string | undefined;
|
|
1174
1174
|
baseUrl?: string | undefined;
|
|
1175
1175
|
}>;
|
|
1176
|
-
type
|
|
1177
|
-
declare class
|
|
1178
|
-
constructor(options:
|
|
1176
|
+
type GPT_4_1_MiniOptionsType = z.infer<typeof GPT_4_1_MiniOptions>;
|
|
1177
|
+
declare class GPT_4_1_Mini extends BaseChatModelOpenAI {
|
|
1178
|
+
constructor(options: GPT_4_1_MiniOptionsType);
|
|
1179
1179
|
}
|
|
1180
1180
|
|
|
1181
|
-
declare const
|
|
1182
|
-
declare const
|
|
1181
|
+
declare const GPT_4_1_NanoLiteral: "gpt-4.1-nano";
|
|
1182
|
+
declare const GPT_4_1_NanoSchema: {
|
|
1183
1183
|
description: string;
|
|
1184
1184
|
name: string;
|
|
1185
1185
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1186
|
-
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
1186
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
1187
1187
|
maxInputTokens: number;
|
|
1188
1188
|
maxOutputTokens: number;
|
|
1189
1189
|
config: {
|
|
@@ -1263,7 +1263,7 @@ declare const GPT_3_5_Turbo_1106Schema: {
|
|
|
1263
1263
|
};
|
|
1264
1264
|
maxReasoningTokens?: number | undefined;
|
|
1265
1265
|
};
|
|
1266
|
-
declare const
|
|
1266
|
+
declare const GPT_4_1_NanoOptions: z.ZodObject<{
|
|
1267
1267
|
apiKey: z.ZodString;
|
|
1268
1268
|
deploymentId: z.ZodString;
|
|
1269
1269
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
@@ -1279,13 +1279,13 @@ declare const GPT_3_5_Turbo_1106Options: z.ZodObject<{
|
|
|
1279
1279
|
resourceName?: string | undefined;
|
|
1280
1280
|
baseUrl?: string | undefined;
|
|
1281
1281
|
}>;
|
|
1282
|
-
type
|
|
1283
|
-
declare class
|
|
1284
|
-
constructor(options:
|
|
1282
|
+
type GPT_4_1_NanoOptionsType = z.infer<typeof GPT_4_1_NanoOptions>;
|
|
1283
|
+
declare class GPT_4_1_Nano extends BaseChatModelOpenAI {
|
|
1284
|
+
constructor(options: GPT_4_1_NanoOptionsType);
|
|
1285
1285
|
}
|
|
1286
1286
|
|
|
1287
|
-
declare const
|
|
1288
|
-
declare const
|
|
1287
|
+
declare const GPT_4_1106_PreviewLiteral: "gpt-4-1106-preview";
|
|
1288
|
+
declare const GPT_4_1106_PreviewSchema: {
|
|
1289
1289
|
description: string;
|
|
1290
1290
|
name: string;
|
|
1291
1291
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
@@ -1369,7 +1369,7 @@ declare const GPT_3_5_Turbo_0125Schema: {
|
|
|
1369
1369
|
};
|
|
1370
1370
|
maxReasoningTokens?: number | undefined;
|
|
1371
1371
|
};
|
|
1372
|
-
declare const
|
|
1372
|
+
declare const GPT_4_1106_PreviewOptions: z.ZodObject<{
|
|
1373
1373
|
apiKey: z.ZodString;
|
|
1374
1374
|
deploymentId: z.ZodString;
|
|
1375
1375
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
@@ -1385,9 +1385,2659 @@ declare const GPT_3_5_Turbo_0125Options: z.ZodObject<{
|
|
|
1385
1385
|
resourceName?: string | undefined;
|
|
1386
1386
|
baseUrl?: string | undefined;
|
|
1387
1387
|
}>;
|
|
1388
|
-
type
|
|
1389
|
-
declare class
|
|
1390
|
-
constructor(options:
|
|
1388
|
+
type GPT_4_1106_PreviewOptionsType = z.infer<typeof GPT_4_1106_PreviewOptions>;
|
|
1389
|
+
declare class GPT_4_1106_Preview extends BaseChatModelOpenAI {
|
|
1390
|
+
constructor(options: GPT_4_1106_PreviewOptionsType);
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
declare const GPT_4_TurboLiteral: "gpt-4-turbo";
|
|
1394
|
+
declare const GPT_4_TurboSchema: {
|
|
1395
|
+
description: string;
|
|
1396
|
+
name: string;
|
|
1397
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1398
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
1399
|
+
maxInputTokens: number;
|
|
1400
|
+
maxOutputTokens: number;
|
|
1401
|
+
config: {
|
|
1402
|
+
def: Record<string, {
|
|
1403
|
+
type: "multi-string";
|
|
1404
|
+
param: string;
|
|
1405
|
+
title: string;
|
|
1406
|
+
description: string;
|
|
1407
|
+
max: number;
|
|
1408
|
+
} | {
|
|
1409
|
+
type: "object-schema";
|
|
1410
|
+
param: string;
|
|
1411
|
+
title: string;
|
|
1412
|
+
description: string;
|
|
1413
|
+
objectSchema?: any;
|
|
1414
|
+
} | {
|
|
1415
|
+
type: "paired-select";
|
|
1416
|
+
param: string;
|
|
1417
|
+
title: string;
|
|
1418
|
+
description: string;
|
|
1419
|
+
fields: [{
|
|
1420
|
+
label: string;
|
|
1421
|
+
key: string;
|
|
1422
|
+
choices: {
|
|
1423
|
+
value: string;
|
|
1424
|
+
label: string;
|
|
1425
|
+
}[];
|
|
1426
|
+
description?: string | undefined;
|
|
1427
|
+
}, {
|
|
1428
|
+
label: string;
|
|
1429
|
+
key: string;
|
|
1430
|
+
choices: {
|
|
1431
|
+
value: string;
|
|
1432
|
+
label: string;
|
|
1433
|
+
}[];
|
|
1434
|
+
description?: string | undefined;
|
|
1435
|
+
}];
|
|
1436
|
+
uniqueByField?: string | undefined;
|
|
1437
|
+
} | {
|
|
1438
|
+
type: "range";
|
|
1439
|
+
param: string;
|
|
1440
|
+
title: string;
|
|
1441
|
+
description: string;
|
|
1442
|
+
max: number;
|
|
1443
|
+
default: number;
|
|
1444
|
+
min: number;
|
|
1445
|
+
step: number;
|
|
1446
|
+
} | {
|
|
1447
|
+
type: "select-boolean";
|
|
1448
|
+
param: string;
|
|
1449
|
+
title: string;
|
|
1450
|
+
description: string;
|
|
1451
|
+
default: boolean | null;
|
|
1452
|
+
} | {
|
|
1453
|
+
type: "select-string";
|
|
1454
|
+
param: string;
|
|
1455
|
+
title: string;
|
|
1456
|
+
description: string;
|
|
1457
|
+
default: string;
|
|
1458
|
+
choices: string[];
|
|
1459
|
+
}>;
|
|
1460
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1461
|
+
};
|
|
1462
|
+
price: {
|
|
1463
|
+
modelName: string;
|
|
1464
|
+
currency: string;
|
|
1465
|
+
tokenRanges: {
|
|
1466
|
+
minTokens: number;
|
|
1467
|
+
prices: {
|
|
1468
|
+
base: {
|
|
1469
|
+
inputPricePerMillion: number;
|
|
1470
|
+
outputPricePerMillion: number;
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
maxTokens?: number | null | undefined;
|
|
1474
|
+
}[];
|
|
1475
|
+
};
|
|
1476
|
+
maxReasoningTokens?: number | undefined;
|
|
1477
|
+
};
|
|
1478
|
+
declare const GPT_4_TurboOptions: z.ZodObject<{
|
|
1479
|
+
apiKey: z.ZodString;
|
|
1480
|
+
deploymentId: z.ZodString;
|
|
1481
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
}, "strip", z.ZodTypeAny, {
|
|
1484
|
+
apiKey: string;
|
|
1485
|
+
deploymentId: string;
|
|
1486
|
+
resourceName?: string | undefined;
|
|
1487
|
+
baseUrl?: string | undefined;
|
|
1488
|
+
}, {
|
|
1489
|
+
apiKey: string;
|
|
1490
|
+
deploymentId: string;
|
|
1491
|
+
resourceName?: string | undefined;
|
|
1492
|
+
baseUrl?: string | undefined;
|
|
1493
|
+
}>;
|
|
1494
|
+
type GPT_4_TurboOptionsType = z.infer<typeof GPT_4_TurboOptions>;
|
|
1495
|
+
declare class GPT_4_Turbo extends BaseChatModelOpenAI {
|
|
1496
|
+
constructor(options: GPT_4_TurboOptionsType);
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
declare const GPT_4_Turbo_2024_04_09Literal: "gpt-4-turbo-2024-04-09";
|
|
1500
|
+
declare const GPT_4_Turbo_2024_04_09Schema: {
|
|
1501
|
+
description: string;
|
|
1502
|
+
name: string;
|
|
1503
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1504
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
1505
|
+
maxInputTokens: number;
|
|
1506
|
+
maxOutputTokens: number;
|
|
1507
|
+
config: {
|
|
1508
|
+
def: Record<string, {
|
|
1509
|
+
type: "multi-string";
|
|
1510
|
+
param: string;
|
|
1511
|
+
title: string;
|
|
1512
|
+
description: string;
|
|
1513
|
+
max: number;
|
|
1514
|
+
} | {
|
|
1515
|
+
type: "object-schema";
|
|
1516
|
+
param: string;
|
|
1517
|
+
title: string;
|
|
1518
|
+
description: string;
|
|
1519
|
+
objectSchema?: any;
|
|
1520
|
+
} | {
|
|
1521
|
+
type: "paired-select";
|
|
1522
|
+
param: string;
|
|
1523
|
+
title: string;
|
|
1524
|
+
description: string;
|
|
1525
|
+
fields: [{
|
|
1526
|
+
label: string;
|
|
1527
|
+
key: string;
|
|
1528
|
+
choices: {
|
|
1529
|
+
value: string;
|
|
1530
|
+
label: string;
|
|
1531
|
+
}[];
|
|
1532
|
+
description?: string | undefined;
|
|
1533
|
+
}, {
|
|
1534
|
+
label: string;
|
|
1535
|
+
key: string;
|
|
1536
|
+
choices: {
|
|
1537
|
+
value: string;
|
|
1538
|
+
label: string;
|
|
1539
|
+
}[];
|
|
1540
|
+
description?: string | undefined;
|
|
1541
|
+
}];
|
|
1542
|
+
uniqueByField?: string | undefined;
|
|
1543
|
+
} | {
|
|
1544
|
+
type: "range";
|
|
1545
|
+
param: string;
|
|
1546
|
+
title: string;
|
|
1547
|
+
description: string;
|
|
1548
|
+
max: number;
|
|
1549
|
+
default: number;
|
|
1550
|
+
min: number;
|
|
1551
|
+
step: number;
|
|
1552
|
+
} | {
|
|
1553
|
+
type: "select-boolean";
|
|
1554
|
+
param: string;
|
|
1555
|
+
title: string;
|
|
1556
|
+
description: string;
|
|
1557
|
+
default: boolean | null;
|
|
1558
|
+
} | {
|
|
1559
|
+
type: "select-string";
|
|
1560
|
+
param: string;
|
|
1561
|
+
title: string;
|
|
1562
|
+
description: string;
|
|
1563
|
+
default: string;
|
|
1564
|
+
choices: string[];
|
|
1565
|
+
}>;
|
|
1566
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1567
|
+
};
|
|
1568
|
+
price: {
|
|
1569
|
+
modelName: string;
|
|
1570
|
+
currency: string;
|
|
1571
|
+
tokenRanges: {
|
|
1572
|
+
minTokens: number;
|
|
1573
|
+
prices: {
|
|
1574
|
+
base: {
|
|
1575
|
+
inputPricePerMillion: number;
|
|
1576
|
+
outputPricePerMillion: number;
|
|
1577
|
+
};
|
|
1578
|
+
};
|
|
1579
|
+
maxTokens?: number | null | undefined;
|
|
1580
|
+
}[];
|
|
1581
|
+
};
|
|
1582
|
+
maxReasoningTokens?: number | undefined;
|
|
1583
|
+
};
|
|
1584
|
+
declare const GPT_4_Turbo_2024_04_09Options: z.ZodObject<{
|
|
1585
|
+
apiKey: z.ZodString;
|
|
1586
|
+
deploymentId: z.ZodString;
|
|
1587
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
1588
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1589
|
+
}, "strip", z.ZodTypeAny, {
|
|
1590
|
+
apiKey: string;
|
|
1591
|
+
deploymentId: string;
|
|
1592
|
+
resourceName?: string | undefined;
|
|
1593
|
+
baseUrl?: string | undefined;
|
|
1594
|
+
}, {
|
|
1595
|
+
apiKey: string;
|
|
1596
|
+
deploymentId: string;
|
|
1597
|
+
resourceName?: string | undefined;
|
|
1598
|
+
baseUrl?: string | undefined;
|
|
1599
|
+
}>;
|
|
1600
|
+
type GPT_4_Turbo_2024_04_09OptionsType = z.infer<typeof GPT_4_Turbo_2024_04_09Options>;
|
|
1601
|
+
declare class GPT_4_Turbo_2024_04_09 extends BaseChatModelOpenAI {
|
|
1602
|
+
constructor(options: GPT_4_Turbo_2024_04_09OptionsType);
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
declare const GPT_4_Turbo_PreviewLiteral: "gpt-4-turbo-preview";
|
|
1606
|
+
declare const GPT_4_Turbo_PreviewSchema: {
|
|
1607
|
+
description: string;
|
|
1608
|
+
name: string;
|
|
1609
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1610
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
1611
|
+
maxInputTokens: number;
|
|
1612
|
+
maxOutputTokens: number;
|
|
1613
|
+
config: {
|
|
1614
|
+
def: Record<string, {
|
|
1615
|
+
type: "multi-string";
|
|
1616
|
+
param: string;
|
|
1617
|
+
title: string;
|
|
1618
|
+
description: string;
|
|
1619
|
+
max: number;
|
|
1620
|
+
} | {
|
|
1621
|
+
type: "object-schema";
|
|
1622
|
+
param: string;
|
|
1623
|
+
title: string;
|
|
1624
|
+
description: string;
|
|
1625
|
+
objectSchema?: any;
|
|
1626
|
+
} | {
|
|
1627
|
+
type: "paired-select";
|
|
1628
|
+
param: string;
|
|
1629
|
+
title: string;
|
|
1630
|
+
description: string;
|
|
1631
|
+
fields: [{
|
|
1632
|
+
label: string;
|
|
1633
|
+
key: string;
|
|
1634
|
+
choices: {
|
|
1635
|
+
value: string;
|
|
1636
|
+
label: string;
|
|
1637
|
+
}[];
|
|
1638
|
+
description?: string | undefined;
|
|
1639
|
+
}, {
|
|
1640
|
+
label: string;
|
|
1641
|
+
key: string;
|
|
1642
|
+
choices: {
|
|
1643
|
+
value: string;
|
|
1644
|
+
label: string;
|
|
1645
|
+
}[];
|
|
1646
|
+
description?: string | undefined;
|
|
1647
|
+
}];
|
|
1648
|
+
uniqueByField?: string | undefined;
|
|
1649
|
+
} | {
|
|
1650
|
+
type: "range";
|
|
1651
|
+
param: string;
|
|
1652
|
+
title: string;
|
|
1653
|
+
description: string;
|
|
1654
|
+
max: number;
|
|
1655
|
+
default: number;
|
|
1656
|
+
min: number;
|
|
1657
|
+
step: number;
|
|
1658
|
+
} | {
|
|
1659
|
+
type: "select-boolean";
|
|
1660
|
+
param: string;
|
|
1661
|
+
title: string;
|
|
1662
|
+
description: string;
|
|
1663
|
+
default: boolean | null;
|
|
1664
|
+
} | {
|
|
1665
|
+
type: "select-string";
|
|
1666
|
+
param: string;
|
|
1667
|
+
title: string;
|
|
1668
|
+
description: string;
|
|
1669
|
+
default: string;
|
|
1670
|
+
choices: string[];
|
|
1671
|
+
}>;
|
|
1672
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1673
|
+
};
|
|
1674
|
+
price: {
|
|
1675
|
+
modelName: string;
|
|
1676
|
+
currency: string;
|
|
1677
|
+
tokenRanges: {
|
|
1678
|
+
minTokens: number;
|
|
1679
|
+
prices: {
|
|
1680
|
+
base: {
|
|
1681
|
+
inputPricePerMillion: number;
|
|
1682
|
+
outputPricePerMillion: number;
|
|
1683
|
+
};
|
|
1684
|
+
};
|
|
1685
|
+
maxTokens?: number | null | undefined;
|
|
1686
|
+
}[];
|
|
1687
|
+
};
|
|
1688
|
+
maxReasoningTokens?: number | undefined;
|
|
1689
|
+
};
|
|
1690
|
+
declare const GPT_4_Turbo_PreviewOptions: z.ZodObject<{
|
|
1691
|
+
apiKey: z.ZodString;
|
|
1692
|
+
deploymentId: z.ZodString;
|
|
1693
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
1694
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1695
|
+
}, "strip", z.ZodTypeAny, {
|
|
1696
|
+
apiKey: string;
|
|
1697
|
+
deploymentId: string;
|
|
1698
|
+
resourceName?: string | undefined;
|
|
1699
|
+
baseUrl?: string | undefined;
|
|
1700
|
+
}, {
|
|
1701
|
+
apiKey: string;
|
|
1702
|
+
deploymentId: string;
|
|
1703
|
+
resourceName?: string | undefined;
|
|
1704
|
+
baseUrl?: string | undefined;
|
|
1705
|
+
}>;
|
|
1706
|
+
type GPT_4_Turbo_PreviewOptionsType = z.infer<typeof GPT_4_Turbo_PreviewOptions>;
|
|
1707
|
+
declare class GPT_4_Turbo_Preview extends BaseChatModelOpenAI {
|
|
1708
|
+
constructor(options: GPT_4_Turbo_PreviewOptionsType);
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
declare const GPT_4oLiteral: "gpt-4o";
|
|
1712
|
+
declare const GPT_4oSchema: {
|
|
1713
|
+
description: string;
|
|
1714
|
+
name: string;
|
|
1715
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1716
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
1717
|
+
maxInputTokens: number;
|
|
1718
|
+
maxOutputTokens: number;
|
|
1719
|
+
config: {
|
|
1720
|
+
def: Record<string, {
|
|
1721
|
+
type: "multi-string";
|
|
1722
|
+
param: string;
|
|
1723
|
+
title: string;
|
|
1724
|
+
description: string;
|
|
1725
|
+
max: number;
|
|
1726
|
+
} | {
|
|
1727
|
+
type: "object-schema";
|
|
1728
|
+
param: string;
|
|
1729
|
+
title: string;
|
|
1730
|
+
description: string;
|
|
1731
|
+
objectSchema?: any;
|
|
1732
|
+
} | {
|
|
1733
|
+
type: "paired-select";
|
|
1734
|
+
param: string;
|
|
1735
|
+
title: string;
|
|
1736
|
+
description: string;
|
|
1737
|
+
fields: [{
|
|
1738
|
+
label: string;
|
|
1739
|
+
key: string;
|
|
1740
|
+
choices: {
|
|
1741
|
+
value: string;
|
|
1742
|
+
label: string;
|
|
1743
|
+
}[];
|
|
1744
|
+
description?: string | undefined;
|
|
1745
|
+
}, {
|
|
1746
|
+
label: string;
|
|
1747
|
+
key: string;
|
|
1748
|
+
choices: {
|
|
1749
|
+
value: string;
|
|
1750
|
+
label: string;
|
|
1751
|
+
}[];
|
|
1752
|
+
description?: string | undefined;
|
|
1753
|
+
}];
|
|
1754
|
+
uniqueByField?: string | undefined;
|
|
1755
|
+
} | {
|
|
1756
|
+
type: "range";
|
|
1757
|
+
param: string;
|
|
1758
|
+
title: string;
|
|
1759
|
+
description: string;
|
|
1760
|
+
max: number;
|
|
1761
|
+
default: number;
|
|
1762
|
+
min: number;
|
|
1763
|
+
step: number;
|
|
1764
|
+
} | {
|
|
1765
|
+
type: "select-boolean";
|
|
1766
|
+
param: string;
|
|
1767
|
+
title: string;
|
|
1768
|
+
description: string;
|
|
1769
|
+
default: boolean | null;
|
|
1770
|
+
} | {
|
|
1771
|
+
type: "select-string";
|
|
1772
|
+
param: string;
|
|
1773
|
+
title: string;
|
|
1774
|
+
description: string;
|
|
1775
|
+
default: string;
|
|
1776
|
+
choices: string[];
|
|
1777
|
+
}>;
|
|
1778
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1779
|
+
};
|
|
1780
|
+
price: {
|
|
1781
|
+
modelName: string;
|
|
1782
|
+
currency: string;
|
|
1783
|
+
tokenRanges: {
|
|
1784
|
+
minTokens: number;
|
|
1785
|
+
prices: {
|
|
1786
|
+
base: {
|
|
1787
|
+
inputPricePerMillion: number;
|
|
1788
|
+
outputPricePerMillion: number;
|
|
1789
|
+
};
|
|
1790
|
+
};
|
|
1791
|
+
maxTokens?: number | null | undefined;
|
|
1792
|
+
}[];
|
|
1793
|
+
};
|
|
1794
|
+
maxReasoningTokens?: number | undefined;
|
|
1795
|
+
};
|
|
1796
|
+
declare const GPT_4oOptions: z.ZodObject<{
|
|
1797
|
+
apiKey: z.ZodString;
|
|
1798
|
+
deploymentId: z.ZodString;
|
|
1799
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
1800
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1801
|
+
}, "strip", z.ZodTypeAny, {
|
|
1802
|
+
apiKey: string;
|
|
1803
|
+
deploymentId: string;
|
|
1804
|
+
resourceName?: string | undefined;
|
|
1805
|
+
baseUrl?: string | undefined;
|
|
1806
|
+
}, {
|
|
1807
|
+
apiKey: string;
|
|
1808
|
+
deploymentId: string;
|
|
1809
|
+
resourceName?: string | undefined;
|
|
1810
|
+
baseUrl?: string | undefined;
|
|
1811
|
+
}>;
|
|
1812
|
+
type GPT_4oOptionsType = z.infer<typeof GPT_4oOptions>;
|
|
1813
|
+
declare class GPT_4o extends BaseChatModelOpenAI {
|
|
1814
|
+
constructor(options: GPT_4oOptionsType);
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
declare const GPT_4o_2024_05_13Literal: "gpt-4o-2024-05-13";
|
|
1818
|
+
declare const GPT_4o_2024_05_13Schema: {
|
|
1819
|
+
description: string;
|
|
1820
|
+
name: string;
|
|
1821
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1822
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
1823
|
+
maxInputTokens: number;
|
|
1824
|
+
maxOutputTokens: number;
|
|
1825
|
+
config: {
|
|
1826
|
+
def: Record<string, {
|
|
1827
|
+
type: "multi-string";
|
|
1828
|
+
param: string;
|
|
1829
|
+
title: string;
|
|
1830
|
+
description: string;
|
|
1831
|
+
max: number;
|
|
1832
|
+
} | {
|
|
1833
|
+
type: "object-schema";
|
|
1834
|
+
param: string;
|
|
1835
|
+
title: string;
|
|
1836
|
+
description: string;
|
|
1837
|
+
objectSchema?: any;
|
|
1838
|
+
} | {
|
|
1839
|
+
type: "paired-select";
|
|
1840
|
+
param: string;
|
|
1841
|
+
title: string;
|
|
1842
|
+
description: string;
|
|
1843
|
+
fields: [{
|
|
1844
|
+
label: string;
|
|
1845
|
+
key: string;
|
|
1846
|
+
choices: {
|
|
1847
|
+
value: string;
|
|
1848
|
+
label: string;
|
|
1849
|
+
}[];
|
|
1850
|
+
description?: string | undefined;
|
|
1851
|
+
}, {
|
|
1852
|
+
label: string;
|
|
1853
|
+
key: string;
|
|
1854
|
+
choices: {
|
|
1855
|
+
value: string;
|
|
1856
|
+
label: string;
|
|
1857
|
+
}[];
|
|
1858
|
+
description?: string | undefined;
|
|
1859
|
+
}];
|
|
1860
|
+
uniqueByField?: string | undefined;
|
|
1861
|
+
} | {
|
|
1862
|
+
type: "range";
|
|
1863
|
+
param: string;
|
|
1864
|
+
title: string;
|
|
1865
|
+
description: string;
|
|
1866
|
+
max: number;
|
|
1867
|
+
default: number;
|
|
1868
|
+
min: number;
|
|
1869
|
+
step: number;
|
|
1870
|
+
} | {
|
|
1871
|
+
type: "select-boolean";
|
|
1872
|
+
param: string;
|
|
1873
|
+
title: string;
|
|
1874
|
+
description: string;
|
|
1875
|
+
default: boolean | null;
|
|
1876
|
+
} | {
|
|
1877
|
+
type: "select-string";
|
|
1878
|
+
param: string;
|
|
1879
|
+
title: string;
|
|
1880
|
+
description: string;
|
|
1881
|
+
default: string;
|
|
1882
|
+
choices: string[];
|
|
1883
|
+
}>;
|
|
1884
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1885
|
+
};
|
|
1886
|
+
price: {
|
|
1887
|
+
modelName: string;
|
|
1888
|
+
currency: string;
|
|
1889
|
+
tokenRanges: {
|
|
1890
|
+
minTokens: number;
|
|
1891
|
+
prices: {
|
|
1892
|
+
base: {
|
|
1893
|
+
inputPricePerMillion: number;
|
|
1894
|
+
outputPricePerMillion: number;
|
|
1895
|
+
};
|
|
1896
|
+
};
|
|
1897
|
+
maxTokens?: number | null | undefined;
|
|
1898
|
+
}[];
|
|
1899
|
+
};
|
|
1900
|
+
maxReasoningTokens?: number | undefined;
|
|
1901
|
+
};
|
|
1902
|
+
declare const GPT_4o_2024_05_13Options: z.ZodObject<{
|
|
1903
|
+
apiKey: z.ZodString;
|
|
1904
|
+
deploymentId: z.ZodString;
|
|
1905
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
1906
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1907
|
+
}, "strip", z.ZodTypeAny, {
|
|
1908
|
+
apiKey: string;
|
|
1909
|
+
deploymentId: string;
|
|
1910
|
+
resourceName?: string | undefined;
|
|
1911
|
+
baseUrl?: string | undefined;
|
|
1912
|
+
}, {
|
|
1913
|
+
apiKey: string;
|
|
1914
|
+
deploymentId: string;
|
|
1915
|
+
resourceName?: string | undefined;
|
|
1916
|
+
baseUrl?: string | undefined;
|
|
1917
|
+
}>;
|
|
1918
|
+
type GPT_4o_2024_05_13OptionsType = z.infer<typeof GPT_4o_2024_05_13Options>;
|
|
1919
|
+
declare class GPT_4o_2024_05_13 extends BaseChatModelOpenAI {
|
|
1920
|
+
constructor(options: GPT_4o_2024_05_13OptionsType);
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
declare const GPT_4o_2024_08_06Literal: "gpt-4o-2024-08-06";
|
|
1924
|
+
declare const GPT_4o_2024_08_06Schema: {
|
|
1925
|
+
description: string;
|
|
1926
|
+
name: string;
|
|
1927
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1928
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
1929
|
+
maxInputTokens: number;
|
|
1930
|
+
maxOutputTokens: number;
|
|
1931
|
+
config: {
|
|
1932
|
+
def: Record<string, {
|
|
1933
|
+
type: "multi-string";
|
|
1934
|
+
param: string;
|
|
1935
|
+
title: string;
|
|
1936
|
+
description: string;
|
|
1937
|
+
max: number;
|
|
1938
|
+
} | {
|
|
1939
|
+
type: "object-schema";
|
|
1940
|
+
param: string;
|
|
1941
|
+
title: string;
|
|
1942
|
+
description: string;
|
|
1943
|
+
objectSchema?: any;
|
|
1944
|
+
} | {
|
|
1945
|
+
type: "paired-select";
|
|
1946
|
+
param: string;
|
|
1947
|
+
title: string;
|
|
1948
|
+
description: string;
|
|
1949
|
+
fields: [{
|
|
1950
|
+
label: string;
|
|
1951
|
+
key: string;
|
|
1952
|
+
choices: {
|
|
1953
|
+
value: string;
|
|
1954
|
+
label: string;
|
|
1955
|
+
}[];
|
|
1956
|
+
description?: string | undefined;
|
|
1957
|
+
}, {
|
|
1958
|
+
label: string;
|
|
1959
|
+
key: string;
|
|
1960
|
+
choices: {
|
|
1961
|
+
value: string;
|
|
1962
|
+
label: string;
|
|
1963
|
+
}[];
|
|
1964
|
+
description?: string | undefined;
|
|
1965
|
+
}];
|
|
1966
|
+
uniqueByField?: string | undefined;
|
|
1967
|
+
} | {
|
|
1968
|
+
type: "range";
|
|
1969
|
+
param: string;
|
|
1970
|
+
title: string;
|
|
1971
|
+
description: string;
|
|
1972
|
+
max: number;
|
|
1973
|
+
default: number;
|
|
1974
|
+
min: number;
|
|
1975
|
+
step: number;
|
|
1976
|
+
} | {
|
|
1977
|
+
type: "select-boolean";
|
|
1978
|
+
param: string;
|
|
1979
|
+
title: string;
|
|
1980
|
+
description: string;
|
|
1981
|
+
default: boolean | null;
|
|
1982
|
+
} | {
|
|
1983
|
+
type: "select-string";
|
|
1984
|
+
param: string;
|
|
1985
|
+
title: string;
|
|
1986
|
+
description: string;
|
|
1987
|
+
default: string;
|
|
1988
|
+
choices: string[];
|
|
1989
|
+
}>;
|
|
1990
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1991
|
+
};
|
|
1992
|
+
price: {
|
|
1993
|
+
modelName: string;
|
|
1994
|
+
currency: string;
|
|
1995
|
+
tokenRanges: {
|
|
1996
|
+
minTokens: number;
|
|
1997
|
+
prices: {
|
|
1998
|
+
base: {
|
|
1999
|
+
inputPricePerMillion: number;
|
|
2000
|
+
outputPricePerMillion: number;
|
|
2001
|
+
};
|
|
2002
|
+
};
|
|
2003
|
+
maxTokens?: number | null | undefined;
|
|
2004
|
+
}[];
|
|
2005
|
+
};
|
|
2006
|
+
maxReasoningTokens?: number | undefined;
|
|
2007
|
+
};
|
|
2008
|
+
declare const GPT_4o_2024_08_06Options: z.ZodObject<{
|
|
2009
|
+
apiKey: z.ZodString;
|
|
2010
|
+
deploymentId: z.ZodString;
|
|
2011
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
2012
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2013
|
+
}, "strip", z.ZodTypeAny, {
|
|
2014
|
+
apiKey: string;
|
|
2015
|
+
deploymentId: string;
|
|
2016
|
+
resourceName?: string | undefined;
|
|
2017
|
+
baseUrl?: string | undefined;
|
|
2018
|
+
}, {
|
|
2019
|
+
apiKey: string;
|
|
2020
|
+
deploymentId: string;
|
|
2021
|
+
resourceName?: string | undefined;
|
|
2022
|
+
baseUrl?: string | undefined;
|
|
2023
|
+
}>;
|
|
2024
|
+
type GPT_4o_2024_08_06OptionsType = z.infer<typeof GPT_4o_2024_08_06Options>;
|
|
2025
|
+
declare class GPT_4o_2024_08_06 extends BaseChatModelOpenAI {
|
|
2026
|
+
constructor(options: GPT_4o_2024_08_06OptionsType);
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
declare const GPT_4o_MiniLiteral: "gpt-4o-mini";
|
|
2030
|
+
declare const GPT_4o_MiniSchema: {
|
|
2031
|
+
description: string;
|
|
2032
|
+
name: string;
|
|
2033
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2034
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2035
|
+
maxInputTokens: number;
|
|
2036
|
+
maxOutputTokens: number;
|
|
2037
|
+
config: {
|
|
2038
|
+
def: Record<string, {
|
|
2039
|
+
type: "multi-string";
|
|
2040
|
+
param: string;
|
|
2041
|
+
title: string;
|
|
2042
|
+
description: string;
|
|
2043
|
+
max: number;
|
|
2044
|
+
} | {
|
|
2045
|
+
type: "object-schema";
|
|
2046
|
+
param: string;
|
|
2047
|
+
title: string;
|
|
2048
|
+
description: string;
|
|
2049
|
+
objectSchema?: any;
|
|
2050
|
+
} | {
|
|
2051
|
+
type: "paired-select";
|
|
2052
|
+
param: string;
|
|
2053
|
+
title: string;
|
|
2054
|
+
description: string;
|
|
2055
|
+
fields: [{
|
|
2056
|
+
label: string;
|
|
2057
|
+
key: string;
|
|
2058
|
+
choices: {
|
|
2059
|
+
value: string;
|
|
2060
|
+
label: string;
|
|
2061
|
+
}[];
|
|
2062
|
+
description?: string | undefined;
|
|
2063
|
+
}, {
|
|
2064
|
+
label: string;
|
|
2065
|
+
key: string;
|
|
2066
|
+
choices: {
|
|
2067
|
+
value: string;
|
|
2068
|
+
label: string;
|
|
2069
|
+
}[];
|
|
2070
|
+
description?: string | undefined;
|
|
2071
|
+
}];
|
|
2072
|
+
uniqueByField?: string | undefined;
|
|
2073
|
+
} | {
|
|
2074
|
+
type: "range";
|
|
2075
|
+
param: string;
|
|
2076
|
+
title: string;
|
|
2077
|
+
description: string;
|
|
2078
|
+
max: number;
|
|
2079
|
+
default: number;
|
|
2080
|
+
min: number;
|
|
2081
|
+
step: number;
|
|
2082
|
+
} | {
|
|
2083
|
+
type: "select-boolean";
|
|
2084
|
+
param: string;
|
|
2085
|
+
title: string;
|
|
2086
|
+
description: string;
|
|
2087
|
+
default: boolean | null;
|
|
2088
|
+
} | {
|
|
2089
|
+
type: "select-string";
|
|
2090
|
+
param: string;
|
|
2091
|
+
title: string;
|
|
2092
|
+
description: string;
|
|
2093
|
+
default: string;
|
|
2094
|
+
choices: string[];
|
|
2095
|
+
}>;
|
|
2096
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2097
|
+
};
|
|
2098
|
+
price: {
|
|
2099
|
+
modelName: string;
|
|
2100
|
+
currency: string;
|
|
2101
|
+
tokenRanges: {
|
|
2102
|
+
minTokens: number;
|
|
2103
|
+
prices: {
|
|
2104
|
+
base: {
|
|
2105
|
+
inputPricePerMillion: number;
|
|
2106
|
+
outputPricePerMillion: number;
|
|
2107
|
+
};
|
|
2108
|
+
};
|
|
2109
|
+
maxTokens?: number | null | undefined;
|
|
2110
|
+
}[];
|
|
2111
|
+
};
|
|
2112
|
+
maxReasoningTokens?: number | undefined;
|
|
2113
|
+
};
|
|
2114
|
+
declare const GPT_4o_MiniOptions: z.ZodObject<{
|
|
2115
|
+
apiKey: z.ZodString;
|
|
2116
|
+
deploymentId: z.ZodString;
|
|
2117
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
2118
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2119
|
+
}, "strip", z.ZodTypeAny, {
|
|
2120
|
+
apiKey: string;
|
|
2121
|
+
deploymentId: string;
|
|
2122
|
+
resourceName?: string | undefined;
|
|
2123
|
+
baseUrl?: string | undefined;
|
|
2124
|
+
}, {
|
|
2125
|
+
apiKey: string;
|
|
2126
|
+
deploymentId: string;
|
|
2127
|
+
resourceName?: string | undefined;
|
|
2128
|
+
baseUrl?: string | undefined;
|
|
2129
|
+
}>;
|
|
2130
|
+
type GPT_4o_MiniOptionsType = z.infer<typeof GPT_4o_MiniOptions>;
|
|
2131
|
+
declare class GPT_4o_Mini extends BaseChatModelOpenAI {
|
|
2132
|
+
constructor(options: GPT_4o_MiniOptionsType);
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
declare const GPT_4o_Mini_2024_07_18Literal: "gpt-4o-mini-2024-07-18";
|
|
2136
|
+
declare const GPT_4o_Mini_2024_07_18Schema: {
|
|
2137
|
+
description: string;
|
|
2138
|
+
name: string;
|
|
2139
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2140
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2141
|
+
maxInputTokens: number;
|
|
2142
|
+
maxOutputTokens: number;
|
|
2143
|
+
config: {
|
|
2144
|
+
def: Record<string, {
|
|
2145
|
+
type: "multi-string";
|
|
2146
|
+
param: string;
|
|
2147
|
+
title: string;
|
|
2148
|
+
description: string;
|
|
2149
|
+
max: number;
|
|
2150
|
+
} | {
|
|
2151
|
+
type: "object-schema";
|
|
2152
|
+
param: string;
|
|
2153
|
+
title: string;
|
|
2154
|
+
description: string;
|
|
2155
|
+
objectSchema?: any;
|
|
2156
|
+
} | {
|
|
2157
|
+
type: "paired-select";
|
|
2158
|
+
param: string;
|
|
2159
|
+
title: string;
|
|
2160
|
+
description: string;
|
|
2161
|
+
fields: [{
|
|
2162
|
+
label: string;
|
|
2163
|
+
key: string;
|
|
2164
|
+
choices: {
|
|
2165
|
+
value: string;
|
|
2166
|
+
label: string;
|
|
2167
|
+
}[];
|
|
2168
|
+
description?: string | undefined;
|
|
2169
|
+
}, {
|
|
2170
|
+
label: string;
|
|
2171
|
+
key: string;
|
|
2172
|
+
choices: {
|
|
2173
|
+
value: string;
|
|
2174
|
+
label: string;
|
|
2175
|
+
}[];
|
|
2176
|
+
description?: string | undefined;
|
|
2177
|
+
}];
|
|
2178
|
+
uniqueByField?: string | undefined;
|
|
2179
|
+
} | {
|
|
2180
|
+
type: "range";
|
|
2181
|
+
param: string;
|
|
2182
|
+
title: string;
|
|
2183
|
+
description: string;
|
|
2184
|
+
max: number;
|
|
2185
|
+
default: number;
|
|
2186
|
+
min: number;
|
|
2187
|
+
step: number;
|
|
2188
|
+
} | {
|
|
2189
|
+
type: "select-boolean";
|
|
2190
|
+
param: string;
|
|
2191
|
+
title: string;
|
|
2192
|
+
description: string;
|
|
2193
|
+
default: boolean | null;
|
|
2194
|
+
} | {
|
|
2195
|
+
type: "select-string";
|
|
2196
|
+
param: string;
|
|
2197
|
+
title: string;
|
|
2198
|
+
description: string;
|
|
2199
|
+
default: string;
|
|
2200
|
+
choices: string[];
|
|
2201
|
+
}>;
|
|
2202
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2203
|
+
};
|
|
2204
|
+
price: {
|
|
2205
|
+
modelName: string;
|
|
2206
|
+
currency: string;
|
|
2207
|
+
tokenRanges: {
|
|
2208
|
+
minTokens: number;
|
|
2209
|
+
prices: {
|
|
2210
|
+
base: {
|
|
2211
|
+
inputPricePerMillion: number;
|
|
2212
|
+
outputPricePerMillion: number;
|
|
2213
|
+
};
|
|
2214
|
+
};
|
|
2215
|
+
maxTokens?: number | null | undefined;
|
|
2216
|
+
}[];
|
|
2217
|
+
};
|
|
2218
|
+
maxReasoningTokens?: number | undefined;
|
|
2219
|
+
};
|
|
2220
|
+
declare const GPT_4o_Mini_2024_07_18Options: z.ZodObject<{
|
|
2221
|
+
apiKey: z.ZodString;
|
|
2222
|
+
deploymentId: z.ZodString;
|
|
2223
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
2224
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2225
|
+
}, "strip", z.ZodTypeAny, {
|
|
2226
|
+
apiKey: string;
|
|
2227
|
+
deploymentId: string;
|
|
2228
|
+
resourceName?: string | undefined;
|
|
2229
|
+
baseUrl?: string | undefined;
|
|
2230
|
+
}, {
|
|
2231
|
+
apiKey: string;
|
|
2232
|
+
deploymentId: string;
|
|
2233
|
+
resourceName?: string | undefined;
|
|
2234
|
+
baseUrl?: string | undefined;
|
|
2235
|
+
}>;
|
|
2236
|
+
type GPT_4o_Mini_2024_07_18OptionsType = z.infer<typeof GPT_4o_Mini_2024_07_18Options>;
|
|
2237
|
+
declare class GPT_4o_Mini_2024_07_18 extends BaseChatModelOpenAI {
|
|
2238
|
+
constructor(options: GPT_4o_Mini_2024_07_18OptionsType);
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
declare const GPT_5Literal: "gpt-5";
|
|
2242
|
+
declare const GPT_5Schema: {
|
|
2243
|
+
description: string;
|
|
2244
|
+
name: string;
|
|
2245
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2246
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2247
|
+
maxInputTokens: number;
|
|
2248
|
+
maxOutputTokens: number;
|
|
2249
|
+
config: {
|
|
2250
|
+
def: Record<string, {
|
|
2251
|
+
type: "multi-string";
|
|
2252
|
+
param: string;
|
|
2253
|
+
title: string;
|
|
2254
|
+
description: string;
|
|
2255
|
+
max: number;
|
|
2256
|
+
} | {
|
|
2257
|
+
type: "object-schema";
|
|
2258
|
+
param: string;
|
|
2259
|
+
title: string;
|
|
2260
|
+
description: string;
|
|
2261
|
+
objectSchema?: any;
|
|
2262
|
+
} | {
|
|
2263
|
+
type: "paired-select";
|
|
2264
|
+
param: string;
|
|
2265
|
+
title: string;
|
|
2266
|
+
description: string;
|
|
2267
|
+
fields: [{
|
|
2268
|
+
label: string;
|
|
2269
|
+
key: string;
|
|
2270
|
+
choices: {
|
|
2271
|
+
value: string;
|
|
2272
|
+
label: string;
|
|
2273
|
+
}[];
|
|
2274
|
+
description?: string | undefined;
|
|
2275
|
+
}, {
|
|
2276
|
+
label: string;
|
|
2277
|
+
key: string;
|
|
2278
|
+
choices: {
|
|
2279
|
+
value: string;
|
|
2280
|
+
label: string;
|
|
2281
|
+
}[];
|
|
2282
|
+
description?: string | undefined;
|
|
2283
|
+
}];
|
|
2284
|
+
uniqueByField?: string | undefined;
|
|
2285
|
+
} | {
|
|
2286
|
+
type: "range";
|
|
2287
|
+
param: string;
|
|
2288
|
+
title: string;
|
|
2289
|
+
description: string;
|
|
2290
|
+
max: number;
|
|
2291
|
+
default: number;
|
|
2292
|
+
min: number;
|
|
2293
|
+
step: number;
|
|
2294
|
+
} | {
|
|
2295
|
+
type: "select-boolean";
|
|
2296
|
+
param: string;
|
|
2297
|
+
title: string;
|
|
2298
|
+
description: string;
|
|
2299
|
+
default: boolean | null;
|
|
2300
|
+
} | {
|
|
2301
|
+
type: "select-string";
|
|
2302
|
+
param: string;
|
|
2303
|
+
title: string;
|
|
2304
|
+
description: string;
|
|
2305
|
+
default: string;
|
|
2306
|
+
choices: string[];
|
|
2307
|
+
}>;
|
|
2308
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2309
|
+
};
|
|
2310
|
+
price: {
|
|
2311
|
+
modelName: string;
|
|
2312
|
+
currency: string;
|
|
2313
|
+
tokenRanges: {
|
|
2314
|
+
minTokens: number;
|
|
2315
|
+
prices: {
|
|
2316
|
+
base: {
|
|
2317
|
+
inputPricePerMillion: number;
|
|
2318
|
+
outputPricePerMillion: number;
|
|
2319
|
+
};
|
|
2320
|
+
};
|
|
2321
|
+
maxTokens?: number | null | undefined;
|
|
2322
|
+
}[];
|
|
2323
|
+
};
|
|
2324
|
+
maxReasoningTokens?: number | undefined;
|
|
2325
|
+
};
|
|
2326
|
+
declare const GPT_5Options: z.ZodObject<{
|
|
2327
|
+
apiKey: z.ZodString;
|
|
2328
|
+
deploymentId: z.ZodString;
|
|
2329
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
2330
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2331
|
+
}, "strip", z.ZodTypeAny, {
|
|
2332
|
+
apiKey: string;
|
|
2333
|
+
deploymentId: string;
|
|
2334
|
+
resourceName?: string | undefined;
|
|
2335
|
+
baseUrl?: string | undefined;
|
|
2336
|
+
}, {
|
|
2337
|
+
apiKey: string;
|
|
2338
|
+
deploymentId: string;
|
|
2339
|
+
resourceName?: string | undefined;
|
|
2340
|
+
baseUrl?: string | undefined;
|
|
2341
|
+
}>;
|
|
2342
|
+
type GPT_5OptionsType = z.infer<typeof GPT_5Options>;
|
|
2343
|
+
declare class GPT_5 extends BaseChatModelOpenAI {
|
|
2344
|
+
constructor(options: GPT_5OptionsType);
|
|
2345
|
+
}
|
|
2346
|
+
|
|
2347
|
+
declare const GPT_5_1Literal: "gpt-5.1";
|
|
2348
|
+
declare const GPT_5_1Schema: {
|
|
2349
|
+
description: string;
|
|
2350
|
+
name: string;
|
|
2351
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2352
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2353
|
+
maxInputTokens: number;
|
|
2354
|
+
maxOutputTokens: number;
|
|
2355
|
+
config: {
|
|
2356
|
+
def: Record<string, {
|
|
2357
|
+
type: "multi-string";
|
|
2358
|
+
param: string;
|
|
2359
|
+
title: string;
|
|
2360
|
+
description: string;
|
|
2361
|
+
max: number;
|
|
2362
|
+
} | {
|
|
2363
|
+
type: "object-schema";
|
|
2364
|
+
param: string;
|
|
2365
|
+
title: string;
|
|
2366
|
+
description: string;
|
|
2367
|
+
objectSchema?: any;
|
|
2368
|
+
} | {
|
|
2369
|
+
type: "paired-select";
|
|
2370
|
+
param: string;
|
|
2371
|
+
title: string;
|
|
2372
|
+
description: string;
|
|
2373
|
+
fields: [{
|
|
2374
|
+
label: string;
|
|
2375
|
+
key: string;
|
|
2376
|
+
choices: {
|
|
2377
|
+
value: string;
|
|
2378
|
+
label: string;
|
|
2379
|
+
}[];
|
|
2380
|
+
description?: string | undefined;
|
|
2381
|
+
}, {
|
|
2382
|
+
label: string;
|
|
2383
|
+
key: string;
|
|
2384
|
+
choices: {
|
|
2385
|
+
value: string;
|
|
2386
|
+
label: string;
|
|
2387
|
+
}[];
|
|
2388
|
+
description?: string | undefined;
|
|
2389
|
+
}];
|
|
2390
|
+
uniqueByField?: string | undefined;
|
|
2391
|
+
} | {
|
|
2392
|
+
type: "range";
|
|
2393
|
+
param: string;
|
|
2394
|
+
title: string;
|
|
2395
|
+
description: string;
|
|
2396
|
+
max: number;
|
|
2397
|
+
default: number;
|
|
2398
|
+
min: number;
|
|
2399
|
+
step: number;
|
|
2400
|
+
} | {
|
|
2401
|
+
type: "select-boolean";
|
|
2402
|
+
param: string;
|
|
2403
|
+
title: string;
|
|
2404
|
+
description: string;
|
|
2405
|
+
default: boolean | null;
|
|
2406
|
+
} | {
|
|
2407
|
+
type: "select-string";
|
|
2408
|
+
param: string;
|
|
2409
|
+
title: string;
|
|
2410
|
+
description: string;
|
|
2411
|
+
default: string;
|
|
2412
|
+
choices: string[];
|
|
2413
|
+
}>;
|
|
2414
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2415
|
+
};
|
|
2416
|
+
price: {
|
|
2417
|
+
modelName: string;
|
|
2418
|
+
currency: string;
|
|
2419
|
+
tokenRanges: {
|
|
2420
|
+
minTokens: number;
|
|
2421
|
+
prices: {
|
|
2422
|
+
base: {
|
|
2423
|
+
inputPricePerMillion: number;
|
|
2424
|
+
outputPricePerMillion: number;
|
|
2425
|
+
};
|
|
2426
|
+
};
|
|
2427
|
+
maxTokens?: number | null | undefined;
|
|
2428
|
+
}[];
|
|
2429
|
+
};
|
|
2430
|
+
maxReasoningTokens?: number | undefined;
|
|
2431
|
+
};
|
|
2432
|
+
declare const GPT_5_1Options: z.ZodObject<{
|
|
2433
|
+
apiKey: z.ZodString;
|
|
2434
|
+
deploymentId: z.ZodString;
|
|
2435
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
2436
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2437
|
+
}, "strip", z.ZodTypeAny, {
|
|
2438
|
+
apiKey: string;
|
|
2439
|
+
deploymentId: string;
|
|
2440
|
+
resourceName?: string | undefined;
|
|
2441
|
+
baseUrl?: string | undefined;
|
|
2442
|
+
}, {
|
|
2443
|
+
apiKey: string;
|
|
2444
|
+
deploymentId: string;
|
|
2445
|
+
resourceName?: string | undefined;
|
|
2446
|
+
baseUrl?: string | undefined;
|
|
2447
|
+
}>;
|
|
2448
|
+
type GPT_5_1OptionsType = z.infer<typeof GPT_5_1Options>;
|
|
2449
|
+
declare class GPT_5_1 extends BaseChatModelOpenAI {
|
|
2450
|
+
constructor(options: GPT_5_1OptionsType);
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2453
|
+
declare const GPT_5_2Literal: "gpt-5.2";
|
|
2454
|
+
declare const GPT_5_2Schema: {
|
|
2455
|
+
description: string;
|
|
2456
|
+
name: string;
|
|
2457
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2458
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2459
|
+
maxInputTokens: number;
|
|
2460
|
+
maxOutputTokens: number;
|
|
2461
|
+
config: {
|
|
2462
|
+
def: Record<string, {
|
|
2463
|
+
type: "multi-string";
|
|
2464
|
+
param: string;
|
|
2465
|
+
title: string;
|
|
2466
|
+
description: string;
|
|
2467
|
+
max: number;
|
|
2468
|
+
} | {
|
|
2469
|
+
type: "object-schema";
|
|
2470
|
+
param: string;
|
|
2471
|
+
title: string;
|
|
2472
|
+
description: string;
|
|
2473
|
+
objectSchema?: any;
|
|
2474
|
+
} | {
|
|
2475
|
+
type: "paired-select";
|
|
2476
|
+
param: string;
|
|
2477
|
+
title: string;
|
|
2478
|
+
description: string;
|
|
2479
|
+
fields: [{
|
|
2480
|
+
label: string;
|
|
2481
|
+
key: string;
|
|
2482
|
+
choices: {
|
|
2483
|
+
value: string;
|
|
2484
|
+
label: string;
|
|
2485
|
+
}[];
|
|
2486
|
+
description?: string | undefined;
|
|
2487
|
+
}, {
|
|
2488
|
+
label: string;
|
|
2489
|
+
key: string;
|
|
2490
|
+
choices: {
|
|
2491
|
+
value: string;
|
|
2492
|
+
label: string;
|
|
2493
|
+
}[];
|
|
2494
|
+
description?: string | undefined;
|
|
2495
|
+
}];
|
|
2496
|
+
uniqueByField?: string | undefined;
|
|
2497
|
+
} | {
|
|
2498
|
+
type: "range";
|
|
2499
|
+
param: string;
|
|
2500
|
+
title: string;
|
|
2501
|
+
description: string;
|
|
2502
|
+
max: number;
|
|
2503
|
+
default: number;
|
|
2504
|
+
min: number;
|
|
2505
|
+
step: number;
|
|
2506
|
+
} | {
|
|
2507
|
+
type: "select-boolean";
|
|
2508
|
+
param: string;
|
|
2509
|
+
title: string;
|
|
2510
|
+
description: string;
|
|
2511
|
+
default: boolean | null;
|
|
2512
|
+
} | {
|
|
2513
|
+
type: "select-string";
|
|
2514
|
+
param: string;
|
|
2515
|
+
title: string;
|
|
2516
|
+
description: string;
|
|
2517
|
+
default: string;
|
|
2518
|
+
choices: string[];
|
|
2519
|
+
}>;
|
|
2520
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2521
|
+
};
|
|
2522
|
+
price: {
|
|
2523
|
+
modelName: string;
|
|
2524
|
+
currency: string;
|
|
2525
|
+
tokenRanges: {
|
|
2526
|
+
minTokens: number;
|
|
2527
|
+
prices: {
|
|
2528
|
+
base: {
|
|
2529
|
+
inputPricePerMillion: number;
|
|
2530
|
+
outputPricePerMillion: number;
|
|
2531
|
+
};
|
|
2532
|
+
};
|
|
2533
|
+
maxTokens?: number | null | undefined;
|
|
2534
|
+
}[];
|
|
2535
|
+
};
|
|
2536
|
+
maxReasoningTokens?: number | undefined;
|
|
2537
|
+
};
|
|
2538
|
+
declare const GPT_5_2Options: z.ZodObject<{
|
|
2539
|
+
apiKey: z.ZodString;
|
|
2540
|
+
deploymentId: z.ZodString;
|
|
2541
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
2542
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2543
|
+
}, "strip", z.ZodTypeAny, {
|
|
2544
|
+
apiKey: string;
|
|
2545
|
+
deploymentId: string;
|
|
2546
|
+
resourceName?: string | undefined;
|
|
2547
|
+
baseUrl?: string | undefined;
|
|
2548
|
+
}, {
|
|
2549
|
+
apiKey: string;
|
|
2550
|
+
deploymentId: string;
|
|
2551
|
+
resourceName?: string | undefined;
|
|
2552
|
+
baseUrl?: string | undefined;
|
|
2553
|
+
}>;
|
|
2554
|
+
type GPT_5_2OptionsType = z.infer<typeof GPT_5_2Options>;
|
|
2555
|
+
declare class GPT_5_2 extends BaseChatModelOpenAI {
|
|
2556
|
+
constructor(options: GPT_5_2OptionsType);
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
declare const GPT_5_2_ChatLatestLiteral: "gpt-5.2-chat-latest";
|
|
2560
|
+
declare const GPT_5_2_ChatLatestSchema: {
|
|
2561
|
+
description: string;
|
|
2562
|
+
name: string;
|
|
2563
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2564
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2565
|
+
maxInputTokens: number;
|
|
2566
|
+
maxOutputTokens: number;
|
|
2567
|
+
config: {
|
|
2568
|
+
def: Record<string, {
|
|
2569
|
+
type: "multi-string";
|
|
2570
|
+
param: string;
|
|
2571
|
+
title: string;
|
|
2572
|
+
description: string;
|
|
2573
|
+
max: number;
|
|
2574
|
+
} | {
|
|
2575
|
+
type: "object-schema";
|
|
2576
|
+
param: string;
|
|
2577
|
+
title: string;
|
|
2578
|
+
description: string;
|
|
2579
|
+
objectSchema?: any;
|
|
2580
|
+
} | {
|
|
2581
|
+
type: "paired-select";
|
|
2582
|
+
param: string;
|
|
2583
|
+
title: string;
|
|
2584
|
+
description: string;
|
|
2585
|
+
fields: [{
|
|
2586
|
+
label: string;
|
|
2587
|
+
key: string;
|
|
2588
|
+
choices: {
|
|
2589
|
+
value: string;
|
|
2590
|
+
label: string;
|
|
2591
|
+
}[];
|
|
2592
|
+
description?: string | undefined;
|
|
2593
|
+
}, {
|
|
2594
|
+
label: string;
|
|
2595
|
+
key: string;
|
|
2596
|
+
choices: {
|
|
2597
|
+
value: string;
|
|
2598
|
+
label: string;
|
|
2599
|
+
}[];
|
|
2600
|
+
description?: string | undefined;
|
|
2601
|
+
}];
|
|
2602
|
+
uniqueByField?: string | undefined;
|
|
2603
|
+
} | {
|
|
2604
|
+
type: "range";
|
|
2605
|
+
param: string;
|
|
2606
|
+
title: string;
|
|
2607
|
+
description: string;
|
|
2608
|
+
max: number;
|
|
2609
|
+
default: number;
|
|
2610
|
+
min: number;
|
|
2611
|
+
step: number;
|
|
2612
|
+
} | {
|
|
2613
|
+
type: "select-boolean";
|
|
2614
|
+
param: string;
|
|
2615
|
+
title: string;
|
|
2616
|
+
description: string;
|
|
2617
|
+
default: boolean | null;
|
|
2618
|
+
} | {
|
|
2619
|
+
type: "select-string";
|
|
2620
|
+
param: string;
|
|
2621
|
+
title: string;
|
|
2622
|
+
description: string;
|
|
2623
|
+
default: string;
|
|
2624
|
+
choices: string[];
|
|
2625
|
+
}>;
|
|
2626
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2627
|
+
};
|
|
2628
|
+
price: {
|
|
2629
|
+
modelName: string;
|
|
2630
|
+
currency: string;
|
|
2631
|
+
tokenRanges: {
|
|
2632
|
+
minTokens: number;
|
|
2633
|
+
prices: {
|
|
2634
|
+
base: {
|
|
2635
|
+
inputPricePerMillion: number;
|
|
2636
|
+
outputPricePerMillion: number;
|
|
2637
|
+
};
|
|
2638
|
+
};
|
|
2639
|
+
maxTokens?: number | null | undefined;
|
|
2640
|
+
}[];
|
|
2641
|
+
};
|
|
2642
|
+
maxReasoningTokens?: number | undefined;
|
|
2643
|
+
};
|
|
2644
|
+
declare const GPT_5_2_ChatLatestOptions: z.ZodObject<{
|
|
2645
|
+
apiKey: z.ZodString;
|
|
2646
|
+
deploymentId: z.ZodString;
|
|
2647
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
2648
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2649
|
+
}, "strip", z.ZodTypeAny, {
|
|
2650
|
+
apiKey: string;
|
|
2651
|
+
deploymentId: string;
|
|
2652
|
+
resourceName?: string | undefined;
|
|
2653
|
+
baseUrl?: string | undefined;
|
|
2654
|
+
}, {
|
|
2655
|
+
apiKey: string;
|
|
2656
|
+
deploymentId: string;
|
|
2657
|
+
resourceName?: string | undefined;
|
|
2658
|
+
baseUrl?: string | undefined;
|
|
2659
|
+
}>;
|
|
2660
|
+
type GPT_5_2_ChatLatestOptionsType = z.infer<typeof GPT_5_2_ChatLatestOptions>;
|
|
2661
|
+
declare class GPT_5_2_ChatLatest extends BaseChatModelOpenAI {
|
|
2662
|
+
constructor(options: GPT_5_2_ChatLatestOptionsType);
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2665
|
+
declare const GPT_5_2_CodexLiteral: "gpt-5.2-codex";
|
|
2666
|
+
declare const GPT_5_2_CodexSchema: {
|
|
2667
|
+
description: string;
|
|
2668
|
+
name: string;
|
|
2669
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2670
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2671
|
+
maxInputTokens: number;
|
|
2672
|
+
maxOutputTokens: number;
|
|
2673
|
+
config: {
|
|
2674
|
+
def: Record<string, {
|
|
2675
|
+
type: "multi-string";
|
|
2676
|
+
param: string;
|
|
2677
|
+
title: string;
|
|
2678
|
+
description: string;
|
|
2679
|
+
max: number;
|
|
2680
|
+
} | {
|
|
2681
|
+
type: "object-schema";
|
|
2682
|
+
param: string;
|
|
2683
|
+
title: string;
|
|
2684
|
+
description: string;
|
|
2685
|
+
objectSchema?: any;
|
|
2686
|
+
} | {
|
|
2687
|
+
type: "paired-select";
|
|
2688
|
+
param: string;
|
|
2689
|
+
title: string;
|
|
2690
|
+
description: string;
|
|
2691
|
+
fields: [{
|
|
2692
|
+
label: string;
|
|
2693
|
+
key: string;
|
|
2694
|
+
choices: {
|
|
2695
|
+
value: string;
|
|
2696
|
+
label: string;
|
|
2697
|
+
}[];
|
|
2698
|
+
description?: string | undefined;
|
|
2699
|
+
}, {
|
|
2700
|
+
label: string;
|
|
2701
|
+
key: string;
|
|
2702
|
+
choices: {
|
|
2703
|
+
value: string;
|
|
2704
|
+
label: string;
|
|
2705
|
+
}[];
|
|
2706
|
+
description?: string | undefined;
|
|
2707
|
+
}];
|
|
2708
|
+
uniqueByField?: string | undefined;
|
|
2709
|
+
} | {
|
|
2710
|
+
type: "range";
|
|
2711
|
+
param: string;
|
|
2712
|
+
title: string;
|
|
2713
|
+
description: string;
|
|
2714
|
+
max: number;
|
|
2715
|
+
default: number;
|
|
2716
|
+
min: number;
|
|
2717
|
+
step: number;
|
|
2718
|
+
} | {
|
|
2719
|
+
type: "select-boolean";
|
|
2720
|
+
param: string;
|
|
2721
|
+
title: string;
|
|
2722
|
+
description: string;
|
|
2723
|
+
default: boolean | null;
|
|
2724
|
+
} | {
|
|
2725
|
+
type: "select-string";
|
|
2726
|
+
param: string;
|
|
2727
|
+
title: string;
|
|
2728
|
+
description: string;
|
|
2729
|
+
default: string;
|
|
2730
|
+
choices: string[];
|
|
2731
|
+
}>;
|
|
2732
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2733
|
+
};
|
|
2734
|
+
price: {
|
|
2735
|
+
modelName: string;
|
|
2736
|
+
currency: string;
|
|
2737
|
+
tokenRanges: {
|
|
2738
|
+
minTokens: number;
|
|
2739
|
+
prices: {
|
|
2740
|
+
base: {
|
|
2741
|
+
inputPricePerMillion: number;
|
|
2742
|
+
outputPricePerMillion: number;
|
|
2743
|
+
};
|
|
2744
|
+
};
|
|
2745
|
+
maxTokens?: number | null | undefined;
|
|
2746
|
+
}[];
|
|
2747
|
+
};
|
|
2748
|
+
maxReasoningTokens?: number | undefined;
|
|
2749
|
+
};
|
|
2750
|
+
declare const GPT_5_2_CodexOptions: z.ZodObject<{
|
|
2751
|
+
apiKey: z.ZodString;
|
|
2752
|
+
deploymentId: z.ZodString;
|
|
2753
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
2754
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2755
|
+
}, "strip", z.ZodTypeAny, {
|
|
2756
|
+
apiKey: string;
|
|
2757
|
+
deploymentId: string;
|
|
2758
|
+
resourceName?: string | undefined;
|
|
2759
|
+
baseUrl?: string | undefined;
|
|
2760
|
+
}, {
|
|
2761
|
+
apiKey: string;
|
|
2762
|
+
deploymentId: string;
|
|
2763
|
+
resourceName?: string | undefined;
|
|
2764
|
+
baseUrl?: string | undefined;
|
|
2765
|
+
}>;
|
|
2766
|
+
type GPT_5_2_CodexOptionsType = z.infer<typeof GPT_5_2_CodexOptions>;
|
|
2767
|
+
declare class GPT_5_2_Codex extends BaseChatModelOpenAI {
|
|
2768
|
+
constructor(options: GPT_5_2_CodexOptionsType);
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
declare const GPT_5_3_CodexLiteral: "gpt-5.3-codex";
|
|
2772
|
+
declare const GPT_5_3_CodexSchema: {
|
|
2773
|
+
description: string;
|
|
2774
|
+
name: string;
|
|
2775
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2776
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2777
|
+
maxInputTokens: number;
|
|
2778
|
+
maxOutputTokens: number;
|
|
2779
|
+
config: {
|
|
2780
|
+
def: Record<string, {
|
|
2781
|
+
type: "multi-string";
|
|
2782
|
+
param: string;
|
|
2783
|
+
title: string;
|
|
2784
|
+
description: string;
|
|
2785
|
+
max: number;
|
|
2786
|
+
} | {
|
|
2787
|
+
type: "object-schema";
|
|
2788
|
+
param: string;
|
|
2789
|
+
title: string;
|
|
2790
|
+
description: string;
|
|
2791
|
+
objectSchema?: any;
|
|
2792
|
+
} | {
|
|
2793
|
+
type: "paired-select";
|
|
2794
|
+
param: string;
|
|
2795
|
+
title: string;
|
|
2796
|
+
description: string;
|
|
2797
|
+
fields: [{
|
|
2798
|
+
label: string;
|
|
2799
|
+
key: string;
|
|
2800
|
+
choices: {
|
|
2801
|
+
value: string;
|
|
2802
|
+
label: string;
|
|
2803
|
+
}[];
|
|
2804
|
+
description?: string | undefined;
|
|
2805
|
+
}, {
|
|
2806
|
+
label: string;
|
|
2807
|
+
key: string;
|
|
2808
|
+
choices: {
|
|
2809
|
+
value: string;
|
|
2810
|
+
label: string;
|
|
2811
|
+
}[];
|
|
2812
|
+
description?: string | undefined;
|
|
2813
|
+
}];
|
|
2814
|
+
uniqueByField?: string | undefined;
|
|
2815
|
+
} | {
|
|
2816
|
+
type: "range";
|
|
2817
|
+
param: string;
|
|
2818
|
+
title: string;
|
|
2819
|
+
description: string;
|
|
2820
|
+
max: number;
|
|
2821
|
+
default: number;
|
|
2822
|
+
min: number;
|
|
2823
|
+
step: number;
|
|
2824
|
+
} | {
|
|
2825
|
+
type: "select-boolean";
|
|
2826
|
+
param: string;
|
|
2827
|
+
title: string;
|
|
2828
|
+
description: string;
|
|
2829
|
+
default: boolean | null;
|
|
2830
|
+
} | {
|
|
2831
|
+
type: "select-string";
|
|
2832
|
+
param: string;
|
|
2833
|
+
title: string;
|
|
2834
|
+
description: string;
|
|
2835
|
+
default: string;
|
|
2836
|
+
choices: string[];
|
|
2837
|
+
}>;
|
|
2838
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2839
|
+
};
|
|
2840
|
+
price: {
|
|
2841
|
+
modelName: string;
|
|
2842
|
+
currency: string;
|
|
2843
|
+
tokenRanges: {
|
|
2844
|
+
minTokens: number;
|
|
2845
|
+
prices: {
|
|
2846
|
+
base: {
|
|
2847
|
+
inputPricePerMillion: number;
|
|
2848
|
+
outputPricePerMillion: number;
|
|
2849
|
+
};
|
|
2850
|
+
};
|
|
2851
|
+
maxTokens?: number | null | undefined;
|
|
2852
|
+
}[];
|
|
2853
|
+
};
|
|
2854
|
+
maxReasoningTokens?: number | undefined;
|
|
2855
|
+
};
|
|
2856
|
+
declare const GPT_5_3_CodexOptions: z.ZodObject<{
|
|
2857
|
+
apiKey: z.ZodString;
|
|
2858
|
+
deploymentId: z.ZodString;
|
|
2859
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
2860
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2861
|
+
}, "strip", z.ZodTypeAny, {
|
|
2862
|
+
apiKey: string;
|
|
2863
|
+
deploymentId: string;
|
|
2864
|
+
resourceName?: string | undefined;
|
|
2865
|
+
baseUrl?: string | undefined;
|
|
2866
|
+
}, {
|
|
2867
|
+
apiKey: string;
|
|
2868
|
+
deploymentId: string;
|
|
2869
|
+
resourceName?: string | undefined;
|
|
2870
|
+
baseUrl?: string | undefined;
|
|
2871
|
+
}>;
|
|
2872
|
+
type GPT_5_3_CodexOptionsType = z.infer<typeof GPT_5_3_CodexOptions>;
|
|
2873
|
+
declare class GPT_5_3_Codex extends BaseChatModelOpenAI {
|
|
2874
|
+
constructor(options: GPT_5_3_CodexOptionsType);
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
declare const GPT_5_ChatLatestLiteral: "gpt-5-chat-latest";
|
|
2878
|
+
declare const GPT_5_ChatLatestSchema: {
|
|
2879
|
+
description: string;
|
|
2880
|
+
name: string;
|
|
2881
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2882
|
+
modalities: ["text" | "image", ...("text" | "image")[]];
|
|
2883
|
+
maxInputTokens: number;
|
|
2884
|
+
maxOutputTokens: number;
|
|
2885
|
+
config: {
|
|
2886
|
+
def: Record<string, {
|
|
2887
|
+
type: "multi-string";
|
|
2888
|
+
param: string;
|
|
2889
|
+
title: string;
|
|
2890
|
+
description: string;
|
|
2891
|
+
max: number;
|
|
2892
|
+
} | {
|
|
2893
|
+
type: "object-schema";
|
|
2894
|
+
param: string;
|
|
2895
|
+
title: string;
|
|
2896
|
+
description: string;
|
|
2897
|
+
objectSchema?: any;
|
|
2898
|
+
} | {
|
|
2899
|
+
type: "paired-select";
|
|
2900
|
+
param: string;
|
|
2901
|
+
title: string;
|
|
2902
|
+
description: string;
|
|
2903
|
+
fields: [{
|
|
2904
|
+
label: string;
|
|
2905
|
+
key: string;
|
|
2906
|
+
choices: {
|
|
2907
|
+
value: string;
|
|
2908
|
+
label: string;
|
|
2909
|
+
}[];
|
|
2910
|
+
description?: string | undefined;
|
|
2911
|
+
}, {
|
|
2912
|
+
label: string;
|
|
2913
|
+
key: string;
|
|
2914
|
+
choices: {
|
|
2915
|
+
value: string;
|
|
2916
|
+
label: string;
|
|
2917
|
+
}[];
|
|
2918
|
+
description?: string | undefined;
|
|
2919
|
+
}];
|
|
2920
|
+
uniqueByField?: string | undefined;
|
|
2921
|
+
} | {
|
|
2922
|
+
type: "range";
|
|
2923
|
+
param: string;
|
|
2924
|
+
title: string;
|
|
2925
|
+
description: string;
|
|
2926
|
+
max: number;
|
|
2927
|
+
default: number;
|
|
2928
|
+
min: number;
|
|
2929
|
+
step: number;
|
|
2930
|
+
} | {
|
|
2931
|
+
type: "select-boolean";
|
|
2932
|
+
param: string;
|
|
2933
|
+
title: string;
|
|
2934
|
+
description: string;
|
|
2935
|
+
default: boolean | null;
|
|
2936
|
+
} | {
|
|
2937
|
+
type: "select-string";
|
|
2938
|
+
param: string;
|
|
2939
|
+
title: string;
|
|
2940
|
+
description: string;
|
|
2941
|
+
default: string;
|
|
2942
|
+
choices: string[];
|
|
2943
|
+
}>;
|
|
2944
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2945
|
+
};
|
|
2946
|
+
price: {
|
|
2947
|
+
modelName: string;
|
|
2948
|
+
currency: string;
|
|
2949
|
+
tokenRanges: {
|
|
2950
|
+
minTokens: number;
|
|
2951
|
+
prices: {
|
|
2952
|
+
base: {
|
|
2953
|
+
inputPricePerMillion: number;
|
|
2954
|
+
outputPricePerMillion: number;
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
maxTokens?: number | null | undefined;
|
|
2958
|
+
}[];
|
|
2959
|
+
};
|
|
2960
|
+
maxReasoningTokens?: number | undefined;
|
|
2961
|
+
};
|
|
2962
|
+
declare const GPT_5_ChatLatestOptions: z.ZodObject<{
|
|
2963
|
+
apiKey: z.ZodString;
|
|
2964
|
+
deploymentId: z.ZodString;
|
|
2965
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
2966
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2967
|
+
}, "strip", z.ZodTypeAny, {
|
|
2968
|
+
apiKey: string;
|
|
2969
|
+
deploymentId: string;
|
|
2970
|
+
resourceName?: string | undefined;
|
|
2971
|
+
baseUrl?: string | undefined;
|
|
2972
|
+
}, {
|
|
2973
|
+
apiKey: string;
|
|
2974
|
+
deploymentId: string;
|
|
2975
|
+
resourceName?: string | undefined;
|
|
2976
|
+
baseUrl?: string | undefined;
|
|
2977
|
+
}>;
|
|
2978
|
+
type GPT_5_ChatLatestOptionsType = z.infer<typeof GPT_5_ChatLatestOptions>;
|
|
2979
|
+
declare class GPT_5_ChatLatest extends BaseChatModelOpenAI {
|
|
2980
|
+
constructor(options: GPT_5_ChatLatestOptionsType);
|
|
2981
|
+
}
|
|
2982
|
+
|
|
2983
|
+
declare const GPT_5_MiniLiteral: "gpt-5-mini";
|
|
2984
|
+
declare const GPT_5_MiniSchema: {
|
|
2985
|
+
description: string;
|
|
2986
|
+
name: string;
|
|
2987
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2988
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2989
|
+
maxInputTokens: number;
|
|
2990
|
+
maxOutputTokens: number;
|
|
2991
|
+
config: {
|
|
2992
|
+
def: Record<string, {
|
|
2993
|
+
type: "multi-string";
|
|
2994
|
+
param: string;
|
|
2995
|
+
title: string;
|
|
2996
|
+
description: string;
|
|
2997
|
+
max: number;
|
|
2998
|
+
} | {
|
|
2999
|
+
type: "object-schema";
|
|
3000
|
+
param: string;
|
|
3001
|
+
title: string;
|
|
3002
|
+
description: string;
|
|
3003
|
+
objectSchema?: any;
|
|
3004
|
+
} | {
|
|
3005
|
+
type: "paired-select";
|
|
3006
|
+
param: string;
|
|
3007
|
+
title: string;
|
|
3008
|
+
description: string;
|
|
3009
|
+
fields: [{
|
|
3010
|
+
label: string;
|
|
3011
|
+
key: string;
|
|
3012
|
+
choices: {
|
|
3013
|
+
value: string;
|
|
3014
|
+
label: string;
|
|
3015
|
+
}[];
|
|
3016
|
+
description?: string | undefined;
|
|
3017
|
+
}, {
|
|
3018
|
+
label: string;
|
|
3019
|
+
key: string;
|
|
3020
|
+
choices: {
|
|
3021
|
+
value: string;
|
|
3022
|
+
label: string;
|
|
3023
|
+
}[];
|
|
3024
|
+
description?: string | undefined;
|
|
3025
|
+
}];
|
|
3026
|
+
uniqueByField?: string | undefined;
|
|
3027
|
+
} | {
|
|
3028
|
+
type: "range";
|
|
3029
|
+
param: string;
|
|
3030
|
+
title: string;
|
|
3031
|
+
description: string;
|
|
3032
|
+
max: number;
|
|
3033
|
+
default: number;
|
|
3034
|
+
min: number;
|
|
3035
|
+
step: number;
|
|
3036
|
+
} | {
|
|
3037
|
+
type: "select-boolean";
|
|
3038
|
+
param: string;
|
|
3039
|
+
title: string;
|
|
3040
|
+
description: string;
|
|
3041
|
+
default: boolean | null;
|
|
3042
|
+
} | {
|
|
3043
|
+
type: "select-string";
|
|
3044
|
+
param: string;
|
|
3045
|
+
title: string;
|
|
3046
|
+
description: string;
|
|
3047
|
+
default: string;
|
|
3048
|
+
choices: string[];
|
|
3049
|
+
}>;
|
|
3050
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3051
|
+
};
|
|
3052
|
+
price: {
|
|
3053
|
+
modelName: string;
|
|
3054
|
+
currency: string;
|
|
3055
|
+
tokenRanges: {
|
|
3056
|
+
minTokens: number;
|
|
3057
|
+
prices: {
|
|
3058
|
+
base: {
|
|
3059
|
+
inputPricePerMillion: number;
|
|
3060
|
+
outputPricePerMillion: number;
|
|
3061
|
+
};
|
|
3062
|
+
};
|
|
3063
|
+
maxTokens?: number | null | undefined;
|
|
3064
|
+
}[];
|
|
3065
|
+
};
|
|
3066
|
+
maxReasoningTokens?: number | undefined;
|
|
3067
|
+
};
|
|
3068
|
+
declare const GPT_5_MiniOptions: z.ZodObject<{
|
|
3069
|
+
apiKey: z.ZodString;
|
|
3070
|
+
deploymentId: z.ZodString;
|
|
3071
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
3072
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3073
|
+
}, "strip", z.ZodTypeAny, {
|
|
3074
|
+
apiKey: string;
|
|
3075
|
+
deploymentId: string;
|
|
3076
|
+
resourceName?: string | undefined;
|
|
3077
|
+
baseUrl?: string | undefined;
|
|
3078
|
+
}, {
|
|
3079
|
+
apiKey: string;
|
|
3080
|
+
deploymentId: string;
|
|
3081
|
+
resourceName?: string | undefined;
|
|
3082
|
+
baseUrl?: string | undefined;
|
|
3083
|
+
}>;
|
|
3084
|
+
type GPT_5_MiniOptionsType = z.infer<typeof GPT_5_MiniOptions>;
|
|
3085
|
+
declare class GPT_5_Mini extends BaseChatModelOpenAI {
|
|
3086
|
+
constructor(options: GPT_5_MiniOptionsType);
|
|
3087
|
+
}
|
|
3088
|
+
|
|
3089
|
+
declare const GPT_5_NanoLiteral: "gpt-5-nano";
|
|
3090
|
+
declare const GPT_5_NanoSchema: {
|
|
3091
|
+
description: string;
|
|
3092
|
+
name: string;
|
|
3093
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3094
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
3095
|
+
maxInputTokens: number;
|
|
3096
|
+
maxOutputTokens: number;
|
|
3097
|
+
config: {
|
|
3098
|
+
def: Record<string, {
|
|
3099
|
+
type: "multi-string";
|
|
3100
|
+
param: string;
|
|
3101
|
+
title: string;
|
|
3102
|
+
description: string;
|
|
3103
|
+
max: number;
|
|
3104
|
+
} | {
|
|
3105
|
+
type: "object-schema";
|
|
3106
|
+
param: string;
|
|
3107
|
+
title: string;
|
|
3108
|
+
description: string;
|
|
3109
|
+
objectSchema?: any;
|
|
3110
|
+
} | {
|
|
3111
|
+
type: "paired-select";
|
|
3112
|
+
param: string;
|
|
3113
|
+
title: string;
|
|
3114
|
+
description: string;
|
|
3115
|
+
fields: [{
|
|
3116
|
+
label: string;
|
|
3117
|
+
key: string;
|
|
3118
|
+
choices: {
|
|
3119
|
+
value: string;
|
|
3120
|
+
label: string;
|
|
3121
|
+
}[];
|
|
3122
|
+
description?: string | undefined;
|
|
3123
|
+
}, {
|
|
3124
|
+
label: string;
|
|
3125
|
+
key: string;
|
|
3126
|
+
choices: {
|
|
3127
|
+
value: string;
|
|
3128
|
+
label: string;
|
|
3129
|
+
}[];
|
|
3130
|
+
description?: string | undefined;
|
|
3131
|
+
}];
|
|
3132
|
+
uniqueByField?: string | undefined;
|
|
3133
|
+
} | {
|
|
3134
|
+
type: "range";
|
|
3135
|
+
param: string;
|
|
3136
|
+
title: string;
|
|
3137
|
+
description: string;
|
|
3138
|
+
max: number;
|
|
3139
|
+
default: number;
|
|
3140
|
+
min: number;
|
|
3141
|
+
step: number;
|
|
3142
|
+
} | {
|
|
3143
|
+
type: "select-boolean";
|
|
3144
|
+
param: string;
|
|
3145
|
+
title: string;
|
|
3146
|
+
description: string;
|
|
3147
|
+
default: boolean | null;
|
|
3148
|
+
} | {
|
|
3149
|
+
type: "select-string";
|
|
3150
|
+
param: string;
|
|
3151
|
+
title: string;
|
|
3152
|
+
description: string;
|
|
3153
|
+
default: string;
|
|
3154
|
+
choices: string[];
|
|
3155
|
+
}>;
|
|
3156
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3157
|
+
};
|
|
3158
|
+
price: {
|
|
3159
|
+
modelName: string;
|
|
3160
|
+
currency: string;
|
|
3161
|
+
tokenRanges: {
|
|
3162
|
+
minTokens: number;
|
|
3163
|
+
prices: {
|
|
3164
|
+
base: {
|
|
3165
|
+
inputPricePerMillion: number;
|
|
3166
|
+
outputPricePerMillion: number;
|
|
3167
|
+
};
|
|
3168
|
+
};
|
|
3169
|
+
maxTokens?: number | null | undefined;
|
|
3170
|
+
}[];
|
|
3171
|
+
};
|
|
3172
|
+
maxReasoningTokens?: number | undefined;
|
|
3173
|
+
};
|
|
3174
|
+
declare const GPT_5_NanoOptions: z.ZodObject<{
|
|
3175
|
+
apiKey: z.ZodString;
|
|
3176
|
+
deploymentId: z.ZodString;
|
|
3177
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
3178
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3179
|
+
}, "strip", z.ZodTypeAny, {
|
|
3180
|
+
apiKey: string;
|
|
3181
|
+
deploymentId: string;
|
|
3182
|
+
resourceName?: string | undefined;
|
|
3183
|
+
baseUrl?: string | undefined;
|
|
3184
|
+
}, {
|
|
3185
|
+
apiKey: string;
|
|
3186
|
+
deploymentId: string;
|
|
3187
|
+
resourceName?: string | undefined;
|
|
3188
|
+
baseUrl?: string | undefined;
|
|
3189
|
+
}>;
|
|
3190
|
+
type GPT_5_NanoOptionsType = z.infer<typeof GPT_5_NanoOptions>;
|
|
3191
|
+
declare class GPT_5_Nano extends BaseChatModelOpenAI {
|
|
3192
|
+
constructor(options: GPT_5_NanoOptionsType);
|
|
3193
|
+
}
|
|
3194
|
+
|
|
3195
|
+
declare const O1Literal: "o1";
|
|
3196
|
+
declare const O1Schema: {
|
|
3197
|
+
description: string;
|
|
3198
|
+
name: string;
|
|
3199
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3200
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
3201
|
+
maxInputTokens: number;
|
|
3202
|
+
maxOutputTokens: number;
|
|
3203
|
+
config: {
|
|
3204
|
+
def: Record<string, {
|
|
3205
|
+
type: "multi-string";
|
|
3206
|
+
param: string;
|
|
3207
|
+
title: string;
|
|
3208
|
+
description: string;
|
|
3209
|
+
max: number;
|
|
3210
|
+
} | {
|
|
3211
|
+
type: "object-schema";
|
|
3212
|
+
param: string;
|
|
3213
|
+
title: string;
|
|
3214
|
+
description: string;
|
|
3215
|
+
objectSchema?: any;
|
|
3216
|
+
} | {
|
|
3217
|
+
type: "paired-select";
|
|
3218
|
+
param: string;
|
|
3219
|
+
title: string;
|
|
3220
|
+
description: string;
|
|
3221
|
+
fields: [{
|
|
3222
|
+
label: string;
|
|
3223
|
+
key: string;
|
|
3224
|
+
choices: {
|
|
3225
|
+
value: string;
|
|
3226
|
+
label: string;
|
|
3227
|
+
}[];
|
|
3228
|
+
description?: string | undefined;
|
|
3229
|
+
}, {
|
|
3230
|
+
label: string;
|
|
3231
|
+
key: string;
|
|
3232
|
+
choices: {
|
|
3233
|
+
value: string;
|
|
3234
|
+
label: string;
|
|
3235
|
+
}[];
|
|
3236
|
+
description?: string | undefined;
|
|
3237
|
+
}];
|
|
3238
|
+
uniqueByField?: string | undefined;
|
|
3239
|
+
} | {
|
|
3240
|
+
type: "range";
|
|
3241
|
+
param: string;
|
|
3242
|
+
title: string;
|
|
3243
|
+
description: string;
|
|
3244
|
+
max: number;
|
|
3245
|
+
default: number;
|
|
3246
|
+
min: number;
|
|
3247
|
+
step: number;
|
|
3248
|
+
} | {
|
|
3249
|
+
type: "select-boolean";
|
|
3250
|
+
param: string;
|
|
3251
|
+
title: string;
|
|
3252
|
+
description: string;
|
|
3253
|
+
default: boolean | null;
|
|
3254
|
+
} | {
|
|
3255
|
+
type: "select-string";
|
|
3256
|
+
param: string;
|
|
3257
|
+
title: string;
|
|
3258
|
+
description: string;
|
|
3259
|
+
default: string;
|
|
3260
|
+
choices: string[];
|
|
3261
|
+
}>;
|
|
3262
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3263
|
+
};
|
|
3264
|
+
price: {
|
|
3265
|
+
modelName: string;
|
|
3266
|
+
currency: string;
|
|
3267
|
+
tokenRanges: {
|
|
3268
|
+
minTokens: number;
|
|
3269
|
+
prices: {
|
|
3270
|
+
base: {
|
|
3271
|
+
inputPricePerMillion: number;
|
|
3272
|
+
outputPricePerMillion: number;
|
|
3273
|
+
};
|
|
3274
|
+
};
|
|
3275
|
+
maxTokens?: number | null | undefined;
|
|
3276
|
+
}[];
|
|
3277
|
+
};
|
|
3278
|
+
maxReasoningTokens?: number | undefined;
|
|
3279
|
+
};
|
|
3280
|
+
declare const O1Options: z.ZodObject<{
|
|
3281
|
+
apiKey: z.ZodString;
|
|
3282
|
+
deploymentId: z.ZodString;
|
|
3283
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
3284
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3285
|
+
}, "strip", z.ZodTypeAny, {
|
|
3286
|
+
apiKey: string;
|
|
3287
|
+
deploymentId: string;
|
|
3288
|
+
resourceName?: string | undefined;
|
|
3289
|
+
baseUrl?: string | undefined;
|
|
3290
|
+
}, {
|
|
3291
|
+
apiKey: string;
|
|
3292
|
+
deploymentId: string;
|
|
3293
|
+
resourceName?: string | undefined;
|
|
3294
|
+
baseUrl?: string | undefined;
|
|
3295
|
+
}>;
|
|
3296
|
+
type O1OptionsType = z.infer<typeof O1Options>;
|
|
3297
|
+
declare class O1 extends BaseChatModelOpenAI {
|
|
3298
|
+
constructor(options: O1OptionsType);
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
declare const O1_2024_12_17Literal: "o1-2024-12-17";
|
|
3302
|
+
declare const O1_2024_12_17Schema: {
|
|
3303
|
+
description: string;
|
|
3304
|
+
name: string;
|
|
3305
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3306
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
3307
|
+
maxInputTokens: number;
|
|
3308
|
+
maxOutputTokens: number;
|
|
3309
|
+
config: {
|
|
3310
|
+
def: Record<string, {
|
|
3311
|
+
type: "multi-string";
|
|
3312
|
+
param: string;
|
|
3313
|
+
title: string;
|
|
3314
|
+
description: string;
|
|
3315
|
+
max: number;
|
|
3316
|
+
} | {
|
|
3317
|
+
type: "object-schema";
|
|
3318
|
+
param: string;
|
|
3319
|
+
title: string;
|
|
3320
|
+
description: string;
|
|
3321
|
+
objectSchema?: any;
|
|
3322
|
+
} | {
|
|
3323
|
+
type: "paired-select";
|
|
3324
|
+
param: string;
|
|
3325
|
+
title: string;
|
|
3326
|
+
description: string;
|
|
3327
|
+
fields: [{
|
|
3328
|
+
label: string;
|
|
3329
|
+
key: string;
|
|
3330
|
+
choices: {
|
|
3331
|
+
value: string;
|
|
3332
|
+
label: string;
|
|
3333
|
+
}[];
|
|
3334
|
+
description?: string | undefined;
|
|
3335
|
+
}, {
|
|
3336
|
+
label: string;
|
|
3337
|
+
key: string;
|
|
3338
|
+
choices: {
|
|
3339
|
+
value: string;
|
|
3340
|
+
label: string;
|
|
3341
|
+
}[];
|
|
3342
|
+
description?: string | undefined;
|
|
3343
|
+
}];
|
|
3344
|
+
uniqueByField?: string | undefined;
|
|
3345
|
+
} | {
|
|
3346
|
+
type: "range";
|
|
3347
|
+
param: string;
|
|
3348
|
+
title: string;
|
|
3349
|
+
description: string;
|
|
3350
|
+
max: number;
|
|
3351
|
+
default: number;
|
|
3352
|
+
min: number;
|
|
3353
|
+
step: number;
|
|
3354
|
+
} | {
|
|
3355
|
+
type: "select-boolean";
|
|
3356
|
+
param: string;
|
|
3357
|
+
title: string;
|
|
3358
|
+
description: string;
|
|
3359
|
+
default: boolean | null;
|
|
3360
|
+
} | {
|
|
3361
|
+
type: "select-string";
|
|
3362
|
+
param: string;
|
|
3363
|
+
title: string;
|
|
3364
|
+
description: string;
|
|
3365
|
+
default: string;
|
|
3366
|
+
choices: string[];
|
|
3367
|
+
}>;
|
|
3368
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3369
|
+
};
|
|
3370
|
+
price: {
|
|
3371
|
+
modelName: string;
|
|
3372
|
+
currency: string;
|
|
3373
|
+
tokenRanges: {
|
|
3374
|
+
minTokens: number;
|
|
3375
|
+
prices: {
|
|
3376
|
+
base: {
|
|
3377
|
+
inputPricePerMillion: number;
|
|
3378
|
+
outputPricePerMillion: number;
|
|
3379
|
+
};
|
|
3380
|
+
};
|
|
3381
|
+
maxTokens?: number | null | undefined;
|
|
3382
|
+
}[];
|
|
3383
|
+
};
|
|
3384
|
+
maxReasoningTokens?: number | undefined;
|
|
3385
|
+
};
|
|
3386
|
+
declare const O1_2024_12_17Options: z.ZodObject<{
|
|
3387
|
+
apiKey: z.ZodString;
|
|
3388
|
+
deploymentId: z.ZodString;
|
|
3389
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
3390
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3391
|
+
}, "strip", z.ZodTypeAny, {
|
|
3392
|
+
apiKey: string;
|
|
3393
|
+
deploymentId: string;
|
|
3394
|
+
resourceName?: string | undefined;
|
|
3395
|
+
baseUrl?: string | undefined;
|
|
3396
|
+
}, {
|
|
3397
|
+
apiKey: string;
|
|
3398
|
+
deploymentId: string;
|
|
3399
|
+
resourceName?: string | undefined;
|
|
3400
|
+
baseUrl?: string | undefined;
|
|
3401
|
+
}>;
|
|
3402
|
+
type O1_2024_12_17OptionsType = z.infer<typeof O1_2024_12_17Options>;
|
|
3403
|
+
declare class O1_2024_12_17 extends BaseChatModelOpenAI {
|
|
3404
|
+
constructor(options: O1_2024_12_17OptionsType);
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
declare const O3Literal: "o3";
|
|
3408
|
+
declare const O3Schema: {
|
|
3409
|
+
description: string;
|
|
3410
|
+
name: string;
|
|
3411
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3412
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
3413
|
+
maxInputTokens: number;
|
|
3414
|
+
maxOutputTokens: number;
|
|
3415
|
+
config: {
|
|
3416
|
+
def: Record<string, {
|
|
3417
|
+
type: "multi-string";
|
|
3418
|
+
param: string;
|
|
3419
|
+
title: string;
|
|
3420
|
+
description: string;
|
|
3421
|
+
max: number;
|
|
3422
|
+
} | {
|
|
3423
|
+
type: "object-schema";
|
|
3424
|
+
param: string;
|
|
3425
|
+
title: string;
|
|
3426
|
+
description: string;
|
|
3427
|
+
objectSchema?: any;
|
|
3428
|
+
} | {
|
|
3429
|
+
type: "paired-select";
|
|
3430
|
+
param: string;
|
|
3431
|
+
title: string;
|
|
3432
|
+
description: string;
|
|
3433
|
+
fields: [{
|
|
3434
|
+
label: string;
|
|
3435
|
+
key: string;
|
|
3436
|
+
choices: {
|
|
3437
|
+
value: string;
|
|
3438
|
+
label: string;
|
|
3439
|
+
}[];
|
|
3440
|
+
description?: string | undefined;
|
|
3441
|
+
}, {
|
|
3442
|
+
label: string;
|
|
3443
|
+
key: string;
|
|
3444
|
+
choices: {
|
|
3445
|
+
value: string;
|
|
3446
|
+
label: string;
|
|
3447
|
+
}[];
|
|
3448
|
+
description?: string | undefined;
|
|
3449
|
+
}];
|
|
3450
|
+
uniqueByField?: string | undefined;
|
|
3451
|
+
} | {
|
|
3452
|
+
type: "range";
|
|
3453
|
+
param: string;
|
|
3454
|
+
title: string;
|
|
3455
|
+
description: string;
|
|
3456
|
+
max: number;
|
|
3457
|
+
default: number;
|
|
3458
|
+
min: number;
|
|
3459
|
+
step: number;
|
|
3460
|
+
} | {
|
|
3461
|
+
type: "select-boolean";
|
|
3462
|
+
param: string;
|
|
3463
|
+
title: string;
|
|
3464
|
+
description: string;
|
|
3465
|
+
default: boolean | null;
|
|
3466
|
+
} | {
|
|
3467
|
+
type: "select-string";
|
|
3468
|
+
param: string;
|
|
3469
|
+
title: string;
|
|
3470
|
+
description: string;
|
|
3471
|
+
default: string;
|
|
3472
|
+
choices: string[];
|
|
3473
|
+
}>;
|
|
3474
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3475
|
+
};
|
|
3476
|
+
price: {
|
|
3477
|
+
modelName: string;
|
|
3478
|
+
currency: string;
|
|
3479
|
+
tokenRanges: {
|
|
3480
|
+
minTokens: number;
|
|
3481
|
+
prices: {
|
|
3482
|
+
base: {
|
|
3483
|
+
inputPricePerMillion: number;
|
|
3484
|
+
outputPricePerMillion: number;
|
|
3485
|
+
};
|
|
3486
|
+
};
|
|
3487
|
+
maxTokens?: number | null | undefined;
|
|
3488
|
+
}[];
|
|
3489
|
+
};
|
|
3490
|
+
maxReasoningTokens?: number | undefined;
|
|
3491
|
+
};
|
|
3492
|
+
declare const O3Options: z.ZodObject<{
|
|
3493
|
+
apiKey: z.ZodString;
|
|
3494
|
+
deploymentId: z.ZodString;
|
|
3495
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
3496
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3497
|
+
}, "strip", z.ZodTypeAny, {
|
|
3498
|
+
apiKey: string;
|
|
3499
|
+
deploymentId: string;
|
|
3500
|
+
resourceName?: string | undefined;
|
|
3501
|
+
baseUrl?: string | undefined;
|
|
3502
|
+
}, {
|
|
3503
|
+
apiKey: string;
|
|
3504
|
+
deploymentId: string;
|
|
3505
|
+
resourceName?: string | undefined;
|
|
3506
|
+
baseUrl?: string | undefined;
|
|
3507
|
+
}>;
|
|
3508
|
+
type O3OptionsType = z.infer<typeof O3Options>;
|
|
3509
|
+
declare class O3 extends BaseChatModelOpenAI {
|
|
3510
|
+
constructor(options: O3OptionsType);
|
|
3511
|
+
}
|
|
3512
|
+
|
|
3513
|
+
declare const O3_2025_04_16Literal: "o3-2025-04-16";
|
|
3514
|
+
declare const O3_2025_04_16Schema: {
|
|
3515
|
+
description: string;
|
|
3516
|
+
name: string;
|
|
3517
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3518
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
3519
|
+
maxInputTokens: number;
|
|
3520
|
+
maxOutputTokens: number;
|
|
3521
|
+
config: {
|
|
3522
|
+
def: Record<string, {
|
|
3523
|
+
type: "multi-string";
|
|
3524
|
+
param: string;
|
|
3525
|
+
title: string;
|
|
3526
|
+
description: string;
|
|
3527
|
+
max: number;
|
|
3528
|
+
} | {
|
|
3529
|
+
type: "object-schema";
|
|
3530
|
+
param: string;
|
|
3531
|
+
title: string;
|
|
3532
|
+
description: string;
|
|
3533
|
+
objectSchema?: any;
|
|
3534
|
+
} | {
|
|
3535
|
+
type: "paired-select";
|
|
3536
|
+
param: string;
|
|
3537
|
+
title: string;
|
|
3538
|
+
description: string;
|
|
3539
|
+
fields: [{
|
|
3540
|
+
label: string;
|
|
3541
|
+
key: string;
|
|
3542
|
+
choices: {
|
|
3543
|
+
value: string;
|
|
3544
|
+
label: string;
|
|
3545
|
+
}[];
|
|
3546
|
+
description?: string | undefined;
|
|
3547
|
+
}, {
|
|
3548
|
+
label: string;
|
|
3549
|
+
key: string;
|
|
3550
|
+
choices: {
|
|
3551
|
+
value: string;
|
|
3552
|
+
label: string;
|
|
3553
|
+
}[];
|
|
3554
|
+
description?: string | undefined;
|
|
3555
|
+
}];
|
|
3556
|
+
uniqueByField?: string | undefined;
|
|
3557
|
+
} | {
|
|
3558
|
+
type: "range";
|
|
3559
|
+
param: string;
|
|
3560
|
+
title: string;
|
|
3561
|
+
description: string;
|
|
3562
|
+
max: number;
|
|
3563
|
+
default: number;
|
|
3564
|
+
min: number;
|
|
3565
|
+
step: number;
|
|
3566
|
+
} | {
|
|
3567
|
+
type: "select-boolean";
|
|
3568
|
+
param: string;
|
|
3569
|
+
title: string;
|
|
3570
|
+
description: string;
|
|
3571
|
+
default: boolean | null;
|
|
3572
|
+
} | {
|
|
3573
|
+
type: "select-string";
|
|
3574
|
+
param: string;
|
|
3575
|
+
title: string;
|
|
3576
|
+
description: string;
|
|
3577
|
+
default: string;
|
|
3578
|
+
choices: string[];
|
|
3579
|
+
}>;
|
|
3580
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3581
|
+
};
|
|
3582
|
+
price: {
|
|
3583
|
+
modelName: string;
|
|
3584
|
+
currency: string;
|
|
3585
|
+
tokenRanges: {
|
|
3586
|
+
minTokens: number;
|
|
3587
|
+
prices: {
|
|
3588
|
+
base: {
|
|
3589
|
+
inputPricePerMillion: number;
|
|
3590
|
+
outputPricePerMillion: number;
|
|
3591
|
+
};
|
|
3592
|
+
};
|
|
3593
|
+
maxTokens?: number | null | undefined;
|
|
3594
|
+
}[];
|
|
3595
|
+
};
|
|
3596
|
+
maxReasoningTokens?: number | undefined;
|
|
3597
|
+
};
|
|
3598
|
+
declare const O3_2025_04_16Options: z.ZodObject<{
|
|
3599
|
+
apiKey: z.ZodString;
|
|
3600
|
+
deploymentId: z.ZodString;
|
|
3601
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
3602
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3603
|
+
}, "strip", z.ZodTypeAny, {
|
|
3604
|
+
apiKey: string;
|
|
3605
|
+
deploymentId: string;
|
|
3606
|
+
resourceName?: string | undefined;
|
|
3607
|
+
baseUrl?: string | undefined;
|
|
3608
|
+
}, {
|
|
3609
|
+
apiKey: string;
|
|
3610
|
+
deploymentId: string;
|
|
3611
|
+
resourceName?: string | undefined;
|
|
3612
|
+
baseUrl?: string | undefined;
|
|
3613
|
+
}>;
|
|
3614
|
+
type O3_2025_04_16OptionsType = z.infer<typeof O3_2025_04_16Options>;
|
|
3615
|
+
declare class O3_2025_04_16 extends BaseChatModelOpenAI {
|
|
3616
|
+
constructor(options: O3_2025_04_16OptionsType);
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3619
|
+
declare const O3MiniLiteral: "o3-mini";
|
|
3620
|
+
declare const O3MiniSchema: {
|
|
3621
|
+
description: string;
|
|
3622
|
+
name: string;
|
|
3623
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3624
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
3625
|
+
maxInputTokens: number;
|
|
3626
|
+
maxOutputTokens: number;
|
|
3627
|
+
config: {
|
|
3628
|
+
def: Record<string, {
|
|
3629
|
+
type: "multi-string";
|
|
3630
|
+
param: string;
|
|
3631
|
+
title: string;
|
|
3632
|
+
description: string;
|
|
3633
|
+
max: number;
|
|
3634
|
+
} | {
|
|
3635
|
+
type: "object-schema";
|
|
3636
|
+
param: string;
|
|
3637
|
+
title: string;
|
|
3638
|
+
description: string;
|
|
3639
|
+
objectSchema?: any;
|
|
3640
|
+
} | {
|
|
3641
|
+
type: "paired-select";
|
|
3642
|
+
param: string;
|
|
3643
|
+
title: string;
|
|
3644
|
+
description: string;
|
|
3645
|
+
fields: [{
|
|
3646
|
+
label: string;
|
|
3647
|
+
key: string;
|
|
3648
|
+
choices: {
|
|
3649
|
+
value: string;
|
|
3650
|
+
label: string;
|
|
3651
|
+
}[];
|
|
3652
|
+
description?: string | undefined;
|
|
3653
|
+
}, {
|
|
3654
|
+
label: string;
|
|
3655
|
+
key: string;
|
|
3656
|
+
choices: {
|
|
3657
|
+
value: string;
|
|
3658
|
+
label: string;
|
|
3659
|
+
}[];
|
|
3660
|
+
description?: string | undefined;
|
|
3661
|
+
}];
|
|
3662
|
+
uniqueByField?: string | undefined;
|
|
3663
|
+
} | {
|
|
3664
|
+
type: "range";
|
|
3665
|
+
param: string;
|
|
3666
|
+
title: string;
|
|
3667
|
+
description: string;
|
|
3668
|
+
max: number;
|
|
3669
|
+
default: number;
|
|
3670
|
+
min: number;
|
|
3671
|
+
step: number;
|
|
3672
|
+
} | {
|
|
3673
|
+
type: "select-boolean";
|
|
3674
|
+
param: string;
|
|
3675
|
+
title: string;
|
|
3676
|
+
description: string;
|
|
3677
|
+
default: boolean | null;
|
|
3678
|
+
} | {
|
|
3679
|
+
type: "select-string";
|
|
3680
|
+
param: string;
|
|
3681
|
+
title: string;
|
|
3682
|
+
description: string;
|
|
3683
|
+
default: string;
|
|
3684
|
+
choices: string[];
|
|
3685
|
+
}>;
|
|
3686
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3687
|
+
};
|
|
3688
|
+
price: {
|
|
3689
|
+
modelName: string;
|
|
3690
|
+
currency: string;
|
|
3691
|
+
tokenRanges: {
|
|
3692
|
+
minTokens: number;
|
|
3693
|
+
prices: {
|
|
3694
|
+
base: {
|
|
3695
|
+
inputPricePerMillion: number;
|
|
3696
|
+
outputPricePerMillion: number;
|
|
3697
|
+
};
|
|
3698
|
+
};
|
|
3699
|
+
maxTokens?: number | null | undefined;
|
|
3700
|
+
}[];
|
|
3701
|
+
};
|
|
3702
|
+
maxReasoningTokens?: number | undefined;
|
|
3703
|
+
};
|
|
3704
|
+
declare const O3MiniOptions: z.ZodObject<{
|
|
3705
|
+
apiKey: z.ZodString;
|
|
3706
|
+
deploymentId: z.ZodString;
|
|
3707
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
3708
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3709
|
+
}, "strip", z.ZodTypeAny, {
|
|
3710
|
+
apiKey: string;
|
|
3711
|
+
deploymentId: string;
|
|
3712
|
+
resourceName?: string | undefined;
|
|
3713
|
+
baseUrl?: string | undefined;
|
|
3714
|
+
}, {
|
|
3715
|
+
apiKey: string;
|
|
3716
|
+
deploymentId: string;
|
|
3717
|
+
resourceName?: string | undefined;
|
|
3718
|
+
baseUrl?: string | undefined;
|
|
3719
|
+
}>;
|
|
3720
|
+
type O3MiniOptionsType = z.infer<typeof O3MiniOptions>;
|
|
3721
|
+
declare class O3Mini extends BaseChatModelOpenAI {
|
|
3722
|
+
constructor(options: O3MiniOptionsType);
|
|
3723
|
+
}
|
|
3724
|
+
|
|
3725
|
+
declare const O3Mini2025_01_31Literal: "o3-mini-2025-01-31";
|
|
3726
|
+
declare const O3Mini2025_01_31Schema: {
|
|
3727
|
+
description: string;
|
|
3728
|
+
name: string;
|
|
3729
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3730
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
3731
|
+
maxInputTokens: number;
|
|
3732
|
+
maxOutputTokens: number;
|
|
3733
|
+
config: {
|
|
3734
|
+
def: Record<string, {
|
|
3735
|
+
type: "multi-string";
|
|
3736
|
+
param: string;
|
|
3737
|
+
title: string;
|
|
3738
|
+
description: string;
|
|
3739
|
+
max: number;
|
|
3740
|
+
} | {
|
|
3741
|
+
type: "object-schema";
|
|
3742
|
+
param: string;
|
|
3743
|
+
title: string;
|
|
3744
|
+
description: string;
|
|
3745
|
+
objectSchema?: any;
|
|
3746
|
+
} | {
|
|
3747
|
+
type: "paired-select";
|
|
3748
|
+
param: string;
|
|
3749
|
+
title: string;
|
|
3750
|
+
description: string;
|
|
3751
|
+
fields: [{
|
|
3752
|
+
label: string;
|
|
3753
|
+
key: string;
|
|
3754
|
+
choices: {
|
|
3755
|
+
value: string;
|
|
3756
|
+
label: string;
|
|
3757
|
+
}[];
|
|
3758
|
+
description?: string | undefined;
|
|
3759
|
+
}, {
|
|
3760
|
+
label: string;
|
|
3761
|
+
key: string;
|
|
3762
|
+
choices: {
|
|
3763
|
+
value: string;
|
|
3764
|
+
label: string;
|
|
3765
|
+
}[];
|
|
3766
|
+
description?: string | undefined;
|
|
3767
|
+
}];
|
|
3768
|
+
uniqueByField?: string | undefined;
|
|
3769
|
+
} | {
|
|
3770
|
+
type: "range";
|
|
3771
|
+
param: string;
|
|
3772
|
+
title: string;
|
|
3773
|
+
description: string;
|
|
3774
|
+
max: number;
|
|
3775
|
+
default: number;
|
|
3776
|
+
min: number;
|
|
3777
|
+
step: number;
|
|
3778
|
+
} | {
|
|
3779
|
+
type: "select-boolean";
|
|
3780
|
+
param: string;
|
|
3781
|
+
title: string;
|
|
3782
|
+
description: string;
|
|
3783
|
+
default: boolean | null;
|
|
3784
|
+
} | {
|
|
3785
|
+
type: "select-string";
|
|
3786
|
+
param: string;
|
|
3787
|
+
title: string;
|
|
3788
|
+
description: string;
|
|
3789
|
+
default: string;
|
|
3790
|
+
choices: string[];
|
|
3791
|
+
}>;
|
|
3792
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3793
|
+
};
|
|
3794
|
+
price: {
|
|
3795
|
+
modelName: string;
|
|
3796
|
+
currency: string;
|
|
3797
|
+
tokenRanges: {
|
|
3798
|
+
minTokens: number;
|
|
3799
|
+
prices: {
|
|
3800
|
+
base: {
|
|
3801
|
+
inputPricePerMillion: number;
|
|
3802
|
+
outputPricePerMillion: number;
|
|
3803
|
+
};
|
|
3804
|
+
};
|
|
3805
|
+
maxTokens?: number | null | undefined;
|
|
3806
|
+
}[];
|
|
3807
|
+
};
|
|
3808
|
+
maxReasoningTokens?: number | undefined;
|
|
3809
|
+
};
|
|
3810
|
+
declare const O3Mini2025_01_31Options: z.ZodObject<{
|
|
3811
|
+
apiKey: z.ZodString;
|
|
3812
|
+
deploymentId: z.ZodString;
|
|
3813
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
3814
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3815
|
+
}, "strip", z.ZodTypeAny, {
|
|
3816
|
+
apiKey: string;
|
|
3817
|
+
deploymentId: string;
|
|
3818
|
+
resourceName?: string | undefined;
|
|
3819
|
+
baseUrl?: string | undefined;
|
|
3820
|
+
}, {
|
|
3821
|
+
apiKey: string;
|
|
3822
|
+
deploymentId: string;
|
|
3823
|
+
resourceName?: string | undefined;
|
|
3824
|
+
baseUrl?: string | undefined;
|
|
3825
|
+
}>;
|
|
3826
|
+
type O3Mini2025_01_31OptionsType = z.infer<typeof O3Mini2025_01_31Options>;
|
|
3827
|
+
declare class O3Mini2025_01_31 extends BaseChatModelOpenAI {
|
|
3828
|
+
constructor(options: O3Mini2025_01_31OptionsType);
|
|
3829
|
+
}
|
|
3830
|
+
|
|
3831
|
+
declare const O4_MiniLiteral: "o4-mini";
|
|
3832
|
+
declare const O4_MiniSchema: {
|
|
3833
|
+
description: string;
|
|
3834
|
+
name: string;
|
|
3835
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3836
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
3837
|
+
maxInputTokens: number;
|
|
3838
|
+
maxOutputTokens: number;
|
|
3839
|
+
config: {
|
|
3840
|
+
def: Record<string, {
|
|
3841
|
+
type: "multi-string";
|
|
3842
|
+
param: string;
|
|
3843
|
+
title: string;
|
|
3844
|
+
description: string;
|
|
3845
|
+
max: number;
|
|
3846
|
+
} | {
|
|
3847
|
+
type: "object-schema";
|
|
3848
|
+
param: string;
|
|
3849
|
+
title: string;
|
|
3850
|
+
description: string;
|
|
3851
|
+
objectSchema?: any;
|
|
3852
|
+
} | {
|
|
3853
|
+
type: "paired-select";
|
|
3854
|
+
param: string;
|
|
3855
|
+
title: string;
|
|
3856
|
+
description: string;
|
|
3857
|
+
fields: [{
|
|
3858
|
+
label: string;
|
|
3859
|
+
key: string;
|
|
3860
|
+
choices: {
|
|
3861
|
+
value: string;
|
|
3862
|
+
label: string;
|
|
3863
|
+
}[];
|
|
3864
|
+
description?: string | undefined;
|
|
3865
|
+
}, {
|
|
3866
|
+
label: string;
|
|
3867
|
+
key: string;
|
|
3868
|
+
choices: {
|
|
3869
|
+
value: string;
|
|
3870
|
+
label: string;
|
|
3871
|
+
}[];
|
|
3872
|
+
description?: string | undefined;
|
|
3873
|
+
}];
|
|
3874
|
+
uniqueByField?: string | undefined;
|
|
3875
|
+
} | {
|
|
3876
|
+
type: "range";
|
|
3877
|
+
param: string;
|
|
3878
|
+
title: string;
|
|
3879
|
+
description: string;
|
|
3880
|
+
max: number;
|
|
3881
|
+
default: number;
|
|
3882
|
+
min: number;
|
|
3883
|
+
step: number;
|
|
3884
|
+
} | {
|
|
3885
|
+
type: "select-boolean";
|
|
3886
|
+
param: string;
|
|
3887
|
+
title: string;
|
|
3888
|
+
description: string;
|
|
3889
|
+
default: boolean | null;
|
|
3890
|
+
} | {
|
|
3891
|
+
type: "select-string";
|
|
3892
|
+
param: string;
|
|
3893
|
+
title: string;
|
|
3894
|
+
description: string;
|
|
3895
|
+
default: string;
|
|
3896
|
+
choices: string[];
|
|
3897
|
+
}>;
|
|
3898
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3899
|
+
};
|
|
3900
|
+
price: {
|
|
3901
|
+
modelName: string;
|
|
3902
|
+
currency: string;
|
|
3903
|
+
tokenRanges: {
|
|
3904
|
+
minTokens: number;
|
|
3905
|
+
prices: {
|
|
3906
|
+
base: {
|
|
3907
|
+
inputPricePerMillion: number;
|
|
3908
|
+
outputPricePerMillion: number;
|
|
3909
|
+
};
|
|
3910
|
+
};
|
|
3911
|
+
maxTokens?: number | null | undefined;
|
|
3912
|
+
}[];
|
|
3913
|
+
};
|
|
3914
|
+
maxReasoningTokens?: number | undefined;
|
|
3915
|
+
};
|
|
3916
|
+
declare const O4_MiniOptions: z.ZodObject<{
|
|
3917
|
+
apiKey: z.ZodString;
|
|
3918
|
+
deploymentId: z.ZodString;
|
|
3919
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
3920
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3921
|
+
}, "strip", z.ZodTypeAny, {
|
|
3922
|
+
apiKey: string;
|
|
3923
|
+
deploymentId: string;
|
|
3924
|
+
resourceName?: string | undefined;
|
|
3925
|
+
baseUrl?: string | undefined;
|
|
3926
|
+
}, {
|
|
3927
|
+
apiKey: string;
|
|
3928
|
+
deploymentId: string;
|
|
3929
|
+
resourceName?: string | undefined;
|
|
3930
|
+
baseUrl?: string | undefined;
|
|
3931
|
+
}>;
|
|
3932
|
+
type O4_MiniOptionsType = z.infer<typeof O4_MiniOptions>;
|
|
3933
|
+
declare class O4_Mini extends BaseChatModelOpenAI {
|
|
3934
|
+
constructor(options: O4_MiniOptionsType);
|
|
3935
|
+
}
|
|
3936
|
+
|
|
3937
|
+
declare const O4_Mini_2025_04_16Literal: "o4-mini-2025-04-16";
|
|
3938
|
+
declare const O4_Mini_2025_04_16Schema: {
|
|
3939
|
+
description: string;
|
|
3940
|
+
name: string;
|
|
3941
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3942
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
3943
|
+
maxInputTokens: number;
|
|
3944
|
+
maxOutputTokens: number;
|
|
3945
|
+
config: {
|
|
3946
|
+
def: Record<string, {
|
|
3947
|
+
type: "multi-string";
|
|
3948
|
+
param: string;
|
|
3949
|
+
title: string;
|
|
3950
|
+
description: string;
|
|
3951
|
+
max: number;
|
|
3952
|
+
} | {
|
|
3953
|
+
type: "object-schema";
|
|
3954
|
+
param: string;
|
|
3955
|
+
title: string;
|
|
3956
|
+
description: string;
|
|
3957
|
+
objectSchema?: any;
|
|
3958
|
+
} | {
|
|
3959
|
+
type: "paired-select";
|
|
3960
|
+
param: string;
|
|
3961
|
+
title: string;
|
|
3962
|
+
description: string;
|
|
3963
|
+
fields: [{
|
|
3964
|
+
label: string;
|
|
3965
|
+
key: string;
|
|
3966
|
+
choices: {
|
|
3967
|
+
value: string;
|
|
3968
|
+
label: string;
|
|
3969
|
+
}[];
|
|
3970
|
+
description?: string | undefined;
|
|
3971
|
+
}, {
|
|
3972
|
+
label: string;
|
|
3973
|
+
key: string;
|
|
3974
|
+
choices: {
|
|
3975
|
+
value: string;
|
|
3976
|
+
label: string;
|
|
3977
|
+
}[];
|
|
3978
|
+
description?: string | undefined;
|
|
3979
|
+
}];
|
|
3980
|
+
uniqueByField?: string | undefined;
|
|
3981
|
+
} | {
|
|
3982
|
+
type: "range";
|
|
3983
|
+
param: string;
|
|
3984
|
+
title: string;
|
|
3985
|
+
description: string;
|
|
3986
|
+
max: number;
|
|
3987
|
+
default: number;
|
|
3988
|
+
min: number;
|
|
3989
|
+
step: number;
|
|
3990
|
+
} | {
|
|
3991
|
+
type: "select-boolean";
|
|
3992
|
+
param: string;
|
|
3993
|
+
title: string;
|
|
3994
|
+
description: string;
|
|
3995
|
+
default: boolean | null;
|
|
3996
|
+
} | {
|
|
3997
|
+
type: "select-string";
|
|
3998
|
+
param: string;
|
|
3999
|
+
title: string;
|
|
4000
|
+
description: string;
|
|
4001
|
+
default: string;
|
|
4002
|
+
choices: string[];
|
|
4003
|
+
}>;
|
|
4004
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4005
|
+
};
|
|
4006
|
+
price: {
|
|
4007
|
+
modelName: string;
|
|
4008
|
+
currency: string;
|
|
4009
|
+
tokenRanges: {
|
|
4010
|
+
minTokens: number;
|
|
4011
|
+
prices: {
|
|
4012
|
+
base: {
|
|
4013
|
+
inputPricePerMillion: number;
|
|
4014
|
+
outputPricePerMillion: number;
|
|
4015
|
+
};
|
|
4016
|
+
};
|
|
4017
|
+
maxTokens?: number | null | undefined;
|
|
4018
|
+
}[];
|
|
4019
|
+
};
|
|
4020
|
+
maxReasoningTokens?: number | undefined;
|
|
4021
|
+
};
|
|
4022
|
+
declare const O4_Mini_2025_04_16Options: z.ZodObject<{
|
|
4023
|
+
apiKey: z.ZodString;
|
|
4024
|
+
deploymentId: z.ZodString;
|
|
4025
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
4026
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4027
|
+
}, "strip", z.ZodTypeAny, {
|
|
4028
|
+
apiKey: string;
|
|
4029
|
+
deploymentId: string;
|
|
4030
|
+
resourceName?: string | undefined;
|
|
4031
|
+
baseUrl?: string | undefined;
|
|
4032
|
+
}, {
|
|
4033
|
+
apiKey: string;
|
|
4034
|
+
deploymentId: string;
|
|
4035
|
+
resourceName?: string | undefined;
|
|
4036
|
+
baseUrl?: string | undefined;
|
|
4037
|
+
}>;
|
|
4038
|
+
type O4_Mini_2025_04_16OptionsType = z.infer<typeof O4_Mini_2025_04_16Options>;
|
|
4039
|
+
declare class O4_Mini_2025_04_16 extends BaseChatModelOpenAI {
|
|
4040
|
+
constructor(options: O4_Mini_2025_04_16OptionsType);
|
|
1391
4041
|
}
|
|
1392
4042
|
|
|
1393
4043
|
declare const BaseEmbeddingModelOptions: z.ZodObject<{
|
|
@@ -1769,4 +4419,4 @@ declare class Azure<C extends BaseChatModelOptionsType, E extends BaseEmbeddingM
|
|
|
1769
4419
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
1770
4420
|
}
|
|
1771
4421
|
|
|
1772
|
-
export { Azure, BaseChatModelOpenAI, BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelSchema, BaseEmbeddingModelOpenAI, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, BaseEmbeddingModelSchema, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeOptions, type Text_Embedding_3_LargeOptionsType, Text_Embedding_3_LargeSchema, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallOptions, type Text_Embedding_3_SmallOptionsType, Text_Embedding_3_SmallSchema, Text_Embedding_Ada_002, Text_Embedding_Ada_002Literal, Text_Embedding_Ada_002Options, type Text_Embedding_Ada_002OptionsType, Text_Embedding_Ada_002Schema };
|
|
4422
|
+
export { Azure, BaseChatModelOpenAI, BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelSchema, BaseEmbeddingModelOpenAI, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, BaseEmbeddingModelSchema, ChatGPT_4o_Latest, ChatGPT_4o_LatestLiteral, ChatGPT_4o_LatestOptions, type ChatGPT_4o_LatestOptionsType, ChatGPT_4o_LatestSchema, ChatGPT_5_2, ChatGPT_5_2Literal, ChatGPT_5_2Options, type ChatGPT_5_2OptionsType, ChatGPT_5_2Schema, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0125_Preview, GPT_4_0125_PreviewLiteral, GPT_4_0125_PreviewOptions, type GPT_4_0125_PreviewOptionsType, GPT_4_0125_PreviewSchema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_1Literal, GPT_4_1Options, type GPT_4_1OptionsType, GPT_4_1Schema, GPT_4_1_Mini, GPT_4_1_MiniLiteral, GPT_4_1_MiniOptions, type GPT_4_1_MiniOptionsType, GPT_4_1_MiniSchema, GPT_4_1_Nano, GPT_4_1_NanoLiteral, GPT_4_1_NanoOptions, type GPT_4_1_NanoOptionsType, GPT_4_1_NanoSchema, GPT_4_Turbo, GPT_4_TurboLiteral, GPT_4_TurboOptions, type GPT_4_TurboOptionsType, GPT_4_TurboSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4_Turbo_Preview, GPT_4_Turbo_PreviewLiteral, GPT_4_Turbo_PreviewOptions, type GPT_4_Turbo_PreviewOptionsType, GPT_4_Turbo_PreviewSchema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, GPT_5, GPT_5Literal, GPT_5Options, type GPT_5OptionsType, GPT_5Schema, GPT_5_1, GPT_5_1Literal, GPT_5_1Options, type GPT_5_1OptionsType, GPT_5_1Schema, GPT_5_2, GPT_5_2Literal, GPT_5_2Options, type GPT_5_2OptionsType, GPT_5_2Schema, GPT_5_2_ChatLatest, GPT_5_2_ChatLatestLiteral, GPT_5_2_ChatLatestOptions, type GPT_5_2_ChatLatestOptionsType, GPT_5_2_ChatLatestSchema, GPT_5_2_Codex, GPT_5_2_CodexLiteral, GPT_5_2_CodexOptions, type GPT_5_2_CodexOptionsType, GPT_5_2_CodexSchema, GPT_5_3_Codex, GPT_5_3_CodexLiteral, GPT_5_3_CodexOptions, type GPT_5_3_CodexOptionsType, GPT_5_3_CodexSchema, GPT_5_ChatLatest, GPT_5_ChatLatestLiteral, GPT_5_ChatLatestOptions, type GPT_5_ChatLatestOptionsType, GPT_5_ChatLatestSchema, GPT_5_Mini, GPT_5_MiniLiteral, GPT_5_MiniOptions, type GPT_5_MiniOptionsType, GPT_5_MiniSchema, GPT_5_Nano, GPT_5_NanoLiteral, GPT_5_NanoOptions, type GPT_5_NanoOptionsType, GPT_5_NanoSchema, O1, O1Literal, O1Options, type O1OptionsType, O1Schema, O1_2024_12_17, O1_2024_12_17Literal, O1_2024_12_17Options, type O1_2024_12_17OptionsType, O1_2024_12_17Schema, O3, O3Literal, O3Mini, O3Mini2025_01_31, O3Mini2025_01_31Literal, O3Mini2025_01_31Options, type O3Mini2025_01_31OptionsType, O3Mini2025_01_31Schema, O3MiniLiteral, O3MiniOptions, type O3MiniOptionsType, O3MiniSchema, O3Options, type O3OptionsType, O3Schema, O3_2025_04_16, O3_2025_04_16Literal, O3_2025_04_16Options, type O3_2025_04_16OptionsType, O3_2025_04_16Schema, O4_Mini, O4_MiniLiteral, O4_MiniOptions, type O4_MiniOptionsType, O4_MiniSchema, O4_Mini_2025_04_16, O4_Mini_2025_04_16Literal, O4_Mini_2025_04_16Options, type O4_Mini_2025_04_16OptionsType, O4_Mini_2025_04_16Schema, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeOptions, type Text_Embedding_3_LargeOptionsType, Text_Embedding_3_LargeSchema, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallOptions, type Text_Embedding_3_SmallOptionsType, Text_Embedding_3_SmallSchema, Text_Embedding_Ada_002, Text_Embedding_Ada_002Literal, Text_Embedding_Ada_002Options, type Text_Embedding_Ada_002OptionsType, Text_Embedding_Ada_002Schema };
|