@adaline/openai 0.28.0 → 0.30.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 +63 -43
- package/dist/index.d.ts +63 -43
- package/package.json +5 -5
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1440
|
+
default: string;
|
|
1441
1441
|
choices: string[];
|
|
1442
1442
|
};
|
|
1443
1443
|
};
|
|
@@ -3762,11 +3762,12 @@ declare const GPT_3_5_Turbo_0125Schema: {
|
|
|
3762
3762
|
param: string;
|
|
3763
3763
|
title: string;
|
|
3764
3764
|
description: string;
|
|
3765
|
-
default: string
|
|
3765
|
+
default: string;
|
|
3766
3766
|
choices: string[];
|
|
3767
3767
|
}>;
|
|
3768
3768
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3769
3769
|
};
|
|
3770
|
+
maxReasoningTokens?: number | undefined;
|
|
3770
3771
|
};
|
|
3771
3772
|
declare const GPT_3_5_Turbo_0125Options: z.ZodObject<{
|
|
3772
3773
|
modelName: z.ZodString;
|
|
@@ -3836,11 +3837,12 @@ declare const GPT_3_5_Turbo_1106Schema: {
|
|
|
3836
3837
|
param: string;
|
|
3837
3838
|
title: string;
|
|
3838
3839
|
description: string;
|
|
3839
|
-
default: string
|
|
3840
|
+
default: string;
|
|
3840
3841
|
choices: string[];
|
|
3841
3842
|
}>;
|
|
3842
3843
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3843
3844
|
};
|
|
3845
|
+
maxReasoningTokens?: number | undefined;
|
|
3844
3846
|
};
|
|
3845
3847
|
declare const GPT_3_5_Turbo_1106Options: z.ZodObject<{
|
|
3846
3848
|
modelName: z.ZodString;
|
|
@@ -3910,11 +3912,12 @@ declare const GPT_3_5_TurboSchema: {
|
|
|
3910
3912
|
param: string;
|
|
3911
3913
|
title: string;
|
|
3912
3914
|
description: string;
|
|
3913
|
-
default: string
|
|
3915
|
+
default: string;
|
|
3914
3916
|
choices: string[];
|
|
3915
3917
|
}>;
|
|
3916
3918
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3917
3919
|
};
|
|
3920
|
+
maxReasoningTokens?: number | undefined;
|
|
3918
3921
|
};
|
|
3919
3922
|
declare const GPT_3_5_TurboOptions: z.ZodObject<{
|
|
3920
3923
|
modelName: z.ZodString;
|
|
@@ -3984,11 +3987,12 @@ declare const GPT_4_0125_PreviewSchema: {
|
|
|
3984
3987
|
param: string;
|
|
3985
3988
|
title: string;
|
|
3986
3989
|
description: string;
|
|
3987
|
-
default: string
|
|
3990
|
+
default: string;
|
|
3988
3991
|
choices: string[];
|
|
3989
3992
|
}>;
|
|
3990
3993
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3991
3994
|
};
|
|
3995
|
+
maxReasoningTokens?: number | undefined;
|
|
3992
3996
|
};
|
|
3993
3997
|
declare const GPT_4_0125_PreviewOptions: z.ZodObject<{
|
|
3994
3998
|
modelName: z.ZodString;
|
|
@@ -4058,11 +4062,12 @@ declare const GPT_4_0613Schema: {
|
|
|
4058
4062
|
param: string;
|
|
4059
4063
|
title: string;
|
|
4060
4064
|
description: string;
|
|
4061
|
-
default: string
|
|
4065
|
+
default: string;
|
|
4062
4066
|
choices: string[];
|
|
4063
4067
|
}>;
|
|
4064
4068
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4065
4069
|
};
|
|
4070
|
+
maxReasoningTokens?: number | undefined;
|
|
4066
4071
|
};
|
|
4067
4072
|
declare const GPT_4_0613Options: z.ZodObject<{
|
|
4068
4073
|
modelName: z.ZodString;
|
|
@@ -4132,11 +4137,12 @@ declare const GPT_4_1106_PreviewSchema: {
|
|
|
4132
4137
|
param: string;
|
|
4133
4138
|
title: string;
|
|
4134
4139
|
description: string;
|
|
4135
|
-
default: string
|
|
4140
|
+
default: string;
|
|
4136
4141
|
choices: string[];
|
|
4137
4142
|
}>;
|
|
4138
4143
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4139
4144
|
};
|
|
4145
|
+
maxReasoningTokens?: number | undefined;
|
|
4140
4146
|
};
|
|
4141
4147
|
declare const GPT_4_1106_PreviewOptions: z.ZodObject<{
|
|
4142
4148
|
modelName: z.ZodString;
|
|
@@ -4206,11 +4212,12 @@ declare const GPT_4_Turbo_2024_04_09Schema: {
|
|
|
4206
4212
|
param: string;
|
|
4207
4213
|
title: string;
|
|
4208
4214
|
description: string;
|
|
4209
|
-
default: string
|
|
4215
|
+
default: string;
|
|
4210
4216
|
choices: string[];
|
|
4211
4217
|
}>;
|
|
4212
4218
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4213
4219
|
};
|
|
4220
|
+
maxReasoningTokens?: number | undefined;
|
|
4214
4221
|
};
|
|
4215
4222
|
declare const GPT_4_Turbo_2024_04_09Options: z.ZodObject<{
|
|
4216
4223
|
modelName: z.ZodString;
|
|
@@ -4280,11 +4287,12 @@ declare const GPT_4_Turbo_PreviewSchema: {
|
|
|
4280
4287
|
param: string;
|
|
4281
4288
|
title: string;
|
|
4282
4289
|
description: string;
|
|
4283
|
-
default: string
|
|
4290
|
+
default: string;
|
|
4284
4291
|
choices: string[];
|
|
4285
4292
|
}>;
|
|
4286
4293
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4287
4294
|
};
|
|
4295
|
+
maxReasoningTokens?: number | undefined;
|
|
4288
4296
|
};
|
|
4289
4297
|
declare const GPT_4_Turbo_PreviewOptions: z.ZodObject<{
|
|
4290
4298
|
modelName: z.ZodString;
|
|
@@ -4354,11 +4362,12 @@ declare const GPT_4_TurboSchema: {
|
|
|
4354
4362
|
param: string;
|
|
4355
4363
|
title: string;
|
|
4356
4364
|
description: string;
|
|
4357
|
-
default: string
|
|
4365
|
+
default: string;
|
|
4358
4366
|
choices: string[];
|
|
4359
4367
|
}>;
|
|
4360
4368
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4361
4369
|
};
|
|
4370
|
+
maxReasoningTokens?: number | undefined;
|
|
4362
4371
|
};
|
|
4363
4372
|
declare const GPT_4_TurboOptions: z.ZodObject<{
|
|
4364
4373
|
modelName: z.ZodString;
|
|
@@ -4428,11 +4437,12 @@ declare const GPT_4Schema: {
|
|
|
4428
4437
|
param: string;
|
|
4429
4438
|
title: string;
|
|
4430
4439
|
description: string;
|
|
4431
|
-
default: string
|
|
4440
|
+
default: string;
|
|
4432
4441
|
choices: string[];
|
|
4433
4442
|
}>;
|
|
4434
4443
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4435
4444
|
};
|
|
4445
|
+
maxReasoningTokens?: number | undefined;
|
|
4436
4446
|
};
|
|
4437
4447
|
declare const GPT_4Options: z.ZodObject<{
|
|
4438
4448
|
modelName: z.ZodString;
|
|
@@ -4502,11 +4512,12 @@ declare const GPT_4o_2024_05_13Schema: {
|
|
|
4502
4512
|
param: string;
|
|
4503
4513
|
title: string;
|
|
4504
4514
|
description: string;
|
|
4505
|
-
default: string
|
|
4515
|
+
default: string;
|
|
4506
4516
|
choices: string[];
|
|
4507
4517
|
}>;
|
|
4508
4518
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4509
4519
|
};
|
|
4520
|
+
maxReasoningTokens?: number | undefined;
|
|
4510
4521
|
};
|
|
4511
4522
|
declare const GPT_4o_2024_05_13Options: z.ZodObject<{
|
|
4512
4523
|
modelName: z.ZodString;
|
|
@@ -4576,11 +4587,12 @@ declare const GPT_4o_2024_08_06Schema: {
|
|
|
4576
4587
|
param: string;
|
|
4577
4588
|
title: string;
|
|
4578
4589
|
description: string;
|
|
4579
|
-
default: string
|
|
4590
|
+
default: string;
|
|
4580
4591
|
choices: string[];
|
|
4581
4592
|
}>;
|
|
4582
4593
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4583
4594
|
};
|
|
4595
|
+
maxReasoningTokens?: number | undefined;
|
|
4584
4596
|
};
|
|
4585
4597
|
declare const GPT_4o_2024_08_06Options: z.ZodObject<{
|
|
4586
4598
|
modelName: z.ZodString;
|
|
@@ -4650,11 +4662,12 @@ declare const GPT_4o_Mini_2024_07_18Schema: {
|
|
|
4650
4662
|
param: string;
|
|
4651
4663
|
title: string;
|
|
4652
4664
|
description: string;
|
|
4653
|
-
default: string
|
|
4665
|
+
default: string;
|
|
4654
4666
|
choices: string[];
|
|
4655
4667
|
}>;
|
|
4656
4668
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4657
4669
|
};
|
|
4670
|
+
maxReasoningTokens?: number | undefined;
|
|
4658
4671
|
};
|
|
4659
4672
|
declare const GPT_4o_Mini_2024_07_18Options: z.ZodObject<{
|
|
4660
4673
|
modelName: z.ZodString;
|
|
@@ -4724,11 +4737,12 @@ declare const GPT_4o_MiniSchema: {
|
|
|
4724
4737
|
param: string;
|
|
4725
4738
|
title: string;
|
|
4726
4739
|
description: string;
|
|
4727
|
-
default: string
|
|
4740
|
+
default: string;
|
|
4728
4741
|
choices: string[];
|
|
4729
4742
|
}>;
|
|
4730
4743
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4731
4744
|
};
|
|
4745
|
+
maxReasoningTokens?: number | undefined;
|
|
4732
4746
|
};
|
|
4733
4747
|
declare const GPT_4o_MiniOptions: z.ZodObject<{
|
|
4734
4748
|
modelName: z.ZodString;
|
|
@@ -4798,11 +4812,12 @@ declare const GPT_4oSchema: {
|
|
|
4798
4812
|
param: string;
|
|
4799
4813
|
title: string;
|
|
4800
4814
|
description: string;
|
|
4801
|
-
default: string
|
|
4815
|
+
default: string;
|
|
4802
4816
|
choices: string[];
|
|
4803
4817
|
}>;
|
|
4804
4818
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4805
4819
|
};
|
|
4820
|
+
maxReasoningTokens?: number | undefined;
|
|
4806
4821
|
};
|
|
4807
4822
|
declare const GPT_4oOptions: z.ZodObject<{
|
|
4808
4823
|
modelName: z.ZodString;
|
|
@@ -4872,11 +4887,12 @@ declare const O1_2024_12_17Schema: {
|
|
|
4872
4887
|
param: string;
|
|
4873
4888
|
title: string;
|
|
4874
4889
|
description: string;
|
|
4875
|
-
default: string
|
|
4890
|
+
default: string;
|
|
4876
4891
|
choices: string[];
|
|
4877
4892
|
}>;
|
|
4878
4893
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4879
4894
|
};
|
|
4895
|
+
maxReasoningTokens?: number | undefined;
|
|
4880
4896
|
};
|
|
4881
4897
|
declare const O1_2024_12_17Options: z.ZodObject<{
|
|
4882
4898
|
modelName: z.ZodString;
|
|
@@ -4946,11 +4962,12 @@ declare const O1_Mini_2024_09_12Schema: {
|
|
|
4946
4962
|
param: string;
|
|
4947
4963
|
title: string;
|
|
4948
4964
|
description: string;
|
|
4949
|
-
default: string
|
|
4965
|
+
default: string;
|
|
4950
4966
|
choices: string[];
|
|
4951
4967
|
}>;
|
|
4952
4968
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4953
4969
|
};
|
|
4970
|
+
maxReasoningTokens?: number | undefined;
|
|
4954
4971
|
};
|
|
4955
4972
|
declare const O1_Mini_2024_09_12Options: z.ZodObject<{
|
|
4956
4973
|
modelName: z.ZodString;
|
|
@@ -5020,11 +5037,12 @@ declare const O1_MiniSchema: {
|
|
|
5020
5037
|
param: string;
|
|
5021
5038
|
title: string;
|
|
5022
5039
|
description: string;
|
|
5023
|
-
default: string
|
|
5040
|
+
default: string;
|
|
5024
5041
|
choices: string[];
|
|
5025
5042
|
}>;
|
|
5026
5043
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5027
5044
|
};
|
|
5045
|
+
maxReasoningTokens?: number | undefined;
|
|
5028
5046
|
};
|
|
5029
5047
|
declare const O1_MiniOptions: z.ZodObject<{
|
|
5030
5048
|
modelName: z.ZodString;
|
|
@@ -5094,11 +5112,12 @@ declare const O1_PreviewSchema: {
|
|
|
5094
5112
|
param: string;
|
|
5095
5113
|
title: string;
|
|
5096
5114
|
description: string;
|
|
5097
|
-
default: string
|
|
5115
|
+
default: string;
|
|
5098
5116
|
choices: string[];
|
|
5099
5117
|
}>;
|
|
5100
5118
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5101
5119
|
};
|
|
5120
|
+
maxReasoningTokens?: number | undefined;
|
|
5102
5121
|
};
|
|
5103
5122
|
declare const O1_PreviewOptions: z.ZodObject<{
|
|
5104
5123
|
modelName: z.ZodString;
|
|
@@ -5168,11 +5187,12 @@ declare const O1Schema: {
|
|
|
5168
5187
|
param: string;
|
|
5169
5188
|
title: string;
|
|
5170
5189
|
description: string;
|
|
5171
|
-
default: string
|
|
5190
|
+
default: string;
|
|
5172
5191
|
choices: string[];
|
|
5173
5192
|
}>;
|
|
5174
5193
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5175
5194
|
};
|
|
5195
|
+
maxReasoningTokens?: number | undefined;
|
|
5176
5196
|
};
|
|
5177
5197
|
declare const O1Options: z.ZodObject<{
|
|
5178
5198
|
modelName: z.ZodString;
|
|
@@ -5362,7 +5382,7 @@ declare const Text_Embedding_Ada002Schema: {
|
|
|
5362
5382
|
param: string;
|
|
5363
5383
|
title: string;
|
|
5364
5384
|
description: string;
|
|
5365
|
-
default: string
|
|
5385
|
+
default: string;
|
|
5366
5386
|
choices: string[];
|
|
5367
5387
|
}>;
|
|
5368
5388
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -5429,7 +5449,7 @@ declare const Text_Embedding_3_SmallSchema: {
|
|
|
5429
5449
|
param: string;
|
|
5430
5450
|
title: string;
|
|
5431
5451
|
description: string;
|
|
5432
|
-
default: string
|
|
5452
|
+
default: string;
|
|
5433
5453
|
choices: string[];
|
|
5434
5454
|
}>;
|
|
5435
5455
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -5496,7 +5516,7 @@ declare const Text_Embedding_3_LargeSchema: {
|
|
|
5496
5516
|
param: string;
|
|
5497
5517
|
title: string;
|
|
5498
5518
|
description: string;
|
|
5499
|
-
default: string
|
|
5519
|
+
default: string;
|
|
5500
5520
|
choices: string[];
|
|
5501
5521
|
}>;
|
|
5502
5522
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1440
|
+
default: string;
|
|
1441
1441
|
choices: string[];
|
|
1442
1442
|
};
|
|
1443
1443
|
};
|
|
@@ -3762,11 +3762,12 @@ declare const GPT_3_5_Turbo_0125Schema: {
|
|
|
3762
3762
|
param: string;
|
|
3763
3763
|
title: string;
|
|
3764
3764
|
description: string;
|
|
3765
|
-
default: string
|
|
3765
|
+
default: string;
|
|
3766
3766
|
choices: string[];
|
|
3767
3767
|
}>;
|
|
3768
3768
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3769
3769
|
};
|
|
3770
|
+
maxReasoningTokens?: number | undefined;
|
|
3770
3771
|
};
|
|
3771
3772
|
declare const GPT_3_5_Turbo_0125Options: z.ZodObject<{
|
|
3772
3773
|
modelName: z.ZodString;
|
|
@@ -3836,11 +3837,12 @@ declare const GPT_3_5_Turbo_1106Schema: {
|
|
|
3836
3837
|
param: string;
|
|
3837
3838
|
title: string;
|
|
3838
3839
|
description: string;
|
|
3839
|
-
default: string
|
|
3840
|
+
default: string;
|
|
3840
3841
|
choices: string[];
|
|
3841
3842
|
}>;
|
|
3842
3843
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3843
3844
|
};
|
|
3845
|
+
maxReasoningTokens?: number | undefined;
|
|
3844
3846
|
};
|
|
3845
3847
|
declare const GPT_3_5_Turbo_1106Options: z.ZodObject<{
|
|
3846
3848
|
modelName: z.ZodString;
|
|
@@ -3910,11 +3912,12 @@ declare const GPT_3_5_TurboSchema: {
|
|
|
3910
3912
|
param: string;
|
|
3911
3913
|
title: string;
|
|
3912
3914
|
description: string;
|
|
3913
|
-
default: string
|
|
3915
|
+
default: string;
|
|
3914
3916
|
choices: string[];
|
|
3915
3917
|
}>;
|
|
3916
3918
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3917
3919
|
};
|
|
3920
|
+
maxReasoningTokens?: number | undefined;
|
|
3918
3921
|
};
|
|
3919
3922
|
declare const GPT_3_5_TurboOptions: z.ZodObject<{
|
|
3920
3923
|
modelName: z.ZodString;
|
|
@@ -3984,11 +3987,12 @@ declare const GPT_4_0125_PreviewSchema: {
|
|
|
3984
3987
|
param: string;
|
|
3985
3988
|
title: string;
|
|
3986
3989
|
description: string;
|
|
3987
|
-
default: string
|
|
3990
|
+
default: string;
|
|
3988
3991
|
choices: string[];
|
|
3989
3992
|
}>;
|
|
3990
3993
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3991
3994
|
};
|
|
3995
|
+
maxReasoningTokens?: number | undefined;
|
|
3992
3996
|
};
|
|
3993
3997
|
declare const GPT_4_0125_PreviewOptions: z.ZodObject<{
|
|
3994
3998
|
modelName: z.ZodString;
|
|
@@ -4058,11 +4062,12 @@ declare const GPT_4_0613Schema: {
|
|
|
4058
4062
|
param: string;
|
|
4059
4063
|
title: string;
|
|
4060
4064
|
description: string;
|
|
4061
|
-
default: string
|
|
4065
|
+
default: string;
|
|
4062
4066
|
choices: string[];
|
|
4063
4067
|
}>;
|
|
4064
4068
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4065
4069
|
};
|
|
4070
|
+
maxReasoningTokens?: number | undefined;
|
|
4066
4071
|
};
|
|
4067
4072
|
declare const GPT_4_0613Options: z.ZodObject<{
|
|
4068
4073
|
modelName: z.ZodString;
|
|
@@ -4132,11 +4137,12 @@ declare const GPT_4_1106_PreviewSchema: {
|
|
|
4132
4137
|
param: string;
|
|
4133
4138
|
title: string;
|
|
4134
4139
|
description: string;
|
|
4135
|
-
default: string
|
|
4140
|
+
default: string;
|
|
4136
4141
|
choices: string[];
|
|
4137
4142
|
}>;
|
|
4138
4143
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4139
4144
|
};
|
|
4145
|
+
maxReasoningTokens?: number | undefined;
|
|
4140
4146
|
};
|
|
4141
4147
|
declare const GPT_4_1106_PreviewOptions: z.ZodObject<{
|
|
4142
4148
|
modelName: z.ZodString;
|
|
@@ -4206,11 +4212,12 @@ declare const GPT_4_Turbo_2024_04_09Schema: {
|
|
|
4206
4212
|
param: string;
|
|
4207
4213
|
title: string;
|
|
4208
4214
|
description: string;
|
|
4209
|
-
default: string
|
|
4215
|
+
default: string;
|
|
4210
4216
|
choices: string[];
|
|
4211
4217
|
}>;
|
|
4212
4218
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4213
4219
|
};
|
|
4220
|
+
maxReasoningTokens?: number | undefined;
|
|
4214
4221
|
};
|
|
4215
4222
|
declare const GPT_4_Turbo_2024_04_09Options: z.ZodObject<{
|
|
4216
4223
|
modelName: z.ZodString;
|
|
@@ -4280,11 +4287,12 @@ declare const GPT_4_Turbo_PreviewSchema: {
|
|
|
4280
4287
|
param: string;
|
|
4281
4288
|
title: string;
|
|
4282
4289
|
description: string;
|
|
4283
|
-
default: string
|
|
4290
|
+
default: string;
|
|
4284
4291
|
choices: string[];
|
|
4285
4292
|
}>;
|
|
4286
4293
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4287
4294
|
};
|
|
4295
|
+
maxReasoningTokens?: number | undefined;
|
|
4288
4296
|
};
|
|
4289
4297
|
declare const GPT_4_Turbo_PreviewOptions: z.ZodObject<{
|
|
4290
4298
|
modelName: z.ZodString;
|
|
@@ -4354,11 +4362,12 @@ declare const GPT_4_TurboSchema: {
|
|
|
4354
4362
|
param: string;
|
|
4355
4363
|
title: string;
|
|
4356
4364
|
description: string;
|
|
4357
|
-
default: string
|
|
4365
|
+
default: string;
|
|
4358
4366
|
choices: string[];
|
|
4359
4367
|
}>;
|
|
4360
4368
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4361
4369
|
};
|
|
4370
|
+
maxReasoningTokens?: number | undefined;
|
|
4362
4371
|
};
|
|
4363
4372
|
declare const GPT_4_TurboOptions: z.ZodObject<{
|
|
4364
4373
|
modelName: z.ZodString;
|
|
@@ -4428,11 +4437,12 @@ declare const GPT_4Schema: {
|
|
|
4428
4437
|
param: string;
|
|
4429
4438
|
title: string;
|
|
4430
4439
|
description: string;
|
|
4431
|
-
default: string
|
|
4440
|
+
default: string;
|
|
4432
4441
|
choices: string[];
|
|
4433
4442
|
}>;
|
|
4434
4443
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4435
4444
|
};
|
|
4445
|
+
maxReasoningTokens?: number | undefined;
|
|
4436
4446
|
};
|
|
4437
4447
|
declare const GPT_4Options: z.ZodObject<{
|
|
4438
4448
|
modelName: z.ZodString;
|
|
@@ -4502,11 +4512,12 @@ declare const GPT_4o_2024_05_13Schema: {
|
|
|
4502
4512
|
param: string;
|
|
4503
4513
|
title: string;
|
|
4504
4514
|
description: string;
|
|
4505
|
-
default: string
|
|
4515
|
+
default: string;
|
|
4506
4516
|
choices: string[];
|
|
4507
4517
|
}>;
|
|
4508
4518
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4509
4519
|
};
|
|
4520
|
+
maxReasoningTokens?: number | undefined;
|
|
4510
4521
|
};
|
|
4511
4522
|
declare const GPT_4o_2024_05_13Options: z.ZodObject<{
|
|
4512
4523
|
modelName: z.ZodString;
|
|
@@ -4576,11 +4587,12 @@ declare const GPT_4o_2024_08_06Schema: {
|
|
|
4576
4587
|
param: string;
|
|
4577
4588
|
title: string;
|
|
4578
4589
|
description: string;
|
|
4579
|
-
default: string
|
|
4590
|
+
default: string;
|
|
4580
4591
|
choices: string[];
|
|
4581
4592
|
}>;
|
|
4582
4593
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4583
4594
|
};
|
|
4595
|
+
maxReasoningTokens?: number | undefined;
|
|
4584
4596
|
};
|
|
4585
4597
|
declare const GPT_4o_2024_08_06Options: z.ZodObject<{
|
|
4586
4598
|
modelName: z.ZodString;
|
|
@@ -4650,11 +4662,12 @@ declare const GPT_4o_Mini_2024_07_18Schema: {
|
|
|
4650
4662
|
param: string;
|
|
4651
4663
|
title: string;
|
|
4652
4664
|
description: string;
|
|
4653
|
-
default: string
|
|
4665
|
+
default: string;
|
|
4654
4666
|
choices: string[];
|
|
4655
4667
|
}>;
|
|
4656
4668
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4657
4669
|
};
|
|
4670
|
+
maxReasoningTokens?: number | undefined;
|
|
4658
4671
|
};
|
|
4659
4672
|
declare const GPT_4o_Mini_2024_07_18Options: z.ZodObject<{
|
|
4660
4673
|
modelName: z.ZodString;
|
|
@@ -4724,11 +4737,12 @@ declare const GPT_4o_MiniSchema: {
|
|
|
4724
4737
|
param: string;
|
|
4725
4738
|
title: string;
|
|
4726
4739
|
description: string;
|
|
4727
|
-
default: string
|
|
4740
|
+
default: string;
|
|
4728
4741
|
choices: string[];
|
|
4729
4742
|
}>;
|
|
4730
4743
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4731
4744
|
};
|
|
4745
|
+
maxReasoningTokens?: number | undefined;
|
|
4732
4746
|
};
|
|
4733
4747
|
declare const GPT_4o_MiniOptions: z.ZodObject<{
|
|
4734
4748
|
modelName: z.ZodString;
|
|
@@ -4798,11 +4812,12 @@ declare const GPT_4oSchema: {
|
|
|
4798
4812
|
param: string;
|
|
4799
4813
|
title: string;
|
|
4800
4814
|
description: string;
|
|
4801
|
-
default: string
|
|
4815
|
+
default: string;
|
|
4802
4816
|
choices: string[];
|
|
4803
4817
|
}>;
|
|
4804
4818
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4805
4819
|
};
|
|
4820
|
+
maxReasoningTokens?: number | undefined;
|
|
4806
4821
|
};
|
|
4807
4822
|
declare const GPT_4oOptions: z.ZodObject<{
|
|
4808
4823
|
modelName: z.ZodString;
|
|
@@ -4872,11 +4887,12 @@ declare const O1_2024_12_17Schema: {
|
|
|
4872
4887
|
param: string;
|
|
4873
4888
|
title: string;
|
|
4874
4889
|
description: string;
|
|
4875
|
-
default: string
|
|
4890
|
+
default: string;
|
|
4876
4891
|
choices: string[];
|
|
4877
4892
|
}>;
|
|
4878
4893
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4879
4894
|
};
|
|
4895
|
+
maxReasoningTokens?: number | undefined;
|
|
4880
4896
|
};
|
|
4881
4897
|
declare const O1_2024_12_17Options: z.ZodObject<{
|
|
4882
4898
|
modelName: z.ZodString;
|
|
@@ -4946,11 +4962,12 @@ declare const O1_Mini_2024_09_12Schema: {
|
|
|
4946
4962
|
param: string;
|
|
4947
4963
|
title: string;
|
|
4948
4964
|
description: string;
|
|
4949
|
-
default: string
|
|
4965
|
+
default: string;
|
|
4950
4966
|
choices: string[];
|
|
4951
4967
|
}>;
|
|
4952
4968
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4953
4969
|
};
|
|
4970
|
+
maxReasoningTokens?: number | undefined;
|
|
4954
4971
|
};
|
|
4955
4972
|
declare const O1_Mini_2024_09_12Options: z.ZodObject<{
|
|
4956
4973
|
modelName: z.ZodString;
|
|
@@ -5020,11 +5037,12 @@ declare const O1_MiniSchema: {
|
|
|
5020
5037
|
param: string;
|
|
5021
5038
|
title: string;
|
|
5022
5039
|
description: string;
|
|
5023
|
-
default: string
|
|
5040
|
+
default: string;
|
|
5024
5041
|
choices: string[];
|
|
5025
5042
|
}>;
|
|
5026
5043
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5027
5044
|
};
|
|
5045
|
+
maxReasoningTokens?: number | undefined;
|
|
5028
5046
|
};
|
|
5029
5047
|
declare const O1_MiniOptions: z.ZodObject<{
|
|
5030
5048
|
modelName: z.ZodString;
|
|
@@ -5094,11 +5112,12 @@ declare const O1_PreviewSchema: {
|
|
|
5094
5112
|
param: string;
|
|
5095
5113
|
title: string;
|
|
5096
5114
|
description: string;
|
|
5097
|
-
default: string
|
|
5115
|
+
default: string;
|
|
5098
5116
|
choices: string[];
|
|
5099
5117
|
}>;
|
|
5100
5118
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5101
5119
|
};
|
|
5120
|
+
maxReasoningTokens?: number | undefined;
|
|
5102
5121
|
};
|
|
5103
5122
|
declare const O1_PreviewOptions: z.ZodObject<{
|
|
5104
5123
|
modelName: z.ZodString;
|
|
@@ -5168,11 +5187,12 @@ declare const O1Schema: {
|
|
|
5168
5187
|
param: string;
|
|
5169
5188
|
title: string;
|
|
5170
5189
|
description: string;
|
|
5171
|
-
default: string
|
|
5190
|
+
default: string;
|
|
5172
5191
|
choices: string[];
|
|
5173
5192
|
}>;
|
|
5174
5193
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5175
5194
|
};
|
|
5195
|
+
maxReasoningTokens?: number | undefined;
|
|
5176
5196
|
};
|
|
5177
5197
|
declare const O1Options: z.ZodObject<{
|
|
5178
5198
|
modelName: z.ZodString;
|
|
@@ -5362,7 +5382,7 @@ declare const Text_Embedding_Ada002Schema: {
|
|
|
5362
5382
|
param: string;
|
|
5363
5383
|
title: string;
|
|
5364
5384
|
description: string;
|
|
5365
|
-
default: string
|
|
5385
|
+
default: string;
|
|
5366
5386
|
choices: string[];
|
|
5367
5387
|
}>;
|
|
5368
5388
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -5429,7 +5449,7 @@ declare const Text_Embedding_3_SmallSchema: {
|
|
|
5429
5449
|
param: string;
|
|
5430
5450
|
title: string;
|
|
5431
5451
|
description: string;
|
|
5432
|
-
default: string
|
|
5452
|
+
default: string;
|
|
5433
5453
|
choices: string[];
|
|
5434
5454
|
}>;
|
|
5435
5455
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -5496,7 +5516,7 @@ declare const Text_Embedding_3_LargeSchema: {
|
|
|
5496
5516
|
param: string;
|
|
5497
5517
|
title: string;
|
|
5498
5518
|
description: string;
|
|
5499
|
-
default: string
|
|
5519
|
+
default: string;
|
|
5500
5520
|
choices: string[];
|
|
5501
5521
|
}>;
|
|
5502
5522
|
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.
|
|
3
|
+
"version": "0.30.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.
|
|
50
|
-
"@adaline/types": "0.
|
|
49
|
+
"@adaline/provider": "0.24.0",
|
|
50
|
+
"@adaline/types": "0.22.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@adaline/tsconfig": "0.11.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"lint": "eslint . --ext js,jsx,ts,tsx",
|
|
60
60
|
"format": "prettier --write .",
|
|
61
61
|
"post": "npm publish --access public",
|
|
62
|
-
"test": "
|
|
63
|
-
"test:watch": "
|
|
62
|
+
"test": "vitest run",
|
|
63
|
+
"test:watch": "vitest watch"
|
|
64
64
|
}
|
|
65
65
|
}
|