@adaline/openai 0.11.0 → 0.13.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.ts CHANGED
@@ -95,7 +95,7 @@ declare const OpenAIChatModelConfigs: {
95
95
  param: string;
96
96
  title: string;
97
97
  description: string;
98
- default: string;
98
+ default: string | null;
99
99
  choices: string[];
100
100
  };
101
101
  };
@@ -109,7 +109,7 @@ declare const OpenAIChatModelConfigs: {
109
109
  seed: zod.ZodEffects<zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>, number | undefined, number | undefined>;
110
110
  logProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
111
111
  topLogProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
112
- toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
112
+ toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
113
113
  }, "strip", zod.ZodTypeAny, {
114
114
  temperature?: number | undefined;
115
115
  seed?: number | undefined;
@@ -120,7 +120,7 @@ declare const OpenAIChatModelConfigs: {
120
120
  presencePenalty?: number | undefined;
121
121
  logProbs?: boolean | null | undefined;
122
122
  topLogProbs?: number | undefined;
123
- toolChoice?: string | undefined;
123
+ toolChoice?: string | null | undefined;
124
124
  }, {
125
125
  temperature?: number | undefined;
126
126
  seed?: number | undefined;
@@ -131,7 +131,7 @@ declare const OpenAIChatModelConfigs: {
131
131
  presencePenalty?: number | undefined;
132
132
  logProbs?: boolean | null | undefined;
133
133
  topLogProbs?: number | undefined;
134
- toolChoice?: string | undefined;
134
+ toolChoice?: string | null | undefined;
135
135
  }>;
136
136
  };
137
137
  readonly responseFormat: (maxOutputTokens: number, maxSequences: number) => {
@@ -141,7 +141,7 @@ declare const OpenAIChatModelConfigs: {
141
141
  param: string;
142
142
  title: string;
143
143
  description: string;
144
- default: string;
144
+ default: string | null;
145
145
  choices: string[];
146
146
  };
147
147
  temperature: {
@@ -233,7 +233,7 @@ declare const OpenAIChatModelConfigs: {
233
233
  param: string;
234
234
  title: string;
235
235
  description: string;
236
- default: string;
236
+ default: string | null;
237
237
  choices: string[];
238
238
  };
239
239
  };
@@ -247,9 +247,9 @@ declare const OpenAIChatModelConfigs: {
247
247
  seed: zod.ZodEffects<zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>, number | undefined, number | undefined>;
248
248
  logProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
249
249
  topLogProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
250
- toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
250
+ toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
251
251
  }, {
252
- responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
252
+ responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
253
253
  }>, "strip", zod.ZodTypeAny, {
254
254
  temperature?: number | undefined;
255
255
  seed?: number | undefined;
@@ -260,8 +260,8 @@ declare const OpenAIChatModelConfigs: {
260
260
  presencePenalty?: number | undefined;
261
261
  logProbs?: boolean | null | undefined;
262
262
  topLogProbs?: number | undefined;
263
- toolChoice?: string | undefined;
264
- responseFormat?: string | undefined;
263
+ toolChoice?: string | null | undefined;
264
+ responseFormat?: string | null | undefined;
265
265
  }, {
266
266
  temperature?: number | undefined;
267
267
  seed?: number | undefined;
@@ -272,8 +272,8 @@ declare const OpenAIChatModelConfigs: {
272
272
  presencePenalty?: number | undefined;
273
273
  logProbs?: boolean | null | undefined;
274
274
  topLogProbs?: number | undefined;
275
- toolChoice?: string | undefined;
276
- responseFormat?: string | undefined;
275
+ toolChoice?: string | null | undefined;
276
+ responseFormat?: string | null | undefined;
277
277
  }>;
278
278
  };
279
279
  readonly responseSchema: (maxOutputTokens: number, maxSequences: number) => {
@@ -283,7 +283,7 @@ declare const OpenAIChatModelConfigs: {
283
283
  param: string;
284
284
  title: string;
285
285
  description: string;
286
- default: string;
286
+ default: string | null;
287
287
  choices: string[];
288
288
  };
289
289
  responseSchema: {
@@ -382,7 +382,7 @@ declare const OpenAIChatModelConfigs: {
382
382
  param: string;
383
383
  title: string;
384
384
  description: string;
385
- default: string;
385
+ default: string | null;
386
386
  choices: string[];
387
387
  };
388
388
  };
@@ -396,18 +396,15 @@ declare const OpenAIChatModelConfigs: {
396
396
  seed: zod.ZodEffects<zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>, number | undefined, number | undefined>;
397
397
  logProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
398
398
  topLogProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
399
- toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
399
+ toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
400
400
  }, {
401
- responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
402
- responseSchema: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
401
+ responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
402
+ responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
403
403
  [x: string]: any;
404
404
  }, {
405
405
  [x: string]: any;
406
- }>;
406
+ }>>;
407
407
  }>, "strip", zod.ZodTypeAny, {
408
- responseSchema: {
409
- [x: string]: any;
410
- };
411
408
  temperature?: number | undefined;
412
409
  seed?: number | undefined;
413
410
  stop?: string[] | undefined;
@@ -417,12 +414,12 @@ declare const OpenAIChatModelConfigs: {
417
414
  presencePenalty?: number | undefined;
418
415
  logProbs?: boolean | null | undefined;
419
416
  topLogProbs?: number | undefined;
420
- toolChoice?: string | undefined;
421
- responseFormat?: string | undefined;
422
- }, {
423
- responseSchema: {
417
+ toolChoice?: string | null | undefined;
418
+ responseFormat?: string | null | undefined;
419
+ responseSchema?: {
424
420
  [x: string]: any;
425
- };
421
+ } | undefined;
422
+ }, {
426
423
  temperature?: number | undefined;
427
424
  seed?: number | undefined;
428
425
  stop?: string[] | undefined;
@@ -432,8 +429,11 @@ declare const OpenAIChatModelConfigs: {
432
429
  presencePenalty?: number | undefined;
433
430
  logProbs?: boolean | null | undefined;
434
431
  topLogProbs?: number | undefined;
435
- toolChoice?: string | undefined;
436
- responseFormat?: string | undefined;
432
+ toolChoice?: string | null | undefined;
433
+ responseFormat?: string | null | undefined;
434
+ responseSchema?: {
435
+ [x: string]: any;
436
+ } | undefined;
437
437
  }>;
438
438
  };
439
439
  readonly oSeries: (maxOutputTokens: number, maxSequences: number) => {
@@ -463,7 +463,7 @@ declare const OpenAIChatModelConfigs: {
463
463
  param: string;
464
464
  title: string;
465
465
  description: string;
466
- default: string;
466
+ default: string | null;
467
467
  choices: string[];
468
468
  };
469
469
  responseSchema: {
@@ -542,7 +542,7 @@ declare const OpenAIChatModelConfigs: {
542
542
  param: string;
543
543
  title: string;
544
544
  description: string;
545
- default: string;
545
+ default: string | null;
546
546
  choices: string[];
547
547
  };
548
548
  };
@@ -556,21 +556,18 @@ declare const OpenAIChatModelConfigs: {
556
556
  seed: zod.ZodEffects<zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>, number | undefined, number | undefined>;
557
557
  logProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
558
558
  topLogProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
559
- toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
559
+ toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
560
560
  }, {
561
- responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
562
- responseSchema: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
561
+ responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
562
+ responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
563
563
  [x: string]: any;
564
564
  }, {
565
565
  [x: string]: any;
566
- }>;
566
+ }>>;
567
567
  }>, {
568
568
  temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
569
569
  maxTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
570
570
  }>, "strip", zod.ZodTypeAny, {
571
- responseSchema: {
572
- [x: string]: any;
573
- };
574
571
  temperature?: number | undefined;
575
572
  seed?: number | undefined;
576
573
  stop?: string[] | undefined;
@@ -580,12 +577,12 @@ declare const OpenAIChatModelConfigs: {
580
577
  presencePenalty?: number | undefined;
581
578
  logProbs?: boolean | null | undefined;
582
579
  topLogProbs?: number | undefined;
583
- toolChoice?: string | undefined;
584
- responseFormat?: string | undefined;
585
- }, {
586
- responseSchema: {
580
+ toolChoice?: string | null | undefined;
581
+ responseFormat?: string | null | undefined;
582
+ responseSchema?: {
587
583
  [x: string]: any;
588
- };
584
+ } | undefined;
585
+ }, {
589
586
  temperature?: number | undefined;
590
587
  seed?: number | undefined;
591
588
  stop?: string[] | undefined;
@@ -595,8 +592,11 @@ declare const OpenAIChatModelConfigs: {
595
592
  presencePenalty?: number | undefined;
596
593
  logProbs?: boolean | null | undefined;
597
594
  topLogProbs?: number | undefined;
598
- toolChoice?: string | undefined;
599
- responseFormat?: string | undefined;
595
+ toolChoice?: string | null | undefined;
596
+ responseFormat?: string | null | undefined;
597
+ responseSchema?: {
598
+ [x: string]: any;
599
+ } | undefined;
600
600
  }>;
601
601
  };
602
602
  };
@@ -608,16 +608,16 @@ declare const OpenAIEmbeddingModelConfigs: {
608
608
  param: string;
609
609
  title: string;
610
610
  description: string;
611
- default: string;
611
+ default: string | null;
612
612
  choices: string[];
613
613
  };
614
614
  };
615
615
  schema: zod.ZodObject<{
616
- encodingFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
616
+ encodingFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
617
617
  }, "strip", zod.ZodTypeAny, {
618
- encodingFormat?: string | undefined;
618
+ encodingFormat?: string | null | undefined;
619
619
  }, {
620
- encodingFormat?: string | undefined;
620
+ encodingFormat?: string | null | undefined;
621
621
  }>;
622
622
  };
623
623
  readonly dimensions: (maxDimensions: number) => {
@@ -637,20 +637,20 @@ declare const OpenAIEmbeddingModelConfigs: {
637
637
  param: string;
638
638
  title: string;
639
639
  description: string;
640
- default: string;
640
+ default: string | null;
641
641
  choices: string[];
642
642
  };
643
643
  };
644
644
  schema: zod.ZodObject<zod.objectUtil.extendShape<{
645
- encodingFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
645
+ encodingFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
646
646
  }, {
647
647
  dimensions: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
648
648
  }>, "strip", zod.ZodTypeAny, {
649
649
  dimensions?: number | undefined;
650
- encodingFormat?: string | undefined;
650
+ encodingFormat?: string | null | undefined;
651
651
  }, {
652
652
  dimensions?: number | undefined;
653
- encodingFormat?: string | undefined;
653
+ encodingFormat?: string | null | undefined;
654
654
  }>;
655
655
  };
656
656
  };
@@ -665,7 +665,7 @@ declare const ChatModelBaseConfigSchema: (maxOutputTokens: number, maxSequences:
665
665
  seed: z.ZodEffects<z.ZodOptional<z.ZodDefault<z.ZodNumber>>, number | undefined, number | undefined>;
666
666
  logProbs: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
667
667
  topLogProbs: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
668
- toolChoice: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
668
+ toolChoice: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
669
669
  }, "strip", z.ZodTypeAny, {
670
670
  temperature?: number | undefined;
671
671
  seed?: number | undefined;
@@ -676,7 +676,7 @@ declare const ChatModelBaseConfigSchema: (maxOutputTokens: number, maxSequences:
676
676
  presencePenalty?: number | undefined;
677
677
  logProbs?: boolean | null | undefined;
678
678
  topLogProbs?: number | undefined;
679
- toolChoice?: string | undefined;
679
+ toolChoice?: string | null | undefined;
680
680
  }, {
681
681
  temperature?: number | undefined;
682
682
  seed?: number | undefined;
@@ -687,7 +687,7 @@ declare const ChatModelBaseConfigSchema: (maxOutputTokens: number, maxSequences:
687
687
  presencePenalty?: number | undefined;
688
688
  logProbs?: boolean | null | undefined;
689
689
  topLogProbs?: number | undefined;
690
- toolChoice?: string | undefined;
690
+ toolChoice?: string | null | undefined;
691
691
  }>;
692
692
  declare const ChatModelBaseConfigDef: (maxOutputTokens: number, maxSequences: number) => {
693
693
  readonly temperature: {
@@ -779,7 +779,7 @@ declare const ChatModelBaseConfigDef: (maxOutputTokens: number, maxSequences: nu
779
779
  param: string;
780
780
  title: string;
781
781
  description: string;
782
- default: string;
782
+ default: string | null;
783
783
  choices: string[];
784
784
  };
785
785
  };
@@ -901,10 +901,10 @@ declare const toolChoice: {
901
901
  param: string;
902
902
  title: string;
903
903
  description: string;
904
- default: string;
904
+ default: string | null;
905
905
  choices: string[];
906
906
  };
907
- schema: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
907
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
908
908
  };
909
909
 
910
910
  declare const ChatModelResponseFormatConfigDef: (maxOutputTokens: number, maxSequences: number) => {
@@ -913,7 +913,7 @@ declare const ChatModelResponseFormatConfigDef: (maxOutputTokens: number, maxSeq
913
913
  param: string;
914
914
  title: string;
915
915
  description: string;
916
- default: string;
916
+ default: string | null;
917
917
  choices: string[];
918
918
  };
919
919
  temperature: {
@@ -1005,7 +1005,7 @@ declare const ChatModelResponseFormatConfigDef: (maxOutputTokens: number, maxSeq
1005
1005
  param: string;
1006
1006
  title: string;
1007
1007
  description: string;
1008
- default: string;
1008
+ default: string | null;
1009
1009
  choices: string[];
1010
1010
  };
1011
1011
  };
@@ -1019,9 +1019,9 @@ declare const ChatModelResponseFormatConfigSchema: (maxOutputTokens: number, max
1019
1019
  seed: zod.ZodEffects<zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>, number | undefined, number | undefined>;
1020
1020
  logProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
1021
1021
  topLogProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
1022
- toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
1022
+ toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
1023
1023
  }, {
1024
- responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
1024
+ responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
1025
1025
  }>, "strip", zod.ZodTypeAny, {
1026
1026
  temperature?: number | undefined;
1027
1027
  seed?: number | undefined;
@@ -1032,8 +1032,8 @@ declare const ChatModelResponseFormatConfigSchema: (maxOutputTokens: number, max
1032
1032
  presencePenalty?: number | undefined;
1033
1033
  logProbs?: boolean | null | undefined;
1034
1034
  topLogProbs?: number | undefined;
1035
- toolChoice?: string | undefined;
1036
- responseFormat?: string | undefined;
1035
+ toolChoice?: string | null | undefined;
1036
+ responseFormat?: string | null | undefined;
1037
1037
  }, {
1038
1038
  temperature?: number | undefined;
1039
1039
  seed?: number | undefined;
@@ -1044,8 +1044,8 @@ declare const ChatModelResponseFormatConfigSchema: (maxOutputTokens: number, max
1044
1044
  presencePenalty?: number | undefined;
1045
1045
  logProbs?: boolean | null | undefined;
1046
1046
  topLogProbs?: number | undefined;
1047
- toolChoice?: string | undefined;
1048
- responseFormat?: string | undefined;
1047
+ toolChoice?: string | null | undefined;
1048
+ responseFormat?: string | null | undefined;
1049
1049
  }>;
1050
1050
 
1051
1051
  declare const ChatModelResponseSchemaConfigDef: (maxOutputTokens: number, maxSequences: number) => {
@@ -1054,7 +1054,7 @@ declare const ChatModelResponseSchemaConfigDef: (maxOutputTokens: number, maxSeq
1054
1054
  param: string;
1055
1055
  title: string;
1056
1056
  description: string;
1057
- default: string;
1057
+ default: string | null;
1058
1058
  choices: string[];
1059
1059
  };
1060
1060
  responseSchema: {
@@ -1153,7 +1153,7 @@ declare const ChatModelResponseSchemaConfigDef: (maxOutputTokens: number, maxSeq
1153
1153
  param: string;
1154
1154
  title: string;
1155
1155
  description: string;
1156
- default: string;
1156
+ default: string | null;
1157
1157
  choices: string[];
1158
1158
  };
1159
1159
  };
@@ -1167,18 +1167,15 @@ declare const ChatModelResponseSchemaConfigSchema: (maxOutputTokens: number, max
1167
1167
  seed: z.ZodEffects<z.ZodOptional<z.ZodDefault<z.ZodNumber>>, number | undefined, number | undefined>;
1168
1168
  logProbs: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
1169
1169
  topLogProbs: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1170
- toolChoice: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
1170
+ toolChoice: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
1171
1171
  }, {
1172
- responseFormat: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
1173
- responseSchema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, {
1172
+ responseFormat: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
1173
+ responseSchema: z.ZodOptional<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, {
1174
1174
  [x: string]: any;
1175
1175
  }, {
1176
1176
  [x: string]: any;
1177
- }>;
1177
+ }>>;
1178
1178
  }>, "strip", z.ZodTypeAny, {
1179
- responseSchema: {
1180
- [x: string]: any;
1181
- };
1182
1179
  temperature?: number | undefined;
1183
1180
  seed?: number | undefined;
1184
1181
  stop?: string[] | undefined;
@@ -1188,12 +1185,12 @@ declare const ChatModelResponseSchemaConfigSchema: (maxOutputTokens: number, max
1188
1185
  presencePenalty?: number | undefined;
1189
1186
  logProbs?: boolean | null | undefined;
1190
1187
  topLogProbs?: number | undefined;
1191
- toolChoice?: string | undefined;
1192
- responseFormat?: string | undefined;
1193
- }, {
1194
- responseSchema: {
1188
+ toolChoice?: string | null | undefined;
1189
+ responseFormat?: string | null | undefined;
1190
+ responseSchema?: {
1195
1191
  [x: string]: any;
1196
- };
1192
+ } | undefined;
1193
+ }, {
1197
1194
  temperature?: number | undefined;
1198
1195
  seed?: number | undefined;
1199
1196
  stop?: string[] | undefined;
@@ -1203,8 +1200,11 @@ declare const ChatModelResponseSchemaConfigSchema: (maxOutputTokens: number, max
1203
1200
  presencePenalty?: number | undefined;
1204
1201
  logProbs?: boolean | null | undefined;
1205
1202
  topLogProbs?: number | undefined;
1206
- toolChoice?: string | undefined;
1207
- responseFormat?: string | undefined;
1203
+ toolChoice?: string | null | undefined;
1204
+ responseFormat?: string | null | undefined;
1205
+ responseSchema?: {
1206
+ [x: string]: any;
1207
+ } | undefined;
1208
1208
  }>;
1209
1209
 
1210
1210
  declare const ChatModelOSeriesConfigDef: (maxOutputTokens: number, maxSequences: number) => {
@@ -1233,7 +1233,7 @@ declare const ChatModelOSeriesConfigDef: (maxOutputTokens: number, maxSequences:
1233
1233
  param: string;
1234
1234
  title: string;
1235
1235
  description: string;
1236
- default: string;
1236
+ default: string | null;
1237
1237
  choices: string[];
1238
1238
  };
1239
1239
  responseSchema: {
@@ -1312,7 +1312,7 @@ declare const ChatModelOSeriesConfigDef: (maxOutputTokens: number, maxSequences:
1312
1312
  param: string;
1313
1313
  title: string;
1314
1314
  description: string;
1315
- default: string;
1315
+ default: string | null;
1316
1316
  choices: string[];
1317
1317
  };
1318
1318
  };
@@ -1326,21 +1326,18 @@ declare const ChatModelOSeriesConfigSchema: (maxOutputTokens: number, maxSequenc
1326
1326
  seed: zod.ZodEffects<zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>, number | undefined, number | undefined>;
1327
1327
  logProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
1328
1328
  topLogProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
1329
- toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
1329
+ toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
1330
1330
  }, {
1331
- responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
1332
- responseSchema: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
1331
+ responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
1332
+ responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
1333
1333
  [x: string]: any;
1334
1334
  }, {
1335
1335
  [x: string]: any;
1336
- }>;
1336
+ }>>;
1337
1337
  }>, {
1338
1338
  temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
1339
1339
  maxTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
1340
1340
  }>, "strip", zod.ZodTypeAny, {
1341
- responseSchema: {
1342
- [x: string]: any;
1343
- };
1344
1341
  temperature?: number | undefined;
1345
1342
  seed?: number | undefined;
1346
1343
  stop?: string[] | undefined;
@@ -1350,12 +1347,12 @@ declare const ChatModelOSeriesConfigSchema: (maxOutputTokens: number, maxSequenc
1350
1347
  presencePenalty?: number | undefined;
1351
1348
  logProbs?: boolean | null | undefined;
1352
1349
  topLogProbs?: number | undefined;
1353
- toolChoice?: string | undefined;
1354
- responseFormat?: string | undefined;
1355
- }, {
1356
- responseSchema: {
1350
+ toolChoice?: string | null | undefined;
1351
+ responseFormat?: string | null | undefined;
1352
+ responseSchema?: {
1357
1353
  [x: string]: any;
1358
- };
1354
+ } | undefined;
1355
+ }, {
1359
1356
  temperature?: number | undefined;
1360
1357
  seed?: number | undefined;
1361
1358
  stop?: string[] | undefined;
@@ -1365,16 +1362,19 @@ declare const ChatModelOSeriesConfigSchema: (maxOutputTokens: number, maxSequenc
1365
1362
  presencePenalty?: number | undefined;
1366
1363
  logProbs?: boolean | null | undefined;
1367
1364
  topLogProbs?: number | undefined;
1368
- toolChoice?: string | undefined;
1369
- responseFormat?: string | undefined;
1365
+ toolChoice?: string | null | undefined;
1366
+ responseFormat?: string | null | undefined;
1367
+ responseSchema?: {
1368
+ [x: string]: any;
1369
+ } | undefined;
1370
1370
  }>;
1371
1371
 
1372
1372
  declare const EmbeddingModelBaseConfigSchema: () => z.ZodObject<{
1373
- encodingFormat: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
1373
+ encodingFormat: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
1374
1374
  }, "strip", z.ZodTypeAny, {
1375
- encodingFormat?: string | undefined;
1375
+ encodingFormat?: string | null | undefined;
1376
1376
  }, {
1377
- encodingFormat?: string | undefined;
1377
+ encodingFormat?: string | null | undefined;
1378
1378
  }>;
1379
1379
  declare const EmbeddingModelBaseConfigDef: () => {
1380
1380
  readonly encodingFormat: {
@@ -1382,7 +1382,7 @@ declare const EmbeddingModelBaseConfigDef: () => {
1382
1382
  param: string;
1383
1383
  title: string;
1384
1384
  description: string;
1385
- default: string;
1385
+ default: string | null;
1386
1386
  choices: string[];
1387
1387
  };
1388
1388
  };
@@ -1393,10 +1393,10 @@ declare const encodingFormat: {
1393
1393
  param: string;
1394
1394
  title: string;
1395
1395
  description: string;
1396
- default: string;
1396
+ default: string | null;
1397
1397
  choices: string[];
1398
1398
  };
1399
- schema: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<[string, ...string[]]>>>;
1399
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
1400
1400
  };
1401
1401
  declare const dimensions: (maxDimensions: number) => {
1402
1402
  def: {
@@ -1413,15 +1413,15 @@ declare const dimensions: (maxDimensions: number) => {
1413
1413
  };
1414
1414
 
1415
1415
  declare const EmbeddingModelDimensionsConfigSchema: (maxDimensions: number) => z.ZodObject<z.objectUtil.extendShape<{
1416
- encodingFormat: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
1416
+ encodingFormat: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
1417
1417
  }, {
1418
1418
  dimensions: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1419
1419
  }>, "strip", z.ZodTypeAny, {
1420
1420
  dimensions?: number | undefined;
1421
- encodingFormat?: string | undefined;
1421
+ encodingFormat?: string | null | undefined;
1422
1422
  }, {
1423
1423
  dimensions?: number | undefined;
1424
- encodingFormat?: string | undefined;
1424
+ encodingFormat?: string | null | undefined;
1425
1425
  }>;
1426
1426
  declare const EmbeddingModelDimensionsConfigDef: (maxDimensions: number) => {
1427
1427
  readonly dimensions: {
@@ -1439,7 +1439,7 @@ declare const EmbeddingModelDimensionsConfigDef: (maxDimensions: number) => {
1439
1439
  param: string;
1440
1440
  title: string;
1441
1441
  description: string;
1442
- default: string;
1442
+ default: string | null;
1443
1443
  choices: string[];
1444
1444
  };
1445
1445
  };
@@ -3737,7 +3737,7 @@ declare const GPT_3_5_Turbo_0125Schema: {
3737
3737
  param: string;
3738
3738
  title: string;
3739
3739
  description: string;
3740
- default: string;
3740
+ default: string | null;
3741
3741
  choices: string[];
3742
3742
  } | {
3743
3743
  type: "object-schema";
@@ -3808,7 +3808,7 @@ declare const GPT_3_5_Turbo_1106Schema: {
3808
3808
  param: string;
3809
3809
  title: string;
3810
3810
  description: string;
3811
- default: string;
3811
+ default: string | null;
3812
3812
  choices: string[];
3813
3813
  } | {
3814
3814
  type: "object-schema";
@@ -3879,7 +3879,7 @@ declare const GPT_3_5_TurboSchema: {
3879
3879
  param: string;
3880
3880
  title: string;
3881
3881
  description: string;
3882
- default: string;
3882
+ default: string | null;
3883
3883
  choices: string[];
3884
3884
  } | {
3885
3885
  type: "object-schema";
@@ -3950,7 +3950,7 @@ declare const GPT_4_0125_PreviewSchema: {
3950
3950
  param: string;
3951
3951
  title: string;
3952
3952
  description: string;
3953
- default: string;
3953
+ default: string | null;
3954
3954
  choices: string[];
3955
3955
  } | {
3956
3956
  type: "object-schema";
@@ -4021,7 +4021,7 @@ declare const GPT_4_0613Schema: {
4021
4021
  param: string;
4022
4022
  title: string;
4023
4023
  description: string;
4024
- default: string;
4024
+ default: string | null;
4025
4025
  choices: string[];
4026
4026
  } | {
4027
4027
  type: "object-schema";
@@ -4092,7 +4092,7 @@ declare const GPT_4_1106_PreviewSchema: {
4092
4092
  param: string;
4093
4093
  title: string;
4094
4094
  description: string;
4095
- default: string;
4095
+ default: string | null;
4096
4096
  choices: string[];
4097
4097
  } | {
4098
4098
  type: "object-schema";
@@ -4163,7 +4163,7 @@ declare const GPT_4_Turbo_2024_04_09Schema: {
4163
4163
  param: string;
4164
4164
  title: string;
4165
4165
  description: string;
4166
- default: string;
4166
+ default: string | null;
4167
4167
  choices: string[];
4168
4168
  } | {
4169
4169
  type: "object-schema";
@@ -4234,7 +4234,7 @@ declare const GPT_4_Turbo_PreviewSchema: {
4234
4234
  param: string;
4235
4235
  title: string;
4236
4236
  description: string;
4237
- default: string;
4237
+ default: string | null;
4238
4238
  choices: string[];
4239
4239
  } | {
4240
4240
  type: "object-schema";
@@ -4305,7 +4305,7 @@ declare const GPT_4_TurboSchema: {
4305
4305
  param: string;
4306
4306
  title: string;
4307
4307
  description: string;
4308
- default: string;
4308
+ default: string | null;
4309
4309
  choices: string[];
4310
4310
  } | {
4311
4311
  type: "object-schema";
@@ -4376,7 +4376,7 @@ declare const GPT_4Schema: {
4376
4376
  param: string;
4377
4377
  title: string;
4378
4378
  description: string;
4379
- default: string;
4379
+ default: string | null;
4380
4380
  choices: string[];
4381
4381
  } | {
4382
4382
  type: "object-schema";
@@ -4447,7 +4447,7 @@ declare const GPT_4o_2024_08_06Schema: {
4447
4447
  param: string;
4448
4448
  title: string;
4449
4449
  description: string;
4450
- default: string;
4450
+ default: string | null;
4451
4451
  choices: string[];
4452
4452
  } | {
4453
4453
  type: "object-schema";
@@ -4518,7 +4518,7 @@ declare const GPT_4o_MiniSchema: {
4518
4518
  param: string;
4519
4519
  title: string;
4520
4520
  description: string;
4521
- default: string;
4521
+ default: string | null;
4522
4522
  choices: string[];
4523
4523
  } | {
4524
4524
  type: "object-schema";
@@ -4589,7 +4589,7 @@ declare const GPT_4oSchema: {
4589
4589
  param: string;
4590
4590
  title: string;
4591
4591
  description: string;
4592
- default: string;
4592
+ default: string | null;
4593
4593
  choices: string[];
4594
4594
  } | {
4595
4595
  type: "object-schema";
@@ -4660,7 +4660,7 @@ declare const O1_MiniSchema: {
4660
4660
  param: string;
4661
4661
  title: string;
4662
4662
  description: string;
4663
- default: string;
4663
+ default: string | null;
4664
4664
  choices: string[];
4665
4665
  } | {
4666
4666
  type: "object-schema";
@@ -4731,7 +4731,7 @@ declare const O1_PreviewSchema: {
4731
4731
  param: string;
4732
4732
  title: string;
4733
4733
  description: string;
4734
- default: string;
4734
+ default: string | null;
4735
4735
  choices: string[];
4736
4736
  } | {
4737
4737
  type: "object-schema";
@@ -4918,7 +4918,7 @@ declare const Text_Embedding_Ada002Schema: {
4918
4918
  param: string;
4919
4919
  title: string;
4920
4920
  description: string;
4921
- default: string;
4921
+ default: string | null;
4922
4922
  choices: string[];
4923
4923
  } | {
4924
4924
  type: "object-schema";
@@ -4982,7 +4982,7 @@ declare const Text_Embedding_3_SmallSchema: {
4982
4982
  param: string;
4983
4983
  title: string;
4984
4984
  description: string;
4985
- default: string;
4985
+ default: string | null;
4986
4986
  choices: string[];
4987
4987
  } | {
4988
4988
  type: "object-schema";
@@ -5046,7 +5046,7 @@ declare const Text_Embedding_3_LargeSchema: {
5046
5046
  param: string;
5047
5047
  title: string;
5048
5048
  description: string;
5049
- default: string;
5049
+ default: string | null;
5050
5050
  choices: string[];
5051
5051
  } | {
5052
5052
  type: "object-schema";