@adaline/openai 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +392 -1
- package/dist/index.d.ts +392 -1
- package/dist/index.js +146 -142
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -609,6 +609,188 @@ declare const OpenAIChatModelConfigs: {
|
|
|
609
609
|
reasoningEffort?: string | null | undefined;
|
|
610
610
|
}>;
|
|
611
611
|
};
|
|
612
|
+
readonly gpt5: (maxOutputTokens: number, maxSequences: number) => {
|
|
613
|
+
def: {
|
|
614
|
+
reasoningEffort: {
|
|
615
|
+
type: "select-string";
|
|
616
|
+
param: string;
|
|
617
|
+
title: string;
|
|
618
|
+
description: string;
|
|
619
|
+
default: string;
|
|
620
|
+
choices: string[];
|
|
621
|
+
};
|
|
622
|
+
verbosity: {
|
|
623
|
+
type: "select-string";
|
|
624
|
+
param: string;
|
|
625
|
+
title: string;
|
|
626
|
+
description: string;
|
|
627
|
+
default: string;
|
|
628
|
+
choices: string[];
|
|
629
|
+
};
|
|
630
|
+
responseFormat: {
|
|
631
|
+
type: "select-string";
|
|
632
|
+
param: string;
|
|
633
|
+
title: string;
|
|
634
|
+
description: string;
|
|
635
|
+
default: string;
|
|
636
|
+
choices: string[];
|
|
637
|
+
};
|
|
638
|
+
responseSchema: {
|
|
639
|
+
type: "object-schema";
|
|
640
|
+
param: string;
|
|
641
|
+
title: string;
|
|
642
|
+
description: string;
|
|
643
|
+
objectSchema?: any;
|
|
644
|
+
};
|
|
645
|
+
temperature: {
|
|
646
|
+
type: "range";
|
|
647
|
+
param: string;
|
|
648
|
+
title: string;
|
|
649
|
+
description: string;
|
|
650
|
+
max: number;
|
|
651
|
+
default: number;
|
|
652
|
+
min: number;
|
|
653
|
+
step: number;
|
|
654
|
+
};
|
|
655
|
+
maxTokens: {
|
|
656
|
+
type: "range";
|
|
657
|
+
param: string;
|
|
658
|
+
title: string;
|
|
659
|
+
description: string;
|
|
660
|
+
max: number;
|
|
661
|
+
default: number;
|
|
662
|
+
min: number;
|
|
663
|
+
step: number;
|
|
664
|
+
};
|
|
665
|
+
stop: {
|
|
666
|
+
type: "multi-string";
|
|
667
|
+
param: string;
|
|
668
|
+
title: string;
|
|
669
|
+
description: string;
|
|
670
|
+
max: number;
|
|
671
|
+
};
|
|
672
|
+
topP: {
|
|
673
|
+
type: "range";
|
|
674
|
+
param: string;
|
|
675
|
+
title: string;
|
|
676
|
+
description: string;
|
|
677
|
+
max: number;
|
|
678
|
+
default: number;
|
|
679
|
+
min: number;
|
|
680
|
+
step: number;
|
|
681
|
+
};
|
|
682
|
+
frequencyPenalty: {
|
|
683
|
+
type: "range";
|
|
684
|
+
param: string;
|
|
685
|
+
title: string;
|
|
686
|
+
description: string;
|
|
687
|
+
max: number;
|
|
688
|
+
default: number;
|
|
689
|
+
min: number;
|
|
690
|
+
step: number;
|
|
691
|
+
};
|
|
692
|
+
presencePenalty: {
|
|
693
|
+
type: "range";
|
|
694
|
+
param: string;
|
|
695
|
+
title: string;
|
|
696
|
+
description: string;
|
|
697
|
+
max: number;
|
|
698
|
+
default: number;
|
|
699
|
+
min: number;
|
|
700
|
+
step: number;
|
|
701
|
+
};
|
|
702
|
+
seed: {
|
|
703
|
+
type: "range";
|
|
704
|
+
param: string;
|
|
705
|
+
title: string;
|
|
706
|
+
description: string;
|
|
707
|
+
max: number;
|
|
708
|
+
default: number;
|
|
709
|
+
min: number;
|
|
710
|
+
step: number;
|
|
711
|
+
};
|
|
712
|
+
logProbs: {
|
|
713
|
+
type: "select-boolean";
|
|
714
|
+
param: string;
|
|
715
|
+
title: string;
|
|
716
|
+
description: string;
|
|
717
|
+
default: boolean | null;
|
|
718
|
+
};
|
|
719
|
+
topLogProbs: {
|
|
720
|
+
type: "range";
|
|
721
|
+
param: string;
|
|
722
|
+
title: string;
|
|
723
|
+
description: string;
|
|
724
|
+
max: number;
|
|
725
|
+
default: number;
|
|
726
|
+
min: number;
|
|
727
|
+
step: number;
|
|
728
|
+
};
|
|
729
|
+
toolChoice: {
|
|
730
|
+
type: "select-string";
|
|
731
|
+
param: string;
|
|
732
|
+
title: string;
|
|
733
|
+
description: string;
|
|
734
|
+
default: string;
|
|
735
|
+
choices: string[];
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
739
|
+
temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
740
|
+
maxTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
741
|
+
stop: zod.ZodOptional<zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>>;
|
|
742
|
+
topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
743
|
+
frequencyPenalty: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
744
|
+
presencePenalty: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
745
|
+
seed: zod.ZodEffects<zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>, number | undefined, number | undefined>;
|
|
746
|
+
logProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
747
|
+
topLogProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
748
|
+
toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
749
|
+
}, {
|
|
750
|
+
reasoningEffort: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
751
|
+
verbosity: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
752
|
+
responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
753
|
+
responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
754
|
+
[x: string]: any;
|
|
755
|
+
}, {
|
|
756
|
+
[x: string]: any;
|
|
757
|
+
}>>;
|
|
758
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
759
|
+
temperature?: number | undefined;
|
|
760
|
+
seed?: number | undefined;
|
|
761
|
+
verbosity?: string | null | undefined;
|
|
762
|
+
stop?: string[] | undefined;
|
|
763
|
+
maxTokens?: number | undefined;
|
|
764
|
+
topP?: number | undefined;
|
|
765
|
+
frequencyPenalty?: number | undefined;
|
|
766
|
+
presencePenalty?: number | undefined;
|
|
767
|
+
logProbs?: boolean | null | undefined;
|
|
768
|
+
topLogProbs?: number | undefined;
|
|
769
|
+
toolChoice?: string | null | undefined;
|
|
770
|
+
responseFormat?: string | null | undefined;
|
|
771
|
+
responseSchema?: {
|
|
772
|
+
[x: string]: any;
|
|
773
|
+
} | undefined;
|
|
774
|
+
reasoningEffort?: string | null | undefined;
|
|
775
|
+
}, {
|
|
776
|
+
temperature?: number | undefined;
|
|
777
|
+
seed?: number | undefined;
|
|
778
|
+
verbosity?: string | null | undefined;
|
|
779
|
+
stop?: string[] | undefined;
|
|
780
|
+
maxTokens?: number | undefined;
|
|
781
|
+
topP?: number | undefined;
|
|
782
|
+
frequencyPenalty?: number | undefined;
|
|
783
|
+
presencePenalty?: number | undefined;
|
|
784
|
+
logProbs?: boolean | null | undefined;
|
|
785
|
+
topLogProbs?: number | undefined;
|
|
786
|
+
toolChoice?: string | null | undefined;
|
|
787
|
+
responseFormat?: string | null | undefined;
|
|
788
|
+
responseSchema?: {
|
|
789
|
+
[x: string]: any;
|
|
790
|
+
} | undefined;
|
|
791
|
+
reasoningEffort?: string | null | undefined;
|
|
792
|
+
}>;
|
|
793
|
+
};
|
|
612
794
|
};
|
|
613
795
|
declare const OpenAIEmbeddingModelConfigs: {
|
|
614
796
|
readonly base: () => {
|
|
@@ -916,6 +1098,209 @@ declare const toolChoice: {
|
|
|
916
1098
|
};
|
|
917
1099
|
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
918
1100
|
};
|
|
1101
|
+
declare const reasoningEffort: {
|
|
1102
|
+
def: {
|
|
1103
|
+
type: "select-string";
|
|
1104
|
+
param: string;
|
|
1105
|
+
title: string;
|
|
1106
|
+
description: string;
|
|
1107
|
+
default: string;
|
|
1108
|
+
choices: string[];
|
|
1109
|
+
};
|
|
1110
|
+
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
1111
|
+
};
|
|
1112
|
+
declare const verbosity: {
|
|
1113
|
+
def: {
|
|
1114
|
+
type: "select-string";
|
|
1115
|
+
param: string;
|
|
1116
|
+
title: string;
|
|
1117
|
+
description: string;
|
|
1118
|
+
default: string;
|
|
1119
|
+
choices: string[];
|
|
1120
|
+
};
|
|
1121
|
+
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
declare const ChatModelGPT5ConfigDef: (maxOutputTokens: number, maxSequences: number) => {
|
|
1125
|
+
reasoningEffort: {
|
|
1126
|
+
type: "select-string";
|
|
1127
|
+
param: string;
|
|
1128
|
+
title: string;
|
|
1129
|
+
description: string;
|
|
1130
|
+
default: string;
|
|
1131
|
+
choices: string[];
|
|
1132
|
+
};
|
|
1133
|
+
verbosity: {
|
|
1134
|
+
type: "select-string";
|
|
1135
|
+
param: string;
|
|
1136
|
+
title: string;
|
|
1137
|
+
description: string;
|
|
1138
|
+
default: string;
|
|
1139
|
+
choices: string[];
|
|
1140
|
+
};
|
|
1141
|
+
responseFormat: {
|
|
1142
|
+
type: "select-string";
|
|
1143
|
+
param: string;
|
|
1144
|
+
title: string;
|
|
1145
|
+
description: string;
|
|
1146
|
+
default: string;
|
|
1147
|
+
choices: string[];
|
|
1148
|
+
};
|
|
1149
|
+
responseSchema: {
|
|
1150
|
+
type: "object-schema";
|
|
1151
|
+
param: string;
|
|
1152
|
+
title: string;
|
|
1153
|
+
description: string;
|
|
1154
|
+
objectSchema?: any;
|
|
1155
|
+
};
|
|
1156
|
+
temperature: {
|
|
1157
|
+
type: "range";
|
|
1158
|
+
param: string;
|
|
1159
|
+
title: string;
|
|
1160
|
+
description: string;
|
|
1161
|
+
max: number;
|
|
1162
|
+
default: number;
|
|
1163
|
+
min: number;
|
|
1164
|
+
step: number;
|
|
1165
|
+
};
|
|
1166
|
+
maxTokens: {
|
|
1167
|
+
type: "range";
|
|
1168
|
+
param: string;
|
|
1169
|
+
title: string;
|
|
1170
|
+
description: string;
|
|
1171
|
+
max: number;
|
|
1172
|
+
default: number;
|
|
1173
|
+
min: number;
|
|
1174
|
+
step: number;
|
|
1175
|
+
};
|
|
1176
|
+
stop: {
|
|
1177
|
+
type: "multi-string";
|
|
1178
|
+
param: string;
|
|
1179
|
+
title: string;
|
|
1180
|
+
description: string;
|
|
1181
|
+
max: number;
|
|
1182
|
+
};
|
|
1183
|
+
topP: {
|
|
1184
|
+
type: "range";
|
|
1185
|
+
param: string;
|
|
1186
|
+
title: string;
|
|
1187
|
+
description: string;
|
|
1188
|
+
max: number;
|
|
1189
|
+
default: number;
|
|
1190
|
+
min: number;
|
|
1191
|
+
step: number;
|
|
1192
|
+
};
|
|
1193
|
+
frequencyPenalty: {
|
|
1194
|
+
type: "range";
|
|
1195
|
+
param: string;
|
|
1196
|
+
title: string;
|
|
1197
|
+
description: string;
|
|
1198
|
+
max: number;
|
|
1199
|
+
default: number;
|
|
1200
|
+
min: number;
|
|
1201
|
+
step: number;
|
|
1202
|
+
};
|
|
1203
|
+
presencePenalty: {
|
|
1204
|
+
type: "range";
|
|
1205
|
+
param: string;
|
|
1206
|
+
title: string;
|
|
1207
|
+
description: string;
|
|
1208
|
+
max: number;
|
|
1209
|
+
default: number;
|
|
1210
|
+
min: number;
|
|
1211
|
+
step: number;
|
|
1212
|
+
};
|
|
1213
|
+
seed: {
|
|
1214
|
+
type: "range";
|
|
1215
|
+
param: string;
|
|
1216
|
+
title: string;
|
|
1217
|
+
description: string;
|
|
1218
|
+
max: number;
|
|
1219
|
+
default: number;
|
|
1220
|
+
min: number;
|
|
1221
|
+
step: number;
|
|
1222
|
+
};
|
|
1223
|
+
logProbs: {
|
|
1224
|
+
type: "select-boolean";
|
|
1225
|
+
param: string;
|
|
1226
|
+
title: string;
|
|
1227
|
+
description: string;
|
|
1228
|
+
default: boolean | null;
|
|
1229
|
+
};
|
|
1230
|
+
topLogProbs: {
|
|
1231
|
+
type: "range";
|
|
1232
|
+
param: string;
|
|
1233
|
+
title: string;
|
|
1234
|
+
description: string;
|
|
1235
|
+
max: number;
|
|
1236
|
+
default: number;
|
|
1237
|
+
min: number;
|
|
1238
|
+
step: number;
|
|
1239
|
+
};
|
|
1240
|
+
toolChoice: {
|
|
1241
|
+
type: "select-string";
|
|
1242
|
+
param: string;
|
|
1243
|
+
title: string;
|
|
1244
|
+
description: string;
|
|
1245
|
+
default: string;
|
|
1246
|
+
choices: string[];
|
|
1247
|
+
};
|
|
1248
|
+
};
|
|
1249
|
+
declare const ChatModelGPT5ConfigSchema: (maxOutputTokens: number, maxSequences: number) => zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1250
|
+
temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
1251
|
+
maxTokens: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
1252
|
+
stop: zod.ZodOptional<zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>>;
|
|
1253
|
+
topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
1254
|
+
frequencyPenalty: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
1255
|
+
presencePenalty: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
1256
|
+
seed: zod.ZodEffects<zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>, number | undefined, number | undefined>;
|
|
1257
|
+
logProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
1258
|
+
topLogProbs: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
1259
|
+
toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
1260
|
+
}, {
|
|
1261
|
+
reasoningEffort: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
1262
|
+
verbosity: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
1263
|
+
responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
1264
|
+
responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
1265
|
+
[x: string]: any;
|
|
1266
|
+
}, {
|
|
1267
|
+
[x: string]: any;
|
|
1268
|
+
}>>;
|
|
1269
|
+
}>, "strip", zod.ZodTypeAny, {
|
|
1270
|
+
temperature?: number | undefined;
|
|
1271
|
+
seed?: number | undefined;
|
|
1272
|
+
verbosity?: string | null | undefined;
|
|
1273
|
+
stop?: string[] | undefined;
|
|
1274
|
+
maxTokens?: number | undefined;
|
|
1275
|
+
topP?: number | undefined;
|
|
1276
|
+
frequencyPenalty?: number | undefined;
|
|
1277
|
+
presencePenalty?: number | undefined;
|
|
1278
|
+
logProbs?: boolean | null | undefined;
|
|
1279
|
+
topLogProbs?: number | undefined;
|
|
1280
|
+
toolChoice?: string | null | undefined;
|
|
1281
|
+
responseFormat?: string | null | undefined;
|
|
1282
|
+
responseSchema?: {
|
|
1283
|
+
[x: string]: any;
|
|
1284
|
+
} | undefined;
|
|
1285
|
+
reasoningEffort?: string | null | undefined;
|
|
1286
|
+
}, {
|
|
1287
|
+
temperature?: number | undefined;
|
|
1288
|
+
seed?: number | undefined;
|
|
1289
|
+
verbosity?: string | null | undefined;
|
|
1290
|
+
stop?: string[] | undefined;
|
|
1291
|
+
maxTokens?: number | undefined;
|
|
1292
|
+
topP?: number | undefined;
|
|
1293
|
+
frequencyPenalty?: number | undefined;
|
|
1294
|
+
presencePenalty?: number | undefined;
|
|
1295
|
+
logProbs?: boolean | null | undefined;
|
|
1296
|
+
topLogProbs?: number | undefined;
|
|
1297
|
+
toolChoice?: string | null | undefined;
|
|
1298
|
+
responseFormat?: string | null | undefined;
|
|
1299
|
+
responseSchema?: {
|
|
1300
|
+
[x: string]: any;
|
|
1301
|
+
} | undefined;
|
|
1302
|
+
reasoningEffort?: string | null | undefined;
|
|
1303
|
+
}>;
|
|
919
1304
|
|
|
920
1305
|
declare const ChatModelOSeriesConfigDef: (maxOutputTokens: number, maxSequences: number) => {
|
|
921
1306
|
temperature: {
|
|
@@ -3070,6 +3455,8 @@ declare const OpenAIChatRequest: z.ZodObject<{
|
|
|
3070
3455
|
};
|
|
3071
3456
|
type: "function";
|
|
3072
3457
|
}>]>>;
|
|
3458
|
+
reasoning_effort: z.ZodOptional<z.ZodEnum<["minimal", "low", "medium", "high"]>>;
|
|
3459
|
+
verbosity: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
3073
3460
|
}, "strip", z.ZodTypeAny, {
|
|
3074
3461
|
messages: ({
|
|
3075
3462
|
role: "system";
|
|
@@ -3121,6 +3508,8 @@ declare const OpenAIChatRequest: z.ZodObject<{
|
|
|
3121
3508
|
};
|
|
3122
3509
|
type: "function";
|
|
3123
3510
|
} | undefined;
|
|
3511
|
+
reasoning_effort?: "medium" | "minimal" | "low" | "high" | undefined;
|
|
3512
|
+
verbosity?: "medium" | "low" | "high" | undefined;
|
|
3124
3513
|
max_completion_tokens?: number | null | undefined;
|
|
3125
3514
|
stop?: string | string[] | null | undefined;
|
|
3126
3515
|
response_format?: {
|
|
@@ -3195,6 +3584,8 @@ declare const OpenAIChatRequest: z.ZodObject<{
|
|
|
3195
3584
|
};
|
|
3196
3585
|
type: "function";
|
|
3197
3586
|
} | undefined;
|
|
3587
|
+
reasoning_effort?: "medium" | "minimal" | "low" | "high" | undefined;
|
|
3588
|
+
verbosity?: "medium" | "low" | "high" | undefined;
|
|
3198
3589
|
max_completion_tokens?: number | null | undefined;
|
|
3199
3590
|
stop?: string | string[] | null | undefined;
|
|
3200
3591
|
response_format?: {
|
|
@@ -6300,4 +6691,4 @@ declare class OpenAI<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
6300
6691
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
6301
6692
|
}
|
|
6302
6693
|
|
|
6303
|
-
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelOSeriesConfigDef, ChatModelOSeriesConfigSchema, ChatModelResponseFormatConfigDef, ChatModelResponseFormatConfigSchema, ChatModelResponseSchemaConfigDef, ChatModelResponseSchemaConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, EmbeddingModelDimensionsConfigDef, EmbeddingModelDimensionsConfigSchema, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0125_Preview, GPT_4_0125_PreviewLiteral, GPT_4_0125_PreviewOptions, type GPT_4_0125_PreviewOptionsType, GPT_4_0125_PreviewSchema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_1Literal, GPT_4_1Options, type GPT_4_1OptionsType, GPT_4_1Schema, GPT_4_1_Mini, GPT_4_1_MiniLiteral, GPT_4_1_MiniOptions, type GPT_4_1_MiniOptionsType, GPT_4_1_MiniSchema, GPT_4_1_Nano, GPT_4_1_NanoLiteral, GPT_4_1_NanoOptions, type GPT_4_1_NanoOptionsType, GPT_4_1_NanoSchema, GPT_4_Turbo, GPT_4_TurboLiteral, GPT_4_TurboOptions, type GPT_4_TurboOptionsType, GPT_4_TurboSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4_Turbo_Preview, GPT_4_Turbo_PreviewLiteral, GPT_4_Turbo_PreviewOptions, type GPT_4_Turbo_PreviewOptionsType, GPT_4_Turbo_PreviewSchema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, GPT_5, GPT_5Literal, GPT_5Options, type GPT_5OptionsType, GPT_5Schema, GPT_5_ChatLatest, GPT_5_ChatLatestLiteral, GPT_5_ChatLatestOptions, type GPT_5_ChatLatestOptionsType, GPT_5_ChatLatestSchema, GPT_5_Mini, GPT_5_MiniLiteral, GPT_5_MiniOptions, type GPT_5_MiniOptionsType, GPT_5_MiniSchema, GPT_5_Nano, GPT_5_NanoLiteral, GPT_5_NanoOptions, type GPT_5_NanoOptionsType, GPT_5_NanoSchema, O1, O1Literal, O1Options, type O1OptionsType, O1Schema, O1_2024_12_17, O1_2024_12_17Literal, O1_2024_12_17Options, type O1_2024_12_17OptionsType, O1_2024_12_17Schema, O3, O3Literal, O3Mini, O3Mini2025_01_31, O3Mini2025_01_31Literal, O3Mini2025_01_31Options, type O3Mini2025_01_31OptionsType, O3Mini2025_01_31Schema, O3MiniLiteral, O3MiniOptions, type O3MiniOptionsType, O3MiniSchema, O3Options, type O3OptionsType, O3Schema, O3_2025_04_16, O3_2025_04_16Literal, O3_2025_04_16Options, type O3_2025_04_16OptionsType, O3_2025_04_16Schema, O4_Mini, O4_MiniLiteral, O4_MiniOptions, type O4_MiniOptionsType, O4_MiniSchema, O4_Mini_2025_04_16, O4_Mini_2025_04_16Literal, O4_Mini_2025_04_16Options, type O4_Mini_2025_04_16OptionsType, O4_Mini_2025_04_16Schema, OpenAI, OpenAIChatModelConfigs, OpenAIChatModelModalities, OpenAIChatModelModalitiesEnum, OpenAIChatModelRoles, OpenAIChatModelRolesMap, OpenAIChatModelTextModalities, OpenAIChatModelTextModalitiesEnum, OpenAIChatModelTextToolModalities, OpenAIChatModelTextToolModalitiesEnum, OpenAIChatRequest, OpenAIChatRequestAssistantMessage, type OpenAIChatRequestAssistantMessageType, OpenAIChatRequestImageContent, type OpenAIChatRequestImageContentType, OpenAIChatRequestMessage, type OpenAIChatRequestMessageType, OpenAIChatRequestResponseFormat, type OpenAIChatRequestResponseFormatType, OpenAIChatRequestSystemMessage, type OpenAIChatRequestSystemMessageType, OpenAIChatRequestTextContent, type OpenAIChatRequestTextContentType, OpenAIChatRequestTool, OpenAIChatRequestToolCallContent, type OpenAIChatRequestToolCallContentType, OpenAIChatRequestToolChoiceEnum, type OpenAIChatRequestToolChoiceEnumType, OpenAIChatRequestToolChoiceFunction, type OpenAIChatRequestToolChoiceFunctionType, OpenAIChatRequestToolMessage, type OpenAIChatRequestToolMessageType, type OpenAIChatRequestToolType, type OpenAIChatRequestType, OpenAIChatRequestUserMessage, type OpenAIChatRequestUserMessageType, OpenAICompleteChatResponse, type OpenAICompleteChatResponseType, OpenAIEmbeddingModelConfigs, OpenAIEmbeddingModelModalities, OpenAIEmbeddingModelModalitiesEnum, OpenAIEmbeddingRequest, OpenAIEmbeddingRequestInput, type OpenAIEmbeddingRequestInputType, type OpenAIEmbeddingRequestType, OpenAIGetEmbeddingsResponse, OpenAIStreamChatResponse, type OpenAIStreamChatResponseType, OpenAIToolCallsCompleteChatResponse, OpenAIToolCallsStreamChatResponse, ProviderLiteral, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeSchema, Text_Embedding_3_Large_Options, type Text_Embedding_3_Large_OptionsType, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallSchema, Text_Embedding_3_Small_Options, type Text_Embedding_3_Small_OptionsType, Text_Embedding_Ada002, Text_Embedding_Ada002Literal, Text_Embedding_Ada002Schema, Text_Embedding_Ada002_Options, type Text_Embedding_Ada002_OptionsType, dimensions, encodingFormat, frequencyPenalty, logProbs, maxTokens, presencePenalty, seed, stop, temperature, toolChoice, topLogProbs, topP };
|
|
6694
|
+
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelGPT5ConfigDef, ChatModelGPT5ConfigSchema, ChatModelOSeriesConfigDef, ChatModelOSeriesConfigSchema, ChatModelResponseFormatConfigDef, ChatModelResponseFormatConfigSchema, ChatModelResponseSchemaConfigDef, ChatModelResponseSchemaConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, EmbeddingModelDimensionsConfigDef, EmbeddingModelDimensionsConfigSchema, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0125_Preview, GPT_4_0125_PreviewLiteral, GPT_4_0125_PreviewOptions, type GPT_4_0125_PreviewOptionsType, GPT_4_0125_PreviewSchema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_1Literal, GPT_4_1Options, type GPT_4_1OptionsType, GPT_4_1Schema, GPT_4_1_Mini, GPT_4_1_MiniLiteral, GPT_4_1_MiniOptions, type GPT_4_1_MiniOptionsType, GPT_4_1_MiniSchema, GPT_4_1_Nano, GPT_4_1_NanoLiteral, GPT_4_1_NanoOptions, type GPT_4_1_NanoOptionsType, GPT_4_1_NanoSchema, GPT_4_Turbo, GPT_4_TurboLiteral, GPT_4_TurboOptions, type GPT_4_TurboOptionsType, GPT_4_TurboSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4_Turbo_Preview, GPT_4_Turbo_PreviewLiteral, GPT_4_Turbo_PreviewOptions, type GPT_4_Turbo_PreviewOptionsType, GPT_4_Turbo_PreviewSchema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, GPT_5, GPT_5Literal, GPT_5Options, type GPT_5OptionsType, GPT_5Schema, GPT_5_ChatLatest, GPT_5_ChatLatestLiteral, GPT_5_ChatLatestOptions, type GPT_5_ChatLatestOptionsType, GPT_5_ChatLatestSchema, GPT_5_Mini, GPT_5_MiniLiteral, GPT_5_MiniOptions, type GPT_5_MiniOptionsType, GPT_5_MiniSchema, GPT_5_Nano, GPT_5_NanoLiteral, GPT_5_NanoOptions, type GPT_5_NanoOptionsType, GPT_5_NanoSchema, O1, O1Literal, O1Options, type O1OptionsType, O1Schema, O1_2024_12_17, O1_2024_12_17Literal, O1_2024_12_17Options, type O1_2024_12_17OptionsType, O1_2024_12_17Schema, O3, O3Literal, O3Mini, O3Mini2025_01_31, O3Mini2025_01_31Literal, O3Mini2025_01_31Options, type O3Mini2025_01_31OptionsType, O3Mini2025_01_31Schema, O3MiniLiteral, O3MiniOptions, type O3MiniOptionsType, O3MiniSchema, O3Options, type O3OptionsType, O3Schema, O3_2025_04_16, O3_2025_04_16Literal, O3_2025_04_16Options, type O3_2025_04_16OptionsType, O3_2025_04_16Schema, O4_Mini, O4_MiniLiteral, O4_MiniOptions, type O4_MiniOptionsType, O4_MiniSchema, O4_Mini_2025_04_16, O4_Mini_2025_04_16Literal, O4_Mini_2025_04_16Options, type O4_Mini_2025_04_16OptionsType, O4_Mini_2025_04_16Schema, OpenAI, OpenAIChatModelConfigs, OpenAIChatModelModalities, OpenAIChatModelModalitiesEnum, OpenAIChatModelRoles, OpenAIChatModelRolesMap, OpenAIChatModelTextModalities, OpenAIChatModelTextModalitiesEnum, OpenAIChatModelTextToolModalities, OpenAIChatModelTextToolModalitiesEnum, OpenAIChatRequest, OpenAIChatRequestAssistantMessage, type OpenAIChatRequestAssistantMessageType, OpenAIChatRequestImageContent, type OpenAIChatRequestImageContentType, OpenAIChatRequestMessage, type OpenAIChatRequestMessageType, OpenAIChatRequestResponseFormat, type OpenAIChatRequestResponseFormatType, OpenAIChatRequestSystemMessage, type OpenAIChatRequestSystemMessageType, OpenAIChatRequestTextContent, type OpenAIChatRequestTextContentType, OpenAIChatRequestTool, OpenAIChatRequestToolCallContent, type OpenAIChatRequestToolCallContentType, OpenAIChatRequestToolChoiceEnum, type OpenAIChatRequestToolChoiceEnumType, OpenAIChatRequestToolChoiceFunction, type OpenAIChatRequestToolChoiceFunctionType, OpenAIChatRequestToolMessage, type OpenAIChatRequestToolMessageType, type OpenAIChatRequestToolType, type OpenAIChatRequestType, OpenAIChatRequestUserMessage, type OpenAIChatRequestUserMessageType, OpenAICompleteChatResponse, type OpenAICompleteChatResponseType, OpenAIEmbeddingModelConfigs, OpenAIEmbeddingModelModalities, OpenAIEmbeddingModelModalitiesEnum, OpenAIEmbeddingRequest, OpenAIEmbeddingRequestInput, type OpenAIEmbeddingRequestInputType, type OpenAIEmbeddingRequestType, OpenAIGetEmbeddingsResponse, OpenAIStreamChatResponse, type OpenAIStreamChatResponseType, OpenAIToolCallsCompleteChatResponse, OpenAIToolCallsStreamChatResponse, ProviderLiteral, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeSchema, Text_Embedding_3_Large_Options, type Text_Embedding_3_Large_OptionsType, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallSchema, Text_Embedding_3_Small_Options, type Text_Embedding_3_Small_OptionsType, Text_Embedding_Ada002, Text_Embedding_Ada002Literal, Text_Embedding_Ada002Schema, Text_Embedding_Ada002_Options, type Text_Embedding_Ada002_OptionsType, dimensions, encodingFormat, frequencyPenalty, logProbs, maxTokens, presencePenalty, reasoningEffort, seed, stop, temperature, toolChoice, topLogProbs, topP, verbosity };
|