@adaline/azure 0.3.0 → 0.5.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/README.md +0 -2
- package/dist/index.d.mts +238 -238
- package/dist/index.d.ts +238 -238
- package/dist/index.js +72 -75
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -8
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProviderV1, ChatModelV1,
|
|
2
|
-
import { BaseChatModel, BaseEmbeddingModel } from '@adaline/openai';
|
|
1
|
+
import { ProviderV1, ChatModelSchemaType, ChatModelV1, EmbeddingModelSchemaType, EmbeddingModelV1, HeadersType } from '@adaline/provider';
|
|
3
2
|
import { z } from 'zod';
|
|
3
|
+
import { BaseChatModel, BaseEmbeddingModel } from '@adaline/openai';
|
|
4
4
|
|
|
5
5
|
declare class Azure<O extends Record<string, any> = Record<string, any>> implements ProviderV1<O> {
|
|
6
6
|
readonly version: "v1";
|
|
@@ -9,28 +9,26 @@ declare class Azure<O extends Record<string, any> = Record<string, any>> impleme
|
|
|
9
9
|
private readonly chatModelFactories;
|
|
10
10
|
private readonly embeddingModelFactories;
|
|
11
11
|
chatModelLiterals(): string[];
|
|
12
|
-
chatModel(name: string, options: O): ChatModelV1;
|
|
13
|
-
chatModelSchema(name: string): ChatModelSchemaType;
|
|
14
12
|
chatModelSchemas(): Record<string, ChatModelSchemaType>;
|
|
13
|
+
chatModel(options: O): ChatModelV1;
|
|
15
14
|
embeddingModelLiterals(): string[];
|
|
16
|
-
embeddingModel(name: string, options: O): EmbeddingModelV1;
|
|
17
|
-
embeddingModelSchema(name: string): EmbeddingModelSchemaType;
|
|
18
15
|
embeddingModelSchemas(): Record<string, EmbeddingModelSchemaType>;
|
|
16
|
+
embeddingModel(options: O): EmbeddingModelV1;
|
|
19
17
|
}
|
|
20
18
|
|
|
21
19
|
declare const AzureChatModelOptions: z.ZodObject<{
|
|
22
20
|
apiKey: z.ZodString;
|
|
21
|
+
deploymentId: z.ZodString;
|
|
23
22
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
24
23
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
25
|
-
deploymentName: z.ZodString;
|
|
26
24
|
}, "strip", z.ZodTypeAny, {
|
|
27
25
|
apiKey: string;
|
|
28
|
-
|
|
26
|
+
deploymentId: string;
|
|
29
27
|
resourceName?: string | undefined;
|
|
30
28
|
baseUrl?: string | undefined;
|
|
31
29
|
}, {
|
|
32
30
|
apiKey: string;
|
|
33
|
-
|
|
31
|
+
deploymentId: string;
|
|
34
32
|
resourceName?: string | undefined;
|
|
35
33
|
baseUrl?: string | undefined;
|
|
36
34
|
}>;
|
|
@@ -39,6 +37,7 @@ type AzureChatModelOptionsType = z.infer<typeof AzureChatModelOptions>;
|
|
|
39
37
|
declare class BaseChatModelOpenAI extends BaseChatModel {
|
|
40
38
|
readonly version: "v1";
|
|
41
39
|
modelSchema: ChatModelSchemaType;
|
|
40
|
+
readonly deploymentId: string;
|
|
42
41
|
private readonly azureApiKey;
|
|
43
42
|
private readonly azureApiVersion;
|
|
44
43
|
constructor(modelSchema: ChatModelSchemaType, options: AzureChatModelOptionsType);
|
|
@@ -61,50 +60,50 @@ declare const GPT_4oSchema: {
|
|
|
61
60
|
description: string;
|
|
62
61
|
max: number;
|
|
63
62
|
} | {
|
|
64
|
-
type: "
|
|
63
|
+
type: "object-schema";
|
|
65
64
|
param: string;
|
|
66
65
|
title: string;
|
|
67
66
|
description: string;
|
|
68
|
-
|
|
69
|
-
min: number;
|
|
70
|
-
step: number;
|
|
71
|
-
default: number;
|
|
67
|
+
objectSchema?: any;
|
|
72
68
|
} | {
|
|
73
|
-
type: "
|
|
69
|
+
type: "range";
|
|
74
70
|
param: string;
|
|
75
71
|
title: string;
|
|
76
72
|
description: string;
|
|
77
|
-
|
|
78
|
-
|
|
73
|
+
max: number;
|
|
74
|
+
default: number;
|
|
75
|
+
min: number;
|
|
76
|
+
step: number;
|
|
79
77
|
} | {
|
|
80
|
-
type: "
|
|
78
|
+
type: "select-boolean";
|
|
81
79
|
param: string;
|
|
82
80
|
title: string;
|
|
83
81
|
description: string;
|
|
84
|
-
|
|
82
|
+
default: boolean | null;
|
|
85
83
|
} | {
|
|
86
|
-
type: "select-
|
|
84
|
+
type: "select-string";
|
|
87
85
|
param: string;
|
|
88
86
|
title: string;
|
|
89
87
|
description: string;
|
|
90
|
-
default:
|
|
88
|
+
default: string | null;
|
|
89
|
+
choices: string[];
|
|
91
90
|
}>;
|
|
92
91
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
93
92
|
};
|
|
94
93
|
};
|
|
95
94
|
declare const GPT_4oOptions: z.ZodObject<{
|
|
96
95
|
apiKey: z.ZodString;
|
|
96
|
+
deploymentId: z.ZodString;
|
|
97
97
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
98
98
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
99
|
-
deploymentName: z.ZodString;
|
|
100
99
|
}, "strip", z.ZodTypeAny, {
|
|
101
100
|
apiKey: string;
|
|
102
|
-
|
|
101
|
+
deploymentId: string;
|
|
103
102
|
resourceName?: string | undefined;
|
|
104
103
|
baseUrl?: string | undefined;
|
|
105
104
|
}, {
|
|
106
105
|
apiKey: string;
|
|
107
|
-
|
|
106
|
+
deploymentId: string;
|
|
108
107
|
resourceName?: string | undefined;
|
|
109
108
|
baseUrl?: string | undefined;
|
|
110
109
|
}>;
|
|
@@ -129,50 +128,50 @@ declare const GPT_4o_MiniSchema: {
|
|
|
129
128
|
description: string;
|
|
130
129
|
max: number;
|
|
131
130
|
} | {
|
|
132
|
-
type: "
|
|
131
|
+
type: "object-schema";
|
|
133
132
|
param: string;
|
|
134
133
|
title: string;
|
|
135
134
|
description: string;
|
|
136
|
-
|
|
137
|
-
min: number;
|
|
138
|
-
step: number;
|
|
139
|
-
default: number;
|
|
135
|
+
objectSchema?: any;
|
|
140
136
|
} | {
|
|
141
|
-
type: "
|
|
137
|
+
type: "range";
|
|
142
138
|
param: string;
|
|
143
139
|
title: string;
|
|
144
140
|
description: string;
|
|
145
|
-
|
|
146
|
-
|
|
141
|
+
max: number;
|
|
142
|
+
default: number;
|
|
143
|
+
min: number;
|
|
144
|
+
step: number;
|
|
147
145
|
} | {
|
|
148
|
-
type: "
|
|
146
|
+
type: "select-boolean";
|
|
149
147
|
param: string;
|
|
150
148
|
title: string;
|
|
151
149
|
description: string;
|
|
152
|
-
|
|
150
|
+
default: boolean | null;
|
|
153
151
|
} | {
|
|
154
|
-
type: "select-
|
|
152
|
+
type: "select-string";
|
|
155
153
|
param: string;
|
|
156
154
|
title: string;
|
|
157
155
|
description: string;
|
|
158
|
-
default:
|
|
156
|
+
default: string | null;
|
|
157
|
+
choices: string[];
|
|
159
158
|
}>;
|
|
160
159
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
161
160
|
};
|
|
162
161
|
};
|
|
163
162
|
declare const GPT_4o_MiniOptions: z.ZodObject<{
|
|
164
163
|
apiKey: z.ZodString;
|
|
164
|
+
deploymentId: z.ZodString;
|
|
165
165
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
166
166
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
167
|
-
deploymentName: z.ZodString;
|
|
168
167
|
}, "strip", z.ZodTypeAny, {
|
|
169
168
|
apiKey: string;
|
|
170
|
-
|
|
169
|
+
deploymentId: string;
|
|
171
170
|
resourceName?: string | undefined;
|
|
172
171
|
baseUrl?: string | undefined;
|
|
173
172
|
}, {
|
|
174
173
|
apiKey: string;
|
|
175
|
-
|
|
174
|
+
deploymentId: string;
|
|
176
175
|
resourceName?: string | undefined;
|
|
177
176
|
baseUrl?: string | undefined;
|
|
178
177
|
}>;
|
|
@@ -197,50 +196,50 @@ declare const GPT_4o_Mini_2024_07_18Schema: {
|
|
|
197
196
|
description: string;
|
|
198
197
|
max: number;
|
|
199
198
|
} | {
|
|
200
|
-
type: "
|
|
199
|
+
type: "object-schema";
|
|
201
200
|
param: string;
|
|
202
201
|
title: string;
|
|
203
202
|
description: string;
|
|
204
|
-
|
|
205
|
-
min: number;
|
|
206
|
-
step: number;
|
|
207
|
-
default: number;
|
|
203
|
+
objectSchema?: any;
|
|
208
204
|
} | {
|
|
209
|
-
type: "
|
|
205
|
+
type: "range";
|
|
210
206
|
param: string;
|
|
211
207
|
title: string;
|
|
212
208
|
description: string;
|
|
213
|
-
|
|
214
|
-
|
|
209
|
+
max: number;
|
|
210
|
+
default: number;
|
|
211
|
+
min: number;
|
|
212
|
+
step: number;
|
|
215
213
|
} | {
|
|
216
|
-
type: "
|
|
214
|
+
type: "select-boolean";
|
|
217
215
|
param: string;
|
|
218
216
|
title: string;
|
|
219
217
|
description: string;
|
|
220
|
-
|
|
218
|
+
default: boolean | null;
|
|
221
219
|
} | {
|
|
222
|
-
type: "select-
|
|
220
|
+
type: "select-string";
|
|
223
221
|
param: string;
|
|
224
222
|
title: string;
|
|
225
223
|
description: string;
|
|
226
|
-
default:
|
|
224
|
+
default: string | null;
|
|
225
|
+
choices: string[];
|
|
227
226
|
}>;
|
|
228
227
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
229
228
|
};
|
|
230
229
|
};
|
|
231
230
|
declare const GPT_4o_Mini_2024_07_18Options: z.ZodObject<{
|
|
232
231
|
apiKey: z.ZodString;
|
|
232
|
+
deploymentId: z.ZodString;
|
|
233
233
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
234
234
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
235
|
-
deploymentName: z.ZodString;
|
|
236
235
|
}, "strip", z.ZodTypeAny, {
|
|
237
236
|
apiKey: string;
|
|
238
|
-
|
|
237
|
+
deploymentId: string;
|
|
239
238
|
resourceName?: string | undefined;
|
|
240
239
|
baseUrl?: string | undefined;
|
|
241
240
|
}, {
|
|
242
241
|
apiKey: string;
|
|
243
|
-
|
|
242
|
+
deploymentId: string;
|
|
244
243
|
resourceName?: string | undefined;
|
|
245
244
|
baseUrl?: string | undefined;
|
|
246
245
|
}>;
|
|
@@ -265,50 +264,50 @@ declare const GPT_4o_2024_08_06Schema: {
|
|
|
265
264
|
description: string;
|
|
266
265
|
max: number;
|
|
267
266
|
} | {
|
|
268
|
-
type: "
|
|
267
|
+
type: "object-schema";
|
|
269
268
|
param: string;
|
|
270
269
|
title: string;
|
|
271
270
|
description: string;
|
|
272
|
-
|
|
273
|
-
min: number;
|
|
274
|
-
step: number;
|
|
275
|
-
default: number;
|
|
271
|
+
objectSchema?: any;
|
|
276
272
|
} | {
|
|
277
|
-
type: "
|
|
273
|
+
type: "range";
|
|
278
274
|
param: string;
|
|
279
275
|
title: string;
|
|
280
276
|
description: string;
|
|
281
|
-
|
|
282
|
-
|
|
277
|
+
max: number;
|
|
278
|
+
default: number;
|
|
279
|
+
min: number;
|
|
280
|
+
step: number;
|
|
283
281
|
} | {
|
|
284
|
-
type: "
|
|
282
|
+
type: "select-boolean";
|
|
285
283
|
param: string;
|
|
286
284
|
title: string;
|
|
287
285
|
description: string;
|
|
288
|
-
|
|
286
|
+
default: boolean | null;
|
|
289
287
|
} | {
|
|
290
|
-
type: "select-
|
|
288
|
+
type: "select-string";
|
|
291
289
|
param: string;
|
|
292
290
|
title: string;
|
|
293
291
|
description: string;
|
|
294
|
-
default:
|
|
292
|
+
default: string | null;
|
|
293
|
+
choices: string[];
|
|
295
294
|
}>;
|
|
296
295
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
297
296
|
};
|
|
298
297
|
};
|
|
299
298
|
declare const GPT_4o_2024_08_06Options: z.ZodObject<{
|
|
300
299
|
apiKey: z.ZodString;
|
|
300
|
+
deploymentId: z.ZodString;
|
|
301
301
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
302
302
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
303
|
-
deploymentName: z.ZodString;
|
|
304
303
|
}, "strip", z.ZodTypeAny, {
|
|
305
304
|
apiKey: string;
|
|
306
|
-
|
|
305
|
+
deploymentId: string;
|
|
307
306
|
resourceName?: string | undefined;
|
|
308
307
|
baseUrl?: string | undefined;
|
|
309
308
|
}, {
|
|
310
309
|
apiKey: string;
|
|
311
|
-
|
|
310
|
+
deploymentId: string;
|
|
312
311
|
resourceName?: string | undefined;
|
|
313
312
|
baseUrl?: string | undefined;
|
|
314
313
|
}>;
|
|
@@ -333,50 +332,50 @@ declare const GPT_4o_2024_05_13Schema: {
|
|
|
333
332
|
description: string;
|
|
334
333
|
max: number;
|
|
335
334
|
} | {
|
|
336
|
-
type: "
|
|
335
|
+
type: "object-schema";
|
|
337
336
|
param: string;
|
|
338
337
|
title: string;
|
|
339
338
|
description: string;
|
|
340
|
-
|
|
341
|
-
min: number;
|
|
342
|
-
step: number;
|
|
343
|
-
default: number;
|
|
339
|
+
objectSchema?: any;
|
|
344
340
|
} | {
|
|
345
|
-
type: "
|
|
341
|
+
type: "range";
|
|
346
342
|
param: string;
|
|
347
343
|
title: string;
|
|
348
344
|
description: string;
|
|
349
|
-
|
|
350
|
-
|
|
345
|
+
max: number;
|
|
346
|
+
default: number;
|
|
347
|
+
min: number;
|
|
348
|
+
step: number;
|
|
351
349
|
} | {
|
|
352
|
-
type: "
|
|
350
|
+
type: "select-boolean";
|
|
353
351
|
param: string;
|
|
354
352
|
title: string;
|
|
355
353
|
description: string;
|
|
356
|
-
|
|
354
|
+
default: boolean | null;
|
|
357
355
|
} | {
|
|
358
|
-
type: "select-
|
|
356
|
+
type: "select-string";
|
|
359
357
|
param: string;
|
|
360
358
|
title: string;
|
|
361
359
|
description: string;
|
|
362
|
-
default:
|
|
360
|
+
default: string | null;
|
|
361
|
+
choices: string[];
|
|
363
362
|
}>;
|
|
364
363
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
365
364
|
};
|
|
366
365
|
};
|
|
367
366
|
declare const GPT_4o_2024_05_13Options: z.ZodObject<{
|
|
368
367
|
apiKey: z.ZodString;
|
|
368
|
+
deploymentId: z.ZodString;
|
|
369
369
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
370
370
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
371
|
-
deploymentName: z.ZodString;
|
|
372
371
|
}, "strip", z.ZodTypeAny, {
|
|
373
372
|
apiKey: string;
|
|
374
|
-
|
|
373
|
+
deploymentId: string;
|
|
375
374
|
resourceName?: string | undefined;
|
|
376
375
|
baseUrl?: string | undefined;
|
|
377
376
|
}, {
|
|
378
377
|
apiKey: string;
|
|
379
|
-
|
|
378
|
+
deploymentId: string;
|
|
380
379
|
resourceName?: string | undefined;
|
|
381
380
|
baseUrl?: string | undefined;
|
|
382
381
|
}>;
|
|
@@ -401,50 +400,50 @@ declare const GPT_4Schema: {
|
|
|
401
400
|
description: string;
|
|
402
401
|
max: number;
|
|
403
402
|
} | {
|
|
404
|
-
type: "
|
|
403
|
+
type: "object-schema";
|
|
405
404
|
param: string;
|
|
406
405
|
title: string;
|
|
407
406
|
description: string;
|
|
408
|
-
|
|
409
|
-
min: number;
|
|
410
|
-
step: number;
|
|
411
|
-
default: number;
|
|
407
|
+
objectSchema?: any;
|
|
412
408
|
} | {
|
|
413
|
-
type: "
|
|
409
|
+
type: "range";
|
|
414
410
|
param: string;
|
|
415
411
|
title: string;
|
|
416
412
|
description: string;
|
|
417
|
-
|
|
418
|
-
|
|
413
|
+
max: number;
|
|
414
|
+
default: number;
|
|
415
|
+
min: number;
|
|
416
|
+
step: number;
|
|
419
417
|
} | {
|
|
420
|
-
type: "
|
|
418
|
+
type: "select-boolean";
|
|
421
419
|
param: string;
|
|
422
420
|
title: string;
|
|
423
421
|
description: string;
|
|
424
|
-
|
|
422
|
+
default: boolean | null;
|
|
425
423
|
} | {
|
|
426
|
-
type: "select-
|
|
424
|
+
type: "select-string";
|
|
427
425
|
param: string;
|
|
428
426
|
title: string;
|
|
429
427
|
description: string;
|
|
430
|
-
default:
|
|
428
|
+
default: string | null;
|
|
429
|
+
choices: string[];
|
|
431
430
|
}>;
|
|
432
431
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
433
432
|
};
|
|
434
433
|
};
|
|
435
434
|
declare const GPT_4Options: z.ZodObject<{
|
|
436
435
|
apiKey: z.ZodString;
|
|
436
|
+
deploymentId: z.ZodString;
|
|
437
437
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
438
438
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
439
|
-
deploymentName: z.ZodString;
|
|
440
439
|
}, "strip", z.ZodTypeAny, {
|
|
441
440
|
apiKey: string;
|
|
442
|
-
|
|
441
|
+
deploymentId: string;
|
|
443
442
|
resourceName?: string | undefined;
|
|
444
443
|
baseUrl?: string | undefined;
|
|
445
444
|
}, {
|
|
446
445
|
apiKey: string;
|
|
447
|
-
|
|
446
|
+
deploymentId: string;
|
|
448
447
|
resourceName?: string | undefined;
|
|
449
448
|
baseUrl?: string | undefined;
|
|
450
449
|
}>;
|
|
@@ -469,50 +468,50 @@ declare const GPT_4_Turbo_2024_04_09Schema: {
|
|
|
469
468
|
description: string;
|
|
470
469
|
max: number;
|
|
471
470
|
} | {
|
|
472
|
-
type: "
|
|
471
|
+
type: "object-schema";
|
|
473
472
|
param: string;
|
|
474
473
|
title: string;
|
|
475
474
|
description: string;
|
|
476
|
-
|
|
477
|
-
min: number;
|
|
478
|
-
step: number;
|
|
479
|
-
default: number;
|
|
475
|
+
objectSchema?: any;
|
|
480
476
|
} | {
|
|
481
|
-
type: "
|
|
477
|
+
type: "range";
|
|
482
478
|
param: string;
|
|
483
479
|
title: string;
|
|
484
480
|
description: string;
|
|
485
|
-
|
|
486
|
-
|
|
481
|
+
max: number;
|
|
482
|
+
default: number;
|
|
483
|
+
min: number;
|
|
484
|
+
step: number;
|
|
487
485
|
} | {
|
|
488
|
-
type: "
|
|
486
|
+
type: "select-boolean";
|
|
489
487
|
param: string;
|
|
490
488
|
title: string;
|
|
491
489
|
description: string;
|
|
492
|
-
|
|
490
|
+
default: boolean | null;
|
|
493
491
|
} | {
|
|
494
|
-
type: "select-
|
|
492
|
+
type: "select-string";
|
|
495
493
|
param: string;
|
|
496
494
|
title: string;
|
|
497
495
|
description: string;
|
|
498
|
-
default:
|
|
496
|
+
default: string | null;
|
|
497
|
+
choices: string[];
|
|
499
498
|
}>;
|
|
500
499
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
501
500
|
};
|
|
502
501
|
};
|
|
503
502
|
declare const GPT_4_Turbo_2024_04_09Options: z.ZodObject<{
|
|
504
503
|
apiKey: z.ZodString;
|
|
504
|
+
deploymentId: z.ZodString;
|
|
505
505
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
506
506
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
507
|
-
deploymentName: z.ZodString;
|
|
508
507
|
}, "strip", z.ZodTypeAny, {
|
|
509
508
|
apiKey: string;
|
|
510
|
-
|
|
509
|
+
deploymentId: string;
|
|
511
510
|
resourceName?: string | undefined;
|
|
512
511
|
baseUrl?: string | undefined;
|
|
513
512
|
}, {
|
|
514
513
|
apiKey: string;
|
|
515
|
-
|
|
514
|
+
deploymentId: string;
|
|
516
515
|
resourceName?: string | undefined;
|
|
517
516
|
baseUrl?: string | undefined;
|
|
518
517
|
}>;
|
|
@@ -537,50 +536,50 @@ declare const GPT_4_1106_PreviewSchema: {
|
|
|
537
536
|
description: string;
|
|
538
537
|
max: number;
|
|
539
538
|
} | {
|
|
540
|
-
type: "
|
|
539
|
+
type: "object-schema";
|
|
541
540
|
param: string;
|
|
542
541
|
title: string;
|
|
543
542
|
description: string;
|
|
544
|
-
|
|
545
|
-
min: number;
|
|
546
|
-
step: number;
|
|
547
|
-
default: number;
|
|
543
|
+
objectSchema?: any;
|
|
548
544
|
} | {
|
|
549
|
-
type: "
|
|
545
|
+
type: "range";
|
|
550
546
|
param: string;
|
|
551
547
|
title: string;
|
|
552
548
|
description: string;
|
|
553
|
-
|
|
554
|
-
|
|
549
|
+
max: number;
|
|
550
|
+
default: number;
|
|
551
|
+
min: number;
|
|
552
|
+
step: number;
|
|
555
553
|
} | {
|
|
556
|
-
type: "
|
|
554
|
+
type: "select-boolean";
|
|
557
555
|
param: string;
|
|
558
556
|
title: string;
|
|
559
557
|
description: string;
|
|
560
|
-
|
|
558
|
+
default: boolean | null;
|
|
561
559
|
} | {
|
|
562
|
-
type: "select-
|
|
560
|
+
type: "select-string";
|
|
563
561
|
param: string;
|
|
564
562
|
title: string;
|
|
565
563
|
description: string;
|
|
566
|
-
default:
|
|
564
|
+
default: string | null;
|
|
565
|
+
choices: string[];
|
|
567
566
|
}>;
|
|
568
567
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
569
568
|
};
|
|
570
569
|
};
|
|
571
570
|
declare const GPT_4_1106_PreviewOptions: z.ZodObject<{
|
|
572
571
|
apiKey: z.ZodString;
|
|
572
|
+
deploymentId: z.ZodString;
|
|
573
573
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
574
574
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
575
|
-
deploymentName: z.ZodString;
|
|
576
575
|
}, "strip", z.ZodTypeAny, {
|
|
577
576
|
apiKey: string;
|
|
578
|
-
|
|
577
|
+
deploymentId: string;
|
|
579
578
|
resourceName?: string | undefined;
|
|
580
579
|
baseUrl?: string | undefined;
|
|
581
580
|
}, {
|
|
582
581
|
apiKey: string;
|
|
583
|
-
|
|
582
|
+
deploymentId: string;
|
|
584
583
|
resourceName?: string | undefined;
|
|
585
584
|
baseUrl?: string | undefined;
|
|
586
585
|
}>;
|
|
@@ -605,50 +604,50 @@ declare const GPT_4_0613Schema: {
|
|
|
605
604
|
description: string;
|
|
606
605
|
max: number;
|
|
607
606
|
} | {
|
|
608
|
-
type: "
|
|
607
|
+
type: "object-schema";
|
|
609
608
|
param: string;
|
|
610
609
|
title: string;
|
|
611
610
|
description: string;
|
|
612
|
-
|
|
613
|
-
min: number;
|
|
614
|
-
step: number;
|
|
615
|
-
default: number;
|
|
611
|
+
objectSchema?: any;
|
|
616
612
|
} | {
|
|
617
|
-
type: "
|
|
613
|
+
type: "range";
|
|
618
614
|
param: string;
|
|
619
615
|
title: string;
|
|
620
616
|
description: string;
|
|
621
|
-
|
|
622
|
-
|
|
617
|
+
max: number;
|
|
618
|
+
default: number;
|
|
619
|
+
min: number;
|
|
620
|
+
step: number;
|
|
623
621
|
} | {
|
|
624
|
-
type: "
|
|
622
|
+
type: "select-boolean";
|
|
625
623
|
param: string;
|
|
626
624
|
title: string;
|
|
627
625
|
description: string;
|
|
628
|
-
|
|
626
|
+
default: boolean | null;
|
|
629
627
|
} | {
|
|
630
|
-
type: "select-
|
|
628
|
+
type: "select-string";
|
|
631
629
|
param: string;
|
|
632
630
|
title: string;
|
|
633
631
|
description: string;
|
|
634
|
-
default:
|
|
632
|
+
default: string | null;
|
|
633
|
+
choices: string[];
|
|
635
634
|
}>;
|
|
636
635
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
637
636
|
};
|
|
638
637
|
};
|
|
639
638
|
declare const GPT_4_0613Options: z.ZodObject<{
|
|
640
639
|
apiKey: z.ZodString;
|
|
640
|
+
deploymentId: z.ZodString;
|
|
641
641
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
642
642
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
643
|
-
deploymentName: z.ZodString;
|
|
644
643
|
}, "strip", z.ZodTypeAny, {
|
|
645
644
|
apiKey: string;
|
|
646
|
-
|
|
645
|
+
deploymentId: string;
|
|
647
646
|
resourceName?: string | undefined;
|
|
648
647
|
baseUrl?: string | undefined;
|
|
649
648
|
}, {
|
|
650
649
|
apiKey: string;
|
|
651
|
-
|
|
650
|
+
deploymentId: string;
|
|
652
651
|
resourceName?: string | undefined;
|
|
653
652
|
baseUrl?: string | undefined;
|
|
654
653
|
}>;
|
|
@@ -673,50 +672,50 @@ declare const GPT_3_5_TurboSchema: {
|
|
|
673
672
|
description: string;
|
|
674
673
|
max: number;
|
|
675
674
|
} | {
|
|
676
|
-
type: "
|
|
675
|
+
type: "object-schema";
|
|
677
676
|
param: string;
|
|
678
677
|
title: string;
|
|
679
678
|
description: string;
|
|
680
|
-
|
|
681
|
-
min: number;
|
|
682
|
-
step: number;
|
|
683
|
-
default: number;
|
|
679
|
+
objectSchema?: any;
|
|
684
680
|
} | {
|
|
685
|
-
type: "
|
|
681
|
+
type: "range";
|
|
686
682
|
param: string;
|
|
687
683
|
title: string;
|
|
688
684
|
description: string;
|
|
689
|
-
|
|
690
|
-
|
|
685
|
+
max: number;
|
|
686
|
+
default: number;
|
|
687
|
+
min: number;
|
|
688
|
+
step: number;
|
|
691
689
|
} | {
|
|
692
|
-
type: "
|
|
690
|
+
type: "select-boolean";
|
|
693
691
|
param: string;
|
|
694
692
|
title: string;
|
|
695
693
|
description: string;
|
|
696
|
-
|
|
694
|
+
default: boolean | null;
|
|
697
695
|
} | {
|
|
698
|
-
type: "select-
|
|
696
|
+
type: "select-string";
|
|
699
697
|
param: string;
|
|
700
698
|
title: string;
|
|
701
699
|
description: string;
|
|
702
|
-
default:
|
|
700
|
+
default: string | null;
|
|
701
|
+
choices: string[];
|
|
703
702
|
}>;
|
|
704
703
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
705
704
|
};
|
|
706
705
|
};
|
|
707
706
|
declare const GPT_3_5_TurboOptions: z.ZodObject<{
|
|
708
707
|
apiKey: z.ZodString;
|
|
708
|
+
deploymentId: z.ZodString;
|
|
709
709
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
710
710
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
711
|
-
deploymentName: z.ZodString;
|
|
712
711
|
}, "strip", z.ZodTypeAny, {
|
|
713
712
|
apiKey: string;
|
|
714
|
-
|
|
713
|
+
deploymentId: string;
|
|
715
714
|
resourceName?: string | undefined;
|
|
716
715
|
baseUrl?: string | undefined;
|
|
717
716
|
}, {
|
|
718
717
|
apiKey: string;
|
|
719
|
-
|
|
718
|
+
deploymentId: string;
|
|
720
719
|
resourceName?: string | undefined;
|
|
721
720
|
baseUrl?: string | undefined;
|
|
722
721
|
}>;
|
|
@@ -741,50 +740,50 @@ declare const GPT_3_5_Turbo_1106Schema: {
|
|
|
741
740
|
description: string;
|
|
742
741
|
max: number;
|
|
743
742
|
} | {
|
|
744
|
-
type: "
|
|
743
|
+
type: "object-schema";
|
|
745
744
|
param: string;
|
|
746
745
|
title: string;
|
|
747
746
|
description: string;
|
|
748
|
-
|
|
749
|
-
min: number;
|
|
750
|
-
step: number;
|
|
751
|
-
default: number;
|
|
747
|
+
objectSchema?: any;
|
|
752
748
|
} | {
|
|
753
|
-
type: "
|
|
749
|
+
type: "range";
|
|
754
750
|
param: string;
|
|
755
751
|
title: string;
|
|
756
752
|
description: string;
|
|
757
|
-
|
|
758
|
-
|
|
753
|
+
max: number;
|
|
754
|
+
default: number;
|
|
755
|
+
min: number;
|
|
756
|
+
step: number;
|
|
759
757
|
} | {
|
|
760
|
-
type: "
|
|
758
|
+
type: "select-boolean";
|
|
761
759
|
param: string;
|
|
762
760
|
title: string;
|
|
763
761
|
description: string;
|
|
764
|
-
|
|
762
|
+
default: boolean | null;
|
|
765
763
|
} | {
|
|
766
|
-
type: "select-
|
|
764
|
+
type: "select-string";
|
|
767
765
|
param: string;
|
|
768
766
|
title: string;
|
|
769
767
|
description: string;
|
|
770
|
-
default:
|
|
768
|
+
default: string | null;
|
|
769
|
+
choices: string[];
|
|
771
770
|
}>;
|
|
772
771
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
773
772
|
};
|
|
774
773
|
};
|
|
775
774
|
declare const GPT_3_5_Turbo_1106Options: z.ZodObject<{
|
|
776
775
|
apiKey: z.ZodString;
|
|
776
|
+
deploymentId: z.ZodString;
|
|
777
777
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
778
778
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
779
|
-
deploymentName: z.ZodString;
|
|
780
779
|
}, "strip", z.ZodTypeAny, {
|
|
781
780
|
apiKey: string;
|
|
782
|
-
|
|
781
|
+
deploymentId: string;
|
|
783
782
|
resourceName?: string | undefined;
|
|
784
783
|
baseUrl?: string | undefined;
|
|
785
784
|
}, {
|
|
786
785
|
apiKey: string;
|
|
787
|
-
|
|
786
|
+
deploymentId: string;
|
|
788
787
|
resourceName?: string | undefined;
|
|
789
788
|
baseUrl?: string | undefined;
|
|
790
789
|
}>;
|
|
@@ -809,50 +808,50 @@ declare const GPT_3_5_Turbo_0125Schema: {
|
|
|
809
808
|
description: string;
|
|
810
809
|
max: number;
|
|
811
810
|
} | {
|
|
812
|
-
type: "
|
|
811
|
+
type: "object-schema";
|
|
813
812
|
param: string;
|
|
814
813
|
title: string;
|
|
815
814
|
description: string;
|
|
816
|
-
|
|
817
|
-
min: number;
|
|
818
|
-
step: number;
|
|
819
|
-
default: number;
|
|
815
|
+
objectSchema?: any;
|
|
820
816
|
} | {
|
|
821
|
-
type: "
|
|
817
|
+
type: "range";
|
|
822
818
|
param: string;
|
|
823
819
|
title: string;
|
|
824
820
|
description: string;
|
|
825
|
-
|
|
826
|
-
|
|
821
|
+
max: number;
|
|
822
|
+
default: number;
|
|
823
|
+
min: number;
|
|
824
|
+
step: number;
|
|
827
825
|
} | {
|
|
828
|
-
type: "
|
|
826
|
+
type: "select-boolean";
|
|
829
827
|
param: string;
|
|
830
828
|
title: string;
|
|
831
829
|
description: string;
|
|
832
|
-
|
|
830
|
+
default: boolean | null;
|
|
833
831
|
} | {
|
|
834
|
-
type: "select-
|
|
832
|
+
type: "select-string";
|
|
835
833
|
param: string;
|
|
836
834
|
title: string;
|
|
837
835
|
description: string;
|
|
838
|
-
default:
|
|
836
|
+
default: string | null;
|
|
837
|
+
choices: string[];
|
|
839
838
|
}>;
|
|
840
839
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
841
840
|
};
|
|
842
841
|
};
|
|
843
842
|
declare const GPT_3_5_Turbo_0125Options: z.ZodObject<{
|
|
844
843
|
apiKey: z.ZodString;
|
|
844
|
+
deploymentId: z.ZodString;
|
|
845
845
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
846
846
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
847
|
-
deploymentName: z.ZodString;
|
|
848
847
|
}, "strip", z.ZodTypeAny, {
|
|
849
848
|
apiKey: string;
|
|
850
|
-
|
|
849
|
+
deploymentId: string;
|
|
851
850
|
resourceName?: string | undefined;
|
|
852
851
|
baseUrl?: string | undefined;
|
|
853
852
|
}, {
|
|
854
853
|
apiKey: string;
|
|
855
|
-
|
|
854
|
+
deploymentId: string;
|
|
856
855
|
resourceName?: string | undefined;
|
|
857
856
|
baseUrl?: string | undefined;
|
|
858
857
|
}>;
|
|
@@ -863,17 +862,17 @@ declare class GPT_3_5_Turbo_0125 extends BaseChatModelOpenAI {
|
|
|
863
862
|
|
|
864
863
|
declare const AzureEmbeddingModelOptions: z.ZodObject<{
|
|
865
864
|
apiKey: z.ZodString;
|
|
865
|
+
deploymentId: z.ZodString;
|
|
866
866
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
867
867
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
868
|
-
deploymentName: z.ZodString;
|
|
869
868
|
}, "strip", z.ZodTypeAny, {
|
|
870
869
|
apiKey: string;
|
|
871
|
-
|
|
870
|
+
deploymentId: string;
|
|
872
871
|
resourceName?: string | undefined;
|
|
873
872
|
baseUrl?: string | undefined;
|
|
874
873
|
}, {
|
|
875
874
|
apiKey: string;
|
|
876
|
-
|
|
875
|
+
deploymentId: string;
|
|
877
876
|
resourceName?: string | undefined;
|
|
878
877
|
baseUrl?: string | undefined;
|
|
879
878
|
}>;
|
|
@@ -882,6 +881,7 @@ type AzureEmbeddingModelOptionsType = z.infer<typeof AzureEmbeddingModelOptions>
|
|
|
882
881
|
declare class BaseEmbeddingModelOpenAI extends BaseEmbeddingModel {
|
|
883
882
|
readonly version: "v1";
|
|
884
883
|
modelSchema: EmbeddingModelSchemaType;
|
|
884
|
+
readonly deploymentId: string;
|
|
885
885
|
private readonly azureApiKey;
|
|
886
886
|
private readonly azureApiVersion;
|
|
887
887
|
constructor(modelSchema: EmbeddingModelSchemaType, options: AzureEmbeddingModelOptionsType);
|
|
@@ -903,50 +903,50 @@ declare const Text_Embedding_3_LargeSchema: {
|
|
|
903
903
|
description: string;
|
|
904
904
|
max: number;
|
|
905
905
|
} | {
|
|
906
|
-
type: "
|
|
906
|
+
type: "object-schema";
|
|
907
907
|
param: string;
|
|
908
908
|
title: string;
|
|
909
909
|
description: string;
|
|
910
|
-
|
|
911
|
-
min: number;
|
|
912
|
-
step: number;
|
|
913
|
-
default: number;
|
|
910
|
+
objectSchema?: any;
|
|
914
911
|
} | {
|
|
915
|
-
type: "
|
|
912
|
+
type: "range";
|
|
916
913
|
param: string;
|
|
917
914
|
title: string;
|
|
918
915
|
description: string;
|
|
919
|
-
|
|
920
|
-
|
|
916
|
+
max: number;
|
|
917
|
+
default: number;
|
|
918
|
+
min: number;
|
|
919
|
+
step: number;
|
|
921
920
|
} | {
|
|
922
|
-
type: "
|
|
921
|
+
type: "select-boolean";
|
|
923
922
|
param: string;
|
|
924
923
|
title: string;
|
|
925
924
|
description: string;
|
|
926
|
-
|
|
925
|
+
default: boolean | null;
|
|
927
926
|
} | {
|
|
928
|
-
type: "select-
|
|
927
|
+
type: "select-string";
|
|
929
928
|
param: string;
|
|
930
929
|
title: string;
|
|
931
930
|
description: string;
|
|
932
|
-
default:
|
|
931
|
+
default: string | null;
|
|
932
|
+
choices: string[];
|
|
933
933
|
}>;
|
|
934
934
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
935
935
|
};
|
|
936
936
|
};
|
|
937
937
|
declare const Text_Embedding_3_LargeOptions: z.ZodObject<{
|
|
938
938
|
apiKey: z.ZodString;
|
|
939
|
+
deploymentId: z.ZodString;
|
|
939
940
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
940
941
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
941
|
-
deploymentName: z.ZodString;
|
|
942
942
|
}, "strip", z.ZodTypeAny, {
|
|
943
943
|
apiKey: string;
|
|
944
|
-
|
|
944
|
+
deploymentId: string;
|
|
945
945
|
resourceName?: string | undefined;
|
|
946
946
|
baseUrl?: string | undefined;
|
|
947
947
|
}, {
|
|
948
948
|
apiKey: string;
|
|
949
|
-
|
|
949
|
+
deploymentId: string;
|
|
950
950
|
resourceName?: string | undefined;
|
|
951
951
|
baseUrl?: string | undefined;
|
|
952
952
|
}>;
|
|
@@ -970,50 +970,50 @@ declare const Text_Embedding_Ada_002Schema: {
|
|
|
970
970
|
description: string;
|
|
971
971
|
max: number;
|
|
972
972
|
} | {
|
|
973
|
-
type: "
|
|
973
|
+
type: "object-schema";
|
|
974
974
|
param: string;
|
|
975
975
|
title: string;
|
|
976
976
|
description: string;
|
|
977
|
-
|
|
978
|
-
min: number;
|
|
979
|
-
step: number;
|
|
980
|
-
default: number;
|
|
977
|
+
objectSchema?: any;
|
|
981
978
|
} | {
|
|
982
|
-
type: "
|
|
979
|
+
type: "range";
|
|
983
980
|
param: string;
|
|
984
981
|
title: string;
|
|
985
982
|
description: string;
|
|
986
|
-
|
|
987
|
-
|
|
983
|
+
max: number;
|
|
984
|
+
default: number;
|
|
985
|
+
min: number;
|
|
986
|
+
step: number;
|
|
988
987
|
} | {
|
|
989
|
-
type: "
|
|
988
|
+
type: "select-boolean";
|
|
990
989
|
param: string;
|
|
991
990
|
title: string;
|
|
992
991
|
description: string;
|
|
993
|
-
|
|
992
|
+
default: boolean | null;
|
|
994
993
|
} | {
|
|
995
|
-
type: "select-
|
|
994
|
+
type: "select-string";
|
|
996
995
|
param: string;
|
|
997
996
|
title: string;
|
|
998
997
|
description: string;
|
|
999
|
-
default:
|
|
998
|
+
default: string | null;
|
|
999
|
+
choices: string[];
|
|
1000
1000
|
}>;
|
|
1001
1001
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1002
1002
|
};
|
|
1003
1003
|
};
|
|
1004
1004
|
declare const Text_Embedding_Ada_002Options: z.ZodObject<{
|
|
1005
1005
|
apiKey: z.ZodString;
|
|
1006
|
+
deploymentId: z.ZodString;
|
|
1006
1007
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
1007
1008
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1008
|
-
deploymentName: z.ZodString;
|
|
1009
1009
|
}, "strip", z.ZodTypeAny, {
|
|
1010
1010
|
apiKey: string;
|
|
1011
|
-
|
|
1011
|
+
deploymentId: string;
|
|
1012
1012
|
resourceName?: string | undefined;
|
|
1013
1013
|
baseUrl?: string | undefined;
|
|
1014
1014
|
}, {
|
|
1015
1015
|
apiKey: string;
|
|
1016
|
-
|
|
1016
|
+
deploymentId: string;
|
|
1017
1017
|
resourceName?: string | undefined;
|
|
1018
1018
|
baseUrl?: string | undefined;
|
|
1019
1019
|
}>;
|
|
@@ -1037,50 +1037,50 @@ declare const Text_Embedding_3_SmallSchema: {
|
|
|
1037
1037
|
description: string;
|
|
1038
1038
|
max: number;
|
|
1039
1039
|
} | {
|
|
1040
|
-
type: "
|
|
1040
|
+
type: "object-schema";
|
|
1041
1041
|
param: string;
|
|
1042
1042
|
title: string;
|
|
1043
1043
|
description: string;
|
|
1044
|
-
|
|
1045
|
-
min: number;
|
|
1046
|
-
step: number;
|
|
1047
|
-
default: number;
|
|
1044
|
+
objectSchema?: any;
|
|
1048
1045
|
} | {
|
|
1049
|
-
type: "
|
|
1046
|
+
type: "range";
|
|
1050
1047
|
param: string;
|
|
1051
1048
|
title: string;
|
|
1052
1049
|
description: string;
|
|
1053
|
-
|
|
1054
|
-
|
|
1050
|
+
max: number;
|
|
1051
|
+
default: number;
|
|
1052
|
+
min: number;
|
|
1053
|
+
step: number;
|
|
1055
1054
|
} | {
|
|
1056
|
-
type: "
|
|
1055
|
+
type: "select-boolean";
|
|
1057
1056
|
param: string;
|
|
1058
1057
|
title: string;
|
|
1059
1058
|
description: string;
|
|
1060
|
-
|
|
1059
|
+
default: boolean | null;
|
|
1061
1060
|
} | {
|
|
1062
|
-
type: "select-
|
|
1061
|
+
type: "select-string";
|
|
1063
1062
|
param: string;
|
|
1064
1063
|
title: string;
|
|
1065
1064
|
description: string;
|
|
1066
|
-
default:
|
|
1065
|
+
default: string | null;
|
|
1066
|
+
choices: string[];
|
|
1067
1067
|
}>;
|
|
1068
1068
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1069
1069
|
};
|
|
1070
1070
|
};
|
|
1071
1071
|
declare const Text_Embedding_3_SmallOptions: z.ZodObject<{
|
|
1072
1072
|
apiKey: z.ZodString;
|
|
1073
|
+
deploymentId: z.ZodString;
|
|
1073
1074
|
resourceName: z.ZodOptional<z.ZodString>;
|
|
1074
1075
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1075
|
-
deploymentName: z.ZodString;
|
|
1076
1076
|
}, "strip", z.ZodTypeAny, {
|
|
1077
1077
|
apiKey: string;
|
|
1078
|
-
|
|
1078
|
+
deploymentId: string;
|
|
1079
1079
|
resourceName?: string | undefined;
|
|
1080
1080
|
baseUrl?: string | undefined;
|
|
1081
1081
|
}, {
|
|
1082
1082
|
apiKey: string;
|
|
1083
|
-
|
|
1083
|
+
deploymentId: string;
|
|
1084
1084
|
resourceName?: string | undefined;
|
|
1085
1085
|
baseUrl?: string | undefined;
|
|
1086
1086
|
}>;
|
|
@@ -1089,4 +1089,4 @@ declare class Text_Embedding_3_Small extends BaseEmbeddingModelOpenAI {
|
|
|
1089
1089
|
constructor(options: Text_Embedding_3_SmallOptionsType);
|
|
1090
1090
|
}
|
|
1091
1091
|
|
|
1092
|
-
export { Azure, AzureEmbeddingModelOptions, type AzureEmbeddingModelOptionsType, BaseChatModelOpenAI, BaseEmbeddingModelOpenAI, 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_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, 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_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, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeOptions, type Text_Embedding_3_LargeOptionsType, Text_Embedding_3_LargeSchema, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallOptions, type Text_Embedding_3_SmallOptionsType, Text_Embedding_3_SmallSchema, Text_Embedding_Ada_002, Text_Embedding_Ada_002Literal, Text_Embedding_Ada_002Options, type Text_Embedding_Ada_002OptionsType, Text_Embedding_Ada_002Schema };
|
|
1092
|
+
export { Azure, AzureChatModelOptions, type AzureChatModelOptionsType, AzureEmbeddingModelOptions, type AzureEmbeddingModelOptionsType, BaseChatModelOpenAI, BaseEmbeddingModelOpenAI, 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_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, 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_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, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeOptions, type Text_Embedding_3_LargeOptionsType, Text_Embedding_3_LargeSchema, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallOptions, type Text_Embedding_3_SmallOptionsType, Text_Embedding_3_SmallSchema, Text_Embedding_Ada_002, Text_Embedding_Ada_002Literal, Text_Embedding_Ada_002Options, type Text_Embedding_Ada_002OptionsType, Text_Embedding_Ada_002Schema };
|