@adaline/azure 0.14.0 → 0.16.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
@@ -61,11 +61,12 @@ declare const BaseChatModelSchema: {
61
61
  param: string;
62
62
  title: string;
63
63
  description: string;
64
- default: string | null;
64
+ default: string;
65
65
  choices: string[];
66
66
  }>;
67
67
  schema: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, unknown, unknown>;
68
68
  };
69
+ maxReasoningTokens?: number | undefined;
69
70
  };
70
71
 
71
72
  declare class BaseChatModelOpenAI extends BaseChatModel {
@@ -119,11 +120,12 @@ declare const GPT_4oSchema: {
119
120
  param: string;
120
121
  title: string;
121
122
  description: string;
122
- default: string | null;
123
+ default: string;
123
124
  choices: string[];
124
125
  }>;
125
126
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
126
127
  };
128
+ maxReasoningTokens?: number | undefined;
127
129
  };
128
130
  declare const GPT_4oOptions: z.ZodObject<{
129
131
  apiKey: z.ZodString;
@@ -187,11 +189,12 @@ declare const GPT_4o_MiniSchema: {
187
189
  param: string;
188
190
  title: string;
189
191
  description: string;
190
- default: string | null;
192
+ default: string;
191
193
  choices: string[];
192
194
  }>;
193
195
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
194
196
  };
197
+ maxReasoningTokens?: number | undefined;
195
198
  };
196
199
  declare const GPT_4o_MiniOptions: z.ZodObject<{
197
200
  apiKey: z.ZodString;
@@ -255,11 +258,12 @@ declare const GPT_4o_Mini_2024_07_18Schema: {
255
258
  param: string;
256
259
  title: string;
257
260
  description: string;
258
- default: string | null;
261
+ default: string;
259
262
  choices: string[];
260
263
  }>;
261
264
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
262
265
  };
266
+ maxReasoningTokens?: number | undefined;
263
267
  };
264
268
  declare const GPT_4o_Mini_2024_07_18Options: z.ZodObject<{
265
269
  apiKey: z.ZodString;
@@ -323,11 +327,12 @@ declare const GPT_4o_2024_08_06Schema: {
323
327
  param: string;
324
328
  title: string;
325
329
  description: string;
326
- default: string | null;
330
+ default: string;
327
331
  choices: string[];
328
332
  }>;
329
333
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
330
334
  };
335
+ maxReasoningTokens?: number | undefined;
331
336
  };
332
337
  declare const GPT_4o_2024_08_06Options: z.ZodObject<{
333
338
  apiKey: z.ZodString;
@@ -391,11 +396,12 @@ declare const GPT_4o_2024_05_13Schema: {
391
396
  param: string;
392
397
  title: string;
393
398
  description: string;
394
- default: string | null;
399
+ default: string;
395
400
  choices: string[];
396
401
  }>;
397
402
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
398
403
  };
404
+ maxReasoningTokens?: number | undefined;
399
405
  };
400
406
  declare const GPT_4o_2024_05_13Options: z.ZodObject<{
401
407
  apiKey: z.ZodString;
@@ -459,11 +465,12 @@ declare const GPT_4Schema: {
459
465
  param: string;
460
466
  title: string;
461
467
  description: string;
462
- default: string | null;
468
+ default: string;
463
469
  choices: string[];
464
470
  }>;
465
471
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
466
472
  };
473
+ maxReasoningTokens?: number | undefined;
467
474
  };
468
475
  declare const GPT_4Options: z.ZodObject<{
469
476
  apiKey: z.ZodString;
@@ -527,11 +534,12 @@ declare const GPT_4_Turbo_2024_04_09Schema: {
527
534
  param: string;
528
535
  title: string;
529
536
  description: string;
530
- default: string | null;
537
+ default: string;
531
538
  choices: string[];
532
539
  }>;
533
540
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
534
541
  };
542
+ maxReasoningTokens?: number | undefined;
535
543
  };
536
544
  declare const GPT_4_Turbo_2024_04_09Options: z.ZodObject<{
537
545
  apiKey: z.ZodString;
@@ -595,11 +603,12 @@ declare const GPT_4_1106_PreviewSchema: {
595
603
  param: string;
596
604
  title: string;
597
605
  description: string;
598
- default: string | null;
606
+ default: string;
599
607
  choices: string[];
600
608
  }>;
601
609
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
602
610
  };
611
+ maxReasoningTokens?: number | undefined;
603
612
  };
604
613
  declare const GPT_4_1106_PreviewOptions: z.ZodObject<{
605
614
  apiKey: z.ZodString;
@@ -663,11 +672,12 @@ declare const GPT_4_0613Schema: {
663
672
  param: string;
664
673
  title: string;
665
674
  description: string;
666
- default: string | null;
675
+ default: string;
667
676
  choices: string[];
668
677
  }>;
669
678
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
670
679
  };
680
+ maxReasoningTokens?: number | undefined;
671
681
  };
672
682
  declare const GPT_4_0613Options: z.ZodObject<{
673
683
  apiKey: z.ZodString;
@@ -731,11 +741,12 @@ declare const GPT_3_5_TurboSchema: {
731
741
  param: string;
732
742
  title: string;
733
743
  description: string;
734
- default: string | null;
744
+ default: string;
735
745
  choices: string[];
736
746
  }>;
737
747
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
738
748
  };
749
+ maxReasoningTokens?: number | undefined;
739
750
  };
740
751
  declare const GPT_3_5_TurboOptions: z.ZodObject<{
741
752
  apiKey: z.ZodString;
@@ -799,11 +810,12 @@ declare const GPT_3_5_Turbo_1106Schema: {
799
810
  param: string;
800
811
  title: string;
801
812
  description: string;
802
- default: string | null;
813
+ default: string;
803
814
  choices: string[];
804
815
  }>;
805
816
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
806
817
  };
818
+ maxReasoningTokens?: number | undefined;
807
819
  };
808
820
  declare const GPT_3_5_Turbo_1106Options: z.ZodObject<{
809
821
  apiKey: z.ZodString;
@@ -867,11 +879,12 @@ declare const GPT_3_5_Turbo_0125Schema: {
867
879
  param: string;
868
880
  title: string;
869
881
  description: string;
870
- default: string | null;
882
+ default: string;
871
883
  choices: string[];
872
884
  }>;
873
885
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
874
886
  };
887
+ maxReasoningTokens?: number | undefined;
875
888
  };
876
889
  declare const GPT_3_5_Turbo_0125Options: z.ZodObject<{
877
890
  apiKey: z.ZodString;
@@ -951,7 +964,7 @@ declare const BaseEmbeddingModelSchema: {
951
964
  param: string;
952
965
  title: string;
953
966
  description: string;
954
- default: string | null;
967
+ default: string;
955
968
  choices: string[];
956
969
  }>;
957
970
  schema: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, unknown, unknown>;
@@ -1008,7 +1021,7 @@ declare const Text_Embedding_3_LargeSchema: {
1008
1021
  param: string;
1009
1022
  title: string;
1010
1023
  description: string;
1011
- default: string | null;
1024
+ default: string;
1012
1025
  choices: string[];
1013
1026
  }>;
1014
1027
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1075,7 +1088,7 @@ declare const Text_Embedding_Ada_002Schema: {
1075
1088
  param: string;
1076
1089
  title: string;
1077
1090
  description: string;
1078
- default: string | null;
1091
+ default: string;
1079
1092
  choices: string[];
1080
1093
  }>;
1081
1094
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1142,7 +1155,7 @@ declare const Text_Embedding_3_SmallSchema: {
1142
1155
  param: string;
1143
1156
  title: string;
1144
1157
  description: string;
1145
- default: string | null;
1158
+ default: string;
1146
1159
  choices: string[];
1147
1160
  }>;
1148
1161
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
package/dist/index.d.ts CHANGED
@@ -61,11 +61,12 @@ declare const BaseChatModelSchema: {
61
61
  param: string;
62
62
  title: string;
63
63
  description: string;
64
- default: string | null;
64
+ default: string;
65
65
  choices: string[];
66
66
  }>;
67
67
  schema: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, unknown, unknown>;
68
68
  };
69
+ maxReasoningTokens?: number | undefined;
69
70
  };
70
71
 
71
72
  declare class BaseChatModelOpenAI extends BaseChatModel {
@@ -119,11 +120,12 @@ declare const GPT_4oSchema: {
119
120
  param: string;
120
121
  title: string;
121
122
  description: string;
122
- default: string | null;
123
+ default: string;
123
124
  choices: string[];
124
125
  }>;
125
126
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
126
127
  };
128
+ maxReasoningTokens?: number | undefined;
127
129
  };
128
130
  declare const GPT_4oOptions: z.ZodObject<{
129
131
  apiKey: z.ZodString;
@@ -187,11 +189,12 @@ declare const GPT_4o_MiniSchema: {
187
189
  param: string;
188
190
  title: string;
189
191
  description: string;
190
- default: string | null;
192
+ default: string;
191
193
  choices: string[];
192
194
  }>;
193
195
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
194
196
  };
197
+ maxReasoningTokens?: number | undefined;
195
198
  };
196
199
  declare const GPT_4o_MiniOptions: z.ZodObject<{
197
200
  apiKey: z.ZodString;
@@ -255,11 +258,12 @@ declare const GPT_4o_Mini_2024_07_18Schema: {
255
258
  param: string;
256
259
  title: string;
257
260
  description: string;
258
- default: string | null;
261
+ default: string;
259
262
  choices: string[];
260
263
  }>;
261
264
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
262
265
  };
266
+ maxReasoningTokens?: number | undefined;
263
267
  };
264
268
  declare const GPT_4o_Mini_2024_07_18Options: z.ZodObject<{
265
269
  apiKey: z.ZodString;
@@ -323,11 +327,12 @@ declare const GPT_4o_2024_08_06Schema: {
323
327
  param: string;
324
328
  title: string;
325
329
  description: string;
326
- default: string | null;
330
+ default: string;
327
331
  choices: string[];
328
332
  }>;
329
333
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
330
334
  };
335
+ maxReasoningTokens?: number | undefined;
331
336
  };
332
337
  declare const GPT_4o_2024_08_06Options: z.ZodObject<{
333
338
  apiKey: z.ZodString;
@@ -391,11 +396,12 @@ declare const GPT_4o_2024_05_13Schema: {
391
396
  param: string;
392
397
  title: string;
393
398
  description: string;
394
- default: string | null;
399
+ default: string;
395
400
  choices: string[];
396
401
  }>;
397
402
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
398
403
  };
404
+ maxReasoningTokens?: number | undefined;
399
405
  };
400
406
  declare const GPT_4o_2024_05_13Options: z.ZodObject<{
401
407
  apiKey: z.ZodString;
@@ -459,11 +465,12 @@ declare const GPT_4Schema: {
459
465
  param: string;
460
466
  title: string;
461
467
  description: string;
462
- default: string | null;
468
+ default: string;
463
469
  choices: string[];
464
470
  }>;
465
471
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
466
472
  };
473
+ maxReasoningTokens?: number | undefined;
467
474
  };
468
475
  declare const GPT_4Options: z.ZodObject<{
469
476
  apiKey: z.ZodString;
@@ -527,11 +534,12 @@ declare const GPT_4_Turbo_2024_04_09Schema: {
527
534
  param: string;
528
535
  title: string;
529
536
  description: string;
530
- default: string | null;
537
+ default: string;
531
538
  choices: string[];
532
539
  }>;
533
540
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
534
541
  };
542
+ maxReasoningTokens?: number | undefined;
535
543
  };
536
544
  declare const GPT_4_Turbo_2024_04_09Options: z.ZodObject<{
537
545
  apiKey: z.ZodString;
@@ -595,11 +603,12 @@ declare const GPT_4_1106_PreviewSchema: {
595
603
  param: string;
596
604
  title: string;
597
605
  description: string;
598
- default: string | null;
606
+ default: string;
599
607
  choices: string[];
600
608
  }>;
601
609
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
602
610
  };
611
+ maxReasoningTokens?: number | undefined;
603
612
  };
604
613
  declare const GPT_4_1106_PreviewOptions: z.ZodObject<{
605
614
  apiKey: z.ZodString;
@@ -663,11 +672,12 @@ declare const GPT_4_0613Schema: {
663
672
  param: string;
664
673
  title: string;
665
674
  description: string;
666
- default: string | null;
675
+ default: string;
667
676
  choices: string[];
668
677
  }>;
669
678
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
670
679
  };
680
+ maxReasoningTokens?: number | undefined;
671
681
  };
672
682
  declare const GPT_4_0613Options: z.ZodObject<{
673
683
  apiKey: z.ZodString;
@@ -731,11 +741,12 @@ declare const GPT_3_5_TurboSchema: {
731
741
  param: string;
732
742
  title: string;
733
743
  description: string;
734
- default: string | null;
744
+ default: string;
735
745
  choices: string[];
736
746
  }>;
737
747
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
738
748
  };
749
+ maxReasoningTokens?: number | undefined;
739
750
  };
740
751
  declare const GPT_3_5_TurboOptions: z.ZodObject<{
741
752
  apiKey: z.ZodString;
@@ -799,11 +810,12 @@ declare const GPT_3_5_Turbo_1106Schema: {
799
810
  param: string;
800
811
  title: string;
801
812
  description: string;
802
- default: string | null;
813
+ default: string;
803
814
  choices: string[];
804
815
  }>;
805
816
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
806
817
  };
818
+ maxReasoningTokens?: number | undefined;
807
819
  };
808
820
  declare const GPT_3_5_Turbo_1106Options: z.ZodObject<{
809
821
  apiKey: z.ZodString;
@@ -867,11 +879,12 @@ declare const GPT_3_5_Turbo_0125Schema: {
867
879
  param: string;
868
880
  title: string;
869
881
  description: string;
870
- default: string | null;
882
+ default: string;
871
883
  choices: string[];
872
884
  }>;
873
885
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
874
886
  };
887
+ maxReasoningTokens?: number | undefined;
875
888
  };
876
889
  declare const GPT_3_5_Turbo_0125Options: z.ZodObject<{
877
890
  apiKey: z.ZodString;
@@ -951,7 +964,7 @@ declare const BaseEmbeddingModelSchema: {
951
964
  param: string;
952
965
  title: string;
953
966
  description: string;
954
- default: string | null;
967
+ default: string;
955
968
  choices: string[];
956
969
  }>;
957
970
  schema: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, unknown, unknown>;
@@ -1008,7 +1021,7 @@ declare const Text_Embedding_3_LargeSchema: {
1008
1021
  param: string;
1009
1022
  title: string;
1010
1023
  description: string;
1011
- default: string | null;
1024
+ default: string;
1012
1025
  choices: string[];
1013
1026
  }>;
1014
1027
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1075,7 +1088,7 @@ declare const Text_Embedding_Ada_002Schema: {
1075
1088
  param: string;
1076
1089
  title: string;
1077
1090
  description: string;
1078
- default: string | null;
1091
+ default: string;
1079
1092
  choices: string[];
1080
1093
  }>;
1081
1094
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1142,7 +1155,7 @@ declare const Text_Embedding_3_SmallSchema: {
1142
1155
  param: string;
1143
1156
  title: string;
1144
1157
  description: string;
1145
- default: string | null;
1158
+ default: string;
1146
1159
  choices: string[];
1147
1160
  }>;
1148
1161
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;