@adaline/openai 0.28.0 → 0.29.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 CHANGED
@@ -95,7 +95,7 @@ declare const OpenAIChatModelConfigs: {
95
95
  param: string;
96
96
  title: string;
97
97
  description: string;
98
- default: string | null;
98
+ default: string;
99
99
  choices: string[];
100
100
  };
101
101
  };
@@ -141,7 +141,7 @@ declare const OpenAIChatModelConfigs: {
141
141
  param: string;
142
142
  title: string;
143
143
  description: string;
144
- default: string | null;
144
+ default: string;
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 | null;
236
+ default: string;
237
237
  choices: string[];
238
238
  };
239
239
  };
@@ -283,7 +283,7 @@ declare const OpenAIChatModelConfigs: {
283
283
  param: string;
284
284
  title: string;
285
285
  description: string;
286
- default: string | null;
286
+ default: string;
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 | null;
385
+ default: string;
386
386
  choices: string[];
387
387
  };
388
388
  };
@@ -453,7 +453,7 @@ declare const OpenAIChatModelConfigs: {
453
453
  param: string;
454
454
  title: string;
455
455
  description: string;
456
- default: string | null;
456
+ default: string;
457
457
  choices: string[];
458
458
  };
459
459
  responseSchema: {
@@ -542,7 +542,7 @@ declare const OpenAIChatModelConfigs: {
542
542
  param: string;
543
543
  title: string;
544
544
  description: string;
545
- default: string | null;
545
+ default: string;
546
546
  choices: string[];
547
547
  };
548
548
  };
@@ -607,7 +607,7 @@ declare const OpenAIEmbeddingModelConfigs: {
607
607
  param: string;
608
608
  title: string;
609
609
  description: string;
610
- default: string | null;
610
+ default: string;
611
611
  choices: string[];
612
612
  };
613
613
  };
@@ -636,7 +636,7 @@ declare const OpenAIEmbeddingModelConfigs: {
636
636
  param: string;
637
637
  title: string;
638
638
  description: string;
639
- default: string | null;
639
+ default: string;
640
640
  choices: string[];
641
641
  };
642
642
  };
@@ -778,7 +778,7 @@ declare const ChatModelBaseConfigDef: (maxOutputTokens: number, maxSequences: nu
778
778
  param: string;
779
779
  title: string;
780
780
  description: string;
781
- default: string | null;
781
+ default: string;
782
782
  choices: string[];
783
783
  };
784
784
  };
@@ -900,7 +900,7 @@ declare const toolChoice: {
900
900
  param: string;
901
901
  title: string;
902
902
  description: string;
903
- default: string | null;
903
+ default: string;
904
904
  choices: string[];
905
905
  };
906
906
  schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
@@ -922,7 +922,7 @@ declare const ChatModelOSeriesConfigDef: (maxOutputTokens: number, maxSequences:
922
922
  param: string;
923
923
  title: string;
924
924
  description: string;
925
- default: string | null;
925
+ default: string;
926
926
  choices: string[];
927
927
  };
928
928
  responseSchema: {
@@ -1011,7 +1011,7 @@ declare const ChatModelOSeriesConfigDef: (maxOutputTokens: number, maxSequences:
1011
1011
  param: string;
1012
1012
  title: string;
1013
1013
  description: string;
1014
- default: string | null;
1014
+ default: string;
1015
1015
  choices: string[];
1016
1016
  };
1017
1017
  };
@@ -1073,7 +1073,7 @@ declare const ChatModelResponseFormatConfigDef: (maxOutputTokens: number, maxSeq
1073
1073
  param: string;
1074
1074
  title: string;
1075
1075
  description: string;
1076
- default: string | null;
1076
+ default: string;
1077
1077
  choices: string[];
1078
1078
  };
1079
1079
  temperature: {
@@ -1165,7 +1165,7 @@ declare const ChatModelResponseFormatConfigDef: (maxOutputTokens: number, maxSeq
1165
1165
  param: string;
1166
1166
  title: string;
1167
1167
  description: string;
1168
- default: string | null;
1168
+ default: string;
1169
1169
  choices: string[];
1170
1170
  };
1171
1171
  };
@@ -1214,7 +1214,7 @@ declare const ChatModelResponseSchemaConfigDef: (maxOutputTokens: number, maxSeq
1214
1214
  param: string;
1215
1215
  title: string;
1216
1216
  description: string;
1217
- default: string | null;
1217
+ default: string;
1218
1218
  choices: string[];
1219
1219
  };
1220
1220
  responseSchema: {
@@ -1313,7 +1313,7 @@ declare const ChatModelResponseSchemaConfigDef: (maxOutputTokens: number, maxSeq
1313
1313
  param: string;
1314
1314
  title: string;
1315
1315
  description: string;
1316
- default: string | null;
1316
+ default: string;
1317
1317
  choices: string[];
1318
1318
  };
1319
1319
  };
@@ -1380,7 +1380,7 @@ declare const EmbeddingModelBaseConfigDef: () => {
1380
1380
  param: string;
1381
1381
  title: string;
1382
1382
  description: string;
1383
- default: string | null;
1383
+ default: string;
1384
1384
  choices: string[];
1385
1385
  };
1386
1386
  };
@@ -1391,7 +1391,7 @@ declare const encodingFormat: {
1391
1391
  param: string;
1392
1392
  title: string;
1393
1393
  description: string;
1394
- default: string | null;
1394
+ default: string;
1395
1395
  choices: string[];
1396
1396
  };
1397
1397
  schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
@@ -1437,7 +1437,7 @@ declare const EmbeddingModelDimensionsConfigDef: (maxDimensions: number) => {
1437
1437
  param: string;
1438
1438
  title: string;
1439
1439
  description: string;
1440
- default: string | null;
1440
+ default: string;
1441
1441
  choices: string[];
1442
1442
  };
1443
1443
  };
@@ -3762,7 +3762,7 @@ declare const GPT_3_5_Turbo_0125Schema: {
3762
3762
  param: string;
3763
3763
  title: string;
3764
3764
  description: string;
3765
- default: string | null;
3765
+ default: string;
3766
3766
  choices: string[];
3767
3767
  }>;
3768
3768
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -3836,7 +3836,7 @@ declare const GPT_3_5_Turbo_1106Schema: {
3836
3836
  param: string;
3837
3837
  title: string;
3838
3838
  description: string;
3839
- default: string | null;
3839
+ default: string;
3840
3840
  choices: string[];
3841
3841
  }>;
3842
3842
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -3910,7 +3910,7 @@ declare const GPT_3_5_TurboSchema: {
3910
3910
  param: string;
3911
3911
  title: string;
3912
3912
  description: string;
3913
- default: string | null;
3913
+ default: string;
3914
3914
  choices: string[];
3915
3915
  }>;
3916
3916
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -3984,7 +3984,7 @@ declare const GPT_4_0125_PreviewSchema: {
3984
3984
  param: string;
3985
3985
  title: string;
3986
3986
  description: string;
3987
- default: string | null;
3987
+ default: string;
3988
3988
  choices: string[];
3989
3989
  }>;
3990
3990
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4058,7 +4058,7 @@ declare const GPT_4_0613Schema: {
4058
4058
  param: string;
4059
4059
  title: string;
4060
4060
  description: string;
4061
- default: string | null;
4061
+ default: string;
4062
4062
  choices: string[];
4063
4063
  }>;
4064
4064
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4132,7 +4132,7 @@ declare const GPT_4_1106_PreviewSchema: {
4132
4132
  param: string;
4133
4133
  title: string;
4134
4134
  description: string;
4135
- default: string | null;
4135
+ default: string;
4136
4136
  choices: string[];
4137
4137
  }>;
4138
4138
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4206,7 +4206,7 @@ declare const GPT_4_Turbo_2024_04_09Schema: {
4206
4206
  param: string;
4207
4207
  title: string;
4208
4208
  description: string;
4209
- default: string | null;
4209
+ default: string;
4210
4210
  choices: string[];
4211
4211
  }>;
4212
4212
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4280,7 +4280,7 @@ declare const GPT_4_Turbo_PreviewSchema: {
4280
4280
  param: string;
4281
4281
  title: string;
4282
4282
  description: string;
4283
- default: string | null;
4283
+ default: string;
4284
4284
  choices: string[];
4285
4285
  }>;
4286
4286
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4354,7 +4354,7 @@ declare const GPT_4_TurboSchema: {
4354
4354
  param: string;
4355
4355
  title: string;
4356
4356
  description: string;
4357
- default: string | null;
4357
+ default: string;
4358
4358
  choices: string[];
4359
4359
  }>;
4360
4360
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4428,7 +4428,7 @@ declare const GPT_4Schema: {
4428
4428
  param: string;
4429
4429
  title: string;
4430
4430
  description: string;
4431
- default: string | null;
4431
+ default: string;
4432
4432
  choices: string[];
4433
4433
  }>;
4434
4434
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4502,7 +4502,7 @@ declare const GPT_4o_2024_05_13Schema: {
4502
4502
  param: string;
4503
4503
  title: string;
4504
4504
  description: string;
4505
- default: string | null;
4505
+ default: string;
4506
4506
  choices: string[];
4507
4507
  }>;
4508
4508
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4576,7 +4576,7 @@ declare const GPT_4o_2024_08_06Schema: {
4576
4576
  param: string;
4577
4577
  title: string;
4578
4578
  description: string;
4579
- default: string | null;
4579
+ default: string;
4580
4580
  choices: string[];
4581
4581
  }>;
4582
4582
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4650,7 +4650,7 @@ declare const GPT_4o_Mini_2024_07_18Schema: {
4650
4650
  param: string;
4651
4651
  title: string;
4652
4652
  description: string;
4653
- default: string | null;
4653
+ default: string;
4654
4654
  choices: string[];
4655
4655
  }>;
4656
4656
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4724,7 +4724,7 @@ declare const GPT_4o_MiniSchema: {
4724
4724
  param: string;
4725
4725
  title: string;
4726
4726
  description: string;
4727
- default: string | null;
4727
+ default: string;
4728
4728
  choices: string[];
4729
4729
  }>;
4730
4730
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4798,7 +4798,7 @@ declare const GPT_4oSchema: {
4798
4798
  param: string;
4799
4799
  title: string;
4800
4800
  description: string;
4801
- default: string | null;
4801
+ default: string;
4802
4802
  choices: string[];
4803
4803
  }>;
4804
4804
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4872,7 +4872,7 @@ declare const O1_2024_12_17Schema: {
4872
4872
  param: string;
4873
4873
  title: string;
4874
4874
  description: string;
4875
- default: string | null;
4875
+ default: string;
4876
4876
  choices: string[];
4877
4877
  }>;
4878
4878
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4946,7 +4946,7 @@ declare const O1_Mini_2024_09_12Schema: {
4946
4946
  param: string;
4947
4947
  title: string;
4948
4948
  description: string;
4949
- default: string | null;
4949
+ default: string;
4950
4950
  choices: string[];
4951
4951
  }>;
4952
4952
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5020,7 +5020,7 @@ declare const O1_MiniSchema: {
5020
5020
  param: string;
5021
5021
  title: string;
5022
5022
  description: string;
5023
- default: string | null;
5023
+ default: string;
5024
5024
  choices: string[];
5025
5025
  }>;
5026
5026
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5094,7 +5094,7 @@ declare const O1_PreviewSchema: {
5094
5094
  param: string;
5095
5095
  title: string;
5096
5096
  description: string;
5097
- default: string | null;
5097
+ default: string;
5098
5098
  choices: string[];
5099
5099
  }>;
5100
5100
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5168,7 +5168,7 @@ declare const O1Schema: {
5168
5168
  param: string;
5169
5169
  title: string;
5170
5170
  description: string;
5171
- default: string | null;
5171
+ default: string;
5172
5172
  choices: string[];
5173
5173
  }>;
5174
5174
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5362,7 +5362,7 @@ declare const Text_Embedding_Ada002Schema: {
5362
5362
  param: string;
5363
5363
  title: string;
5364
5364
  description: string;
5365
- default: string | null;
5365
+ default: string;
5366
5366
  choices: string[];
5367
5367
  }>;
5368
5368
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5429,7 +5429,7 @@ declare const Text_Embedding_3_SmallSchema: {
5429
5429
  param: string;
5430
5430
  title: string;
5431
5431
  description: string;
5432
- default: string | null;
5432
+ default: string;
5433
5433
  choices: string[];
5434
5434
  }>;
5435
5435
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5496,7 +5496,7 @@ declare const Text_Embedding_3_LargeSchema: {
5496
5496
  param: string;
5497
5497
  title: string;
5498
5498
  description: string;
5499
- default: string | null;
5499
+ default: string;
5500
5500
  choices: string[];
5501
5501
  }>;
5502
5502
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
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 | null;
98
+ default: string;
99
99
  choices: string[];
100
100
  };
101
101
  };
@@ -141,7 +141,7 @@ declare const OpenAIChatModelConfigs: {
141
141
  param: string;
142
142
  title: string;
143
143
  description: string;
144
- default: string | null;
144
+ default: string;
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 | null;
236
+ default: string;
237
237
  choices: string[];
238
238
  };
239
239
  };
@@ -283,7 +283,7 @@ declare const OpenAIChatModelConfigs: {
283
283
  param: string;
284
284
  title: string;
285
285
  description: string;
286
- default: string | null;
286
+ default: string;
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 | null;
385
+ default: string;
386
386
  choices: string[];
387
387
  };
388
388
  };
@@ -453,7 +453,7 @@ declare const OpenAIChatModelConfigs: {
453
453
  param: string;
454
454
  title: string;
455
455
  description: string;
456
- default: string | null;
456
+ default: string;
457
457
  choices: string[];
458
458
  };
459
459
  responseSchema: {
@@ -542,7 +542,7 @@ declare const OpenAIChatModelConfigs: {
542
542
  param: string;
543
543
  title: string;
544
544
  description: string;
545
- default: string | null;
545
+ default: string;
546
546
  choices: string[];
547
547
  };
548
548
  };
@@ -607,7 +607,7 @@ declare const OpenAIEmbeddingModelConfigs: {
607
607
  param: string;
608
608
  title: string;
609
609
  description: string;
610
- default: string | null;
610
+ default: string;
611
611
  choices: string[];
612
612
  };
613
613
  };
@@ -636,7 +636,7 @@ declare const OpenAIEmbeddingModelConfigs: {
636
636
  param: string;
637
637
  title: string;
638
638
  description: string;
639
- default: string | null;
639
+ default: string;
640
640
  choices: string[];
641
641
  };
642
642
  };
@@ -778,7 +778,7 @@ declare const ChatModelBaseConfigDef: (maxOutputTokens: number, maxSequences: nu
778
778
  param: string;
779
779
  title: string;
780
780
  description: string;
781
- default: string | null;
781
+ default: string;
782
782
  choices: string[];
783
783
  };
784
784
  };
@@ -900,7 +900,7 @@ declare const toolChoice: {
900
900
  param: string;
901
901
  title: string;
902
902
  description: string;
903
- default: string | null;
903
+ default: string;
904
904
  choices: string[];
905
905
  };
906
906
  schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
@@ -922,7 +922,7 @@ declare const ChatModelOSeriesConfigDef: (maxOutputTokens: number, maxSequences:
922
922
  param: string;
923
923
  title: string;
924
924
  description: string;
925
- default: string | null;
925
+ default: string;
926
926
  choices: string[];
927
927
  };
928
928
  responseSchema: {
@@ -1011,7 +1011,7 @@ declare const ChatModelOSeriesConfigDef: (maxOutputTokens: number, maxSequences:
1011
1011
  param: string;
1012
1012
  title: string;
1013
1013
  description: string;
1014
- default: string | null;
1014
+ default: string;
1015
1015
  choices: string[];
1016
1016
  };
1017
1017
  };
@@ -1073,7 +1073,7 @@ declare const ChatModelResponseFormatConfigDef: (maxOutputTokens: number, maxSeq
1073
1073
  param: string;
1074
1074
  title: string;
1075
1075
  description: string;
1076
- default: string | null;
1076
+ default: string;
1077
1077
  choices: string[];
1078
1078
  };
1079
1079
  temperature: {
@@ -1165,7 +1165,7 @@ declare const ChatModelResponseFormatConfigDef: (maxOutputTokens: number, maxSeq
1165
1165
  param: string;
1166
1166
  title: string;
1167
1167
  description: string;
1168
- default: string | null;
1168
+ default: string;
1169
1169
  choices: string[];
1170
1170
  };
1171
1171
  };
@@ -1214,7 +1214,7 @@ declare const ChatModelResponseSchemaConfigDef: (maxOutputTokens: number, maxSeq
1214
1214
  param: string;
1215
1215
  title: string;
1216
1216
  description: string;
1217
- default: string | null;
1217
+ default: string;
1218
1218
  choices: string[];
1219
1219
  };
1220
1220
  responseSchema: {
@@ -1313,7 +1313,7 @@ declare const ChatModelResponseSchemaConfigDef: (maxOutputTokens: number, maxSeq
1313
1313
  param: string;
1314
1314
  title: string;
1315
1315
  description: string;
1316
- default: string | null;
1316
+ default: string;
1317
1317
  choices: string[];
1318
1318
  };
1319
1319
  };
@@ -1380,7 +1380,7 @@ declare const EmbeddingModelBaseConfigDef: () => {
1380
1380
  param: string;
1381
1381
  title: string;
1382
1382
  description: string;
1383
- default: string | null;
1383
+ default: string;
1384
1384
  choices: string[];
1385
1385
  };
1386
1386
  };
@@ -1391,7 +1391,7 @@ declare const encodingFormat: {
1391
1391
  param: string;
1392
1392
  title: string;
1393
1393
  description: string;
1394
- default: string | null;
1394
+ default: string;
1395
1395
  choices: string[];
1396
1396
  };
1397
1397
  schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
@@ -1437,7 +1437,7 @@ declare const EmbeddingModelDimensionsConfigDef: (maxDimensions: number) => {
1437
1437
  param: string;
1438
1438
  title: string;
1439
1439
  description: string;
1440
- default: string | null;
1440
+ default: string;
1441
1441
  choices: string[];
1442
1442
  };
1443
1443
  };
@@ -3762,7 +3762,7 @@ declare const GPT_3_5_Turbo_0125Schema: {
3762
3762
  param: string;
3763
3763
  title: string;
3764
3764
  description: string;
3765
- default: string | null;
3765
+ default: string;
3766
3766
  choices: string[];
3767
3767
  }>;
3768
3768
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -3836,7 +3836,7 @@ declare const GPT_3_5_Turbo_1106Schema: {
3836
3836
  param: string;
3837
3837
  title: string;
3838
3838
  description: string;
3839
- default: string | null;
3839
+ default: string;
3840
3840
  choices: string[];
3841
3841
  }>;
3842
3842
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -3910,7 +3910,7 @@ declare const GPT_3_5_TurboSchema: {
3910
3910
  param: string;
3911
3911
  title: string;
3912
3912
  description: string;
3913
- default: string | null;
3913
+ default: string;
3914
3914
  choices: string[];
3915
3915
  }>;
3916
3916
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -3984,7 +3984,7 @@ declare const GPT_4_0125_PreviewSchema: {
3984
3984
  param: string;
3985
3985
  title: string;
3986
3986
  description: string;
3987
- default: string | null;
3987
+ default: string;
3988
3988
  choices: string[];
3989
3989
  }>;
3990
3990
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4058,7 +4058,7 @@ declare const GPT_4_0613Schema: {
4058
4058
  param: string;
4059
4059
  title: string;
4060
4060
  description: string;
4061
- default: string | null;
4061
+ default: string;
4062
4062
  choices: string[];
4063
4063
  }>;
4064
4064
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4132,7 +4132,7 @@ declare const GPT_4_1106_PreviewSchema: {
4132
4132
  param: string;
4133
4133
  title: string;
4134
4134
  description: string;
4135
- default: string | null;
4135
+ default: string;
4136
4136
  choices: string[];
4137
4137
  }>;
4138
4138
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4206,7 +4206,7 @@ declare const GPT_4_Turbo_2024_04_09Schema: {
4206
4206
  param: string;
4207
4207
  title: string;
4208
4208
  description: string;
4209
- default: string | null;
4209
+ default: string;
4210
4210
  choices: string[];
4211
4211
  }>;
4212
4212
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4280,7 +4280,7 @@ declare const GPT_4_Turbo_PreviewSchema: {
4280
4280
  param: string;
4281
4281
  title: string;
4282
4282
  description: string;
4283
- default: string | null;
4283
+ default: string;
4284
4284
  choices: string[];
4285
4285
  }>;
4286
4286
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4354,7 +4354,7 @@ declare const GPT_4_TurboSchema: {
4354
4354
  param: string;
4355
4355
  title: string;
4356
4356
  description: string;
4357
- default: string | null;
4357
+ default: string;
4358
4358
  choices: string[];
4359
4359
  }>;
4360
4360
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4428,7 +4428,7 @@ declare const GPT_4Schema: {
4428
4428
  param: string;
4429
4429
  title: string;
4430
4430
  description: string;
4431
- default: string | null;
4431
+ default: string;
4432
4432
  choices: string[];
4433
4433
  }>;
4434
4434
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4502,7 +4502,7 @@ declare const GPT_4o_2024_05_13Schema: {
4502
4502
  param: string;
4503
4503
  title: string;
4504
4504
  description: string;
4505
- default: string | null;
4505
+ default: string;
4506
4506
  choices: string[];
4507
4507
  }>;
4508
4508
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4576,7 +4576,7 @@ declare const GPT_4o_2024_08_06Schema: {
4576
4576
  param: string;
4577
4577
  title: string;
4578
4578
  description: string;
4579
- default: string | null;
4579
+ default: string;
4580
4580
  choices: string[];
4581
4581
  }>;
4582
4582
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4650,7 +4650,7 @@ declare const GPT_4o_Mini_2024_07_18Schema: {
4650
4650
  param: string;
4651
4651
  title: string;
4652
4652
  description: string;
4653
- default: string | null;
4653
+ default: string;
4654
4654
  choices: string[];
4655
4655
  }>;
4656
4656
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4724,7 +4724,7 @@ declare const GPT_4o_MiniSchema: {
4724
4724
  param: string;
4725
4725
  title: string;
4726
4726
  description: string;
4727
- default: string | null;
4727
+ default: string;
4728
4728
  choices: string[];
4729
4729
  }>;
4730
4730
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4798,7 +4798,7 @@ declare const GPT_4oSchema: {
4798
4798
  param: string;
4799
4799
  title: string;
4800
4800
  description: string;
4801
- default: string | null;
4801
+ default: string;
4802
4802
  choices: string[];
4803
4803
  }>;
4804
4804
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4872,7 +4872,7 @@ declare const O1_2024_12_17Schema: {
4872
4872
  param: string;
4873
4873
  title: string;
4874
4874
  description: string;
4875
- default: string | null;
4875
+ default: string;
4876
4876
  choices: string[];
4877
4877
  }>;
4878
4878
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -4946,7 +4946,7 @@ declare const O1_Mini_2024_09_12Schema: {
4946
4946
  param: string;
4947
4947
  title: string;
4948
4948
  description: string;
4949
- default: string | null;
4949
+ default: string;
4950
4950
  choices: string[];
4951
4951
  }>;
4952
4952
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5020,7 +5020,7 @@ declare const O1_MiniSchema: {
5020
5020
  param: string;
5021
5021
  title: string;
5022
5022
  description: string;
5023
- default: string | null;
5023
+ default: string;
5024
5024
  choices: string[];
5025
5025
  }>;
5026
5026
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5094,7 +5094,7 @@ declare const O1_PreviewSchema: {
5094
5094
  param: string;
5095
5095
  title: string;
5096
5096
  description: string;
5097
- default: string | null;
5097
+ default: string;
5098
5098
  choices: string[];
5099
5099
  }>;
5100
5100
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5168,7 +5168,7 @@ declare const O1Schema: {
5168
5168
  param: string;
5169
5169
  title: string;
5170
5170
  description: string;
5171
- default: string | null;
5171
+ default: string;
5172
5172
  choices: string[];
5173
5173
  }>;
5174
5174
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5362,7 +5362,7 @@ declare const Text_Embedding_Ada002Schema: {
5362
5362
  param: string;
5363
5363
  title: string;
5364
5364
  description: string;
5365
- default: string | null;
5365
+ default: string;
5366
5366
  choices: string[];
5367
5367
  }>;
5368
5368
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5429,7 +5429,7 @@ declare const Text_Embedding_3_SmallSchema: {
5429
5429
  param: string;
5430
5430
  title: string;
5431
5431
  description: string;
5432
- default: string | null;
5432
+ default: string;
5433
5433
  choices: string[];
5434
5434
  }>;
5435
5435
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -5496,7 +5496,7 @@ declare const Text_Embedding_3_LargeSchema: {
5496
5496
  param: string;
5497
5497
  title: string;
5498
5498
  description: string;
5499
- default: string | null;
5499
+ default: string;
5500
5500
  choices: string[];
5501
5501
  }>;
5502
5502
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaline/openai",
3
- "version": "0.28.0",
3
+ "version": "0.29.0",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "private": false,
@@ -46,8 +46,8 @@
46
46
  ],
47
47
  "dependencies": {
48
48
  "zod": "^3.23.8",
49
- "@adaline/provider": "0.22.0",
50
- "@adaline/types": "0.20.0"
49
+ "@adaline/provider": "0.23.0",
50
+ "@adaline/types": "0.21.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@adaline/tsconfig": "0.11.0",