@adaline/vertex 1.7.2 → 1.9.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 +1317 -19
- package/dist/index.d.ts +1317 -19
- package/dist/index.js +96 -68
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1195,12 +1195,1172 @@ declare class Gemini1_5Pro extends BaseChatModelVertex {
|
|
|
1195
1195
|
constructor(options: Gemini1_5ProOptionsType);
|
|
1196
1196
|
}
|
|
1197
1197
|
|
|
1198
|
+
declare const Gemini1_5FlashLatestLiteral: "gemini-1.5-flash-latest";
|
|
1199
|
+
declare const Gemini1_5FlashLatestSchema: {
|
|
1200
|
+
readonly price: {
|
|
1201
|
+
modelName: string;
|
|
1202
|
+
currency: string;
|
|
1203
|
+
tokenRanges: ({
|
|
1204
|
+
minTokens: number;
|
|
1205
|
+
maxTokens: number;
|
|
1206
|
+
prices: {
|
|
1207
|
+
base: {
|
|
1208
|
+
inputPricePerMillion: number;
|
|
1209
|
+
outputPricePerMillion: number;
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
} | {
|
|
1213
|
+
minTokens: number;
|
|
1214
|
+
maxTokens: null;
|
|
1215
|
+
prices: {
|
|
1216
|
+
base: {
|
|
1217
|
+
inputPricePerMillion: number;
|
|
1218
|
+
outputPricePerMillion: number;
|
|
1219
|
+
};
|
|
1220
|
+
};
|
|
1221
|
+
})[];
|
|
1222
|
+
};
|
|
1223
|
+
readonly description: string;
|
|
1224
|
+
readonly maxOutputTokens: number;
|
|
1225
|
+
readonly name: string;
|
|
1226
|
+
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1227
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
1228
|
+
readonly maxInputTokens: number;
|
|
1229
|
+
readonly config: {
|
|
1230
|
+
def: Record<string, {
|
|
1231
|
+
type: "multi-string";
|
|
1232
|
+
param: string;
|
|
1233
|
+
title: string;
|
|
1234
|
+
description: string;
|
|
1235
|
+
max: number;
|
|
1236
|
+
} | {
|
|
1237
|
+
type: "object-schema";
|
|
1238
|
+
param: string;
|
|
1239
|
+
title: string;
|
|
1240
|
+
description: string;
|
|
1241
|
+
objectSchema?: any;
|
|
1242
|
+
} | {
|
|
1243
|
+
type: "range";
|
|
1244
|
+
param: string;
|
|
1245
|
+
title: string;
|
|
1246
|
+
description: string;
|
|
1247
|
+
max: number;
|
|
1248
|
+
default: number;
|
|
1249
|
+
min: number;
|
|
1250
|
+
step: number;
|
|
1251
|
+
} | {
|
|
1252
|
+
type: "select-boolean";
|
|
1253
|
+
param: string;
|
|
1254
|
+
title: string;
|
|
1255
|
+
description: string;
|
|
1256
|
+
default: boolean | null;
|
|
1257
|
+
} | {
|
|
1258
|
+
type: "select-string";
|
|
1259
|
+
param: string;
|
|
1260
|
+
title: string;
|
|
1261
|
+
description: string;
|
|
1262
|
+
default: string;
|
|
1263
|
+
choices: string[];
|
|
1264
|
+
}>;
|
|
1265
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1266
|
+
};
|
|
1267
|
+
readonly maxReasoningTokens?: number | undefined;
|
|
1268
|
+
};
|
|
1269
|
+
declare const Gemini1_5FlashLatestOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
1270
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
1271
|
+
accessToken: z.ZodString;
|
|
1272
|
+
modelName: z.ZodString;
|
|
1273
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1274
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1276
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
1277
|
+
}, "strip", z.ZodTypeAny, {
|
|
1278
|
+
authType: "accessToken";
|
|
1279
|
+
accessToken: string;
|
|
1280
|
+
modelName: string;
|
|
1281
|
+
baseUrl?: string | undefined;
|
|
1282
|
+
location?: string | undefined;
|
|
1283
|
+
projectId?: string | undefined;
|
|
1284
|
+
publisher?: string | undefined;
|
|
1285
|
+
}, {
|
|
1286
|
+
authType: "accessToken";
|
|
1287
|
+
accessToken: string;
|
|
1288
|
+
modelName: string;
|
|
1289
|
+
baseUrl?: string | undefined;
|
|
1290
|
+
location?: string | undefined;
|
|
1291
|
+
projectId?: string | undefined;
|
|
1292
|
+
publisher?: string | undefined;
|
|
1293
|
+
}>, z.ZodObject<{
|
|
1294
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
1295
|
+
serviceAccount: z.ZodObject<{
|
|
1296
|
+
client_email: z.ZodString;
|
|
1297
|
+
private_key: z.ZodString;
|
|
1298
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1299
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1300
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
1301
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
1303
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
1304
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
1307
|
+
}, "strip", z.ZodTypeAny, {
|
|
1308
|
+
client_email: string;
|
|
1309
|
+
private_key: string;
|
|
1310
|
+
type?: string | undefined;
|
|
1311
|
+
project_id?: string | undefined;
|
|
1312
|
+
private_key_id?: string | undefined;
|
|
1313
|
+
client_id?: string | undefined;
|
|
1314
|
+
auth_uri?: string | undefined;
|
|
1315
|
+
token_uri?: string | undefined;
|
|
1316
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1317
|
+
client_x509_cert_url?: string | undefined;
|
|
1318
|
+
universe_domain?: string | undefined;
|
|
1319
|
+
}, {
|
|
1320
|
+
client_email: string;
|
|
1321
|
+
private_key: string;
|
|
1322
|
+
type?: string | undefined;
|
|
1323
|
+
project_id?: string | undefined;
|
|
1324
|
+
private_key_id?: string | undefined;
|
|
1325
|
+
client_id?: string | undefined;
|
|
1326
|
+
auth_uri?: string | undefined;
|
|
1327
|
+
token_uri?: string | undefined;
|
|
1328
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1329
|
+
client_x509_cert_url?: string | undefined;
|
|
1330
|
+
universe_domain?: string | undefined;
|
|
1331
|
+
}>;
|
|
1332
|
+
modelName: z.ZodString;
|
|
1333
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1334
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1335
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1336
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
1337
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
1338
|
+
}, "strip", z.ZodTypeAny, {
|
|
1339
|
+
authType: "serviceAccount";
|
|
1340
|
+
modelName: string;
|
|
1341
|
+
serviceAccount: {
|
|
1342
|
+
client_email: string;
|
|
1343
|
+
private_key: string;
|
|
1344
|
+
type?: string | undefined;
|
|
1345
|
+
project_id?: string | undefined;
|
|
1346
|
+
private_key_id?: string | undefined;
|
|
1347
|
+
client_id?: string | undefined;
|
|
1348
|
+
auth_uri?: string | undefined;
|
|
1349
|
+
token_uri?: string | undefined;
|
|
1350
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1351
|
+
client_x509_cert_url?: string | undefined;
|
|
1352
|
+
universe_domain?: string | undefined;
|
|
1353
|
+
};
|
|
1354
|
+
tokenLifetimeHours: number;
|
|
1355
|
+
baseUrl?: string | undefined;
|
|
1356
|
+
location?: string | undefined;
|
|
1357
|
+
projectId?: string | undefined;
|
|
1358
|
+
publisher?: string | undefined;
|
|
1359
|
+
}, {
|
|
1360
|
+
authType: "serviceAccount";
|
|
1361
|
+
modelName: string;
|
|
1362
|
+
serviceAccount: {
|
|
1363
|
+
client_email: string;
|
|
1364
|
+
private_key: string;
|
|
1365
|
+
type?: string | undefined;
|
|
1366
|
+
project_id?: string | undefined;
|
|
1367
|
+
private_key_id?: string | undefined;
|
|
1368
|
+
client_id?: string | undefined;
|
|
1369
|
+
auth_uri?: string | undefined;
|
|
1370
|
+
token_uri?: string | undefined;
|
|
1371
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1372
|
+
client_x509_cert_url?: string | undefined;
|
|
1373
|
+
universe_domain?: string | undefined;
|
|
1374
|
+
};
|
|
1375
|
+
baseUrl?: string | undefined;
|
|
1376
|
+
location?: string | undefined;
|
|
1377
|
+
projectId?: string | undefined;
|
|
1378
|
+
publisher?: string | undefined;
|
|
1379
|
+
tokenLifetimeHours?: number | undefined;
|
|
1380
|
+
}>]>;
|
|
1381
|
+
type Gemini1_5FlashLatestOptionsType = z.infer<typeof Gemini1_5FlashLatestOptions>;
|
|
1382
|
+
declare class Gemini1_5FlashLatest extends BaseChatModelVertex {
|
|
1383
|
+
constructor(options: Gemini1_5FlashLatestOptionsType);
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
declare const Gemini1_5ProLatestLiteral: "gemini-1.5-pro-latest";
|
|
1387
|
+
declare const Gemini1_5ProLatestSchema: {
|
|
1388
|
+
readonly price: {
|
|
1389
|
+
modelName: string;
|
|
1390
|
+
currency: string;
|
|
1391
|
+
tokenRanges: ({
|
|
1392
|
+
minTokens: number;
|
|
1393
|
+
maxTokens: number;
|
|
1394
|
+
prices: {
|
|
1395
|
+
base: {
|
|
1396
|
+
inputPricePerMillion: number;
|
|
1397
|
+
outputPricePerMillion: number;
|
|
1398
|
+
};
|
|
1399
|
+
};
|
|
1400
|
+
} | {
|
|
1401
|
+
minTokens: number;
|
|
1402
|
+
maxTokens: null;
|
|
1403
|
+
prices: {
|
|
1404
|
+
base: {
|
|
1405
|
+
inputPricePerMillion: number;
|
|
1406
|
+
outputPricePerMillion: number;
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
})[];
|
|
1410
|
+
};
|
|
1411
|
+
readonly description: string;
|
|
1412
|
+
readonly maxOutputTokens: number;
|
|
1413
|
+
readonly name: string;
|
|
1414
|
+
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1415
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
1416
|
+
readonly maxInputTokens: number;
|
|
1417
|
+
readonly config: {
|
|
1418
|
+
def: Record<string, {
|
|
1419
|
+
type: "multi-string";
|
|
1420
|
+
param: string;
|
|
1421
|
+
title: string;
|
|
1422
|
+
description: string;
|
|
1423
|
+
max: number;
|
|
1424
|
+
} | {
|
|
1425
|
+
type: "object-schema";
|
|
1426
|
+
param: string;
|
|
1427
|
+
title: string;
|
|
1428
|
+
description: string;
|
|
1429
|
+
objectSchema?: any;
|
|
1430
|
+
} | {
|
|
1431
|
+
type: "range";
|
|
1432
|
+
param: string;
|
|
1433
|
+
title: string;
|
|
1434
|
+
description: string;
|
|
1435
|
+
max: number;
|
|
1436
|
+
default: number;
|
|
1437
|
+
min: number;
|
|
1438
|
+
step: number;
|
|
1439
|
+
} | {
|
|
1440
|
+
type: "select-boolean";
|
|
1441
|
+
param: string;
|
|
1442
|
+
title: string;
|
|
1443
|
+
description: string;
|
|
1444
|
+
default: boolean | null;
|
|
1445
|
+
} | {
|
|
1446
|
+
type: "select-string";
|
|
1447
|
+
param: string;
|
|
1448
|
+
title: string;
|
|
1449
|
+
description: string;
|
|
1450
|
+
default: string;
|
|
1451
|
+
choices: string[];
|
|
1452
|
+
}>;
|
|
1453
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1454
|
+
};
|
|
1455
|
+
readonly maxReasoningTokens?: number | undefined;
|
|
1456
|
+
};
|
|
1457
|
+
declare const Gemini1_5ProLatestOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
1458
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
1459
|
+
accessToken: z.ZodString;
|
|
1460
|
+
modelName: z.ZodString;
|
|
1461
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1463
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1464
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
}, "strip", z.ZodTypeAny, {
|
|
1466
|
+
authType: "accessToken";
|
|
1467
|
+
accessToken: string;
|
|
1468
|
+
modelName: string;
|
|
1469
|
+
baseUrl?: string | undefined;
|
|
1470
|
+
location?: string | undefined;
|
|
1471
|
+
projectId?: string | undefined;
|
|
1472
|
+
publisher?: string | undefined;
|
|
1473
|
+
}, {
|
|
1474
|
+
authType: "accessToken";
|
|
1475
|
+
accessToken: string;
|
|
1476
|
+
modelName: string;
|
|
1477
|
+
baseUrl?: string | undefined;
|
|
1478
|
+
location?: string | undefined;
|
|
1479
|
+
projectId?: string | undefined;
|
|
1480
|
+
publisher?: string | undefined;
|
|
1481
|
+
}>, z.ZodObject<{
|
|
1482
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
1483
|
+
serviceAccount: z.ZodObject<{
|
|
1484
|
+
client_email: z.ZodString;
|
|
1485
|
+
private_key: z.ZodString;
|
|
1486
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
1491
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
1492
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
1493
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
1494
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
1495
|
+
}, "strip", z.ZodTypeAny, {
|
|
1496
|
+
client_email: string;
|
|
1497
|
+
private_key: string;
|
|
1498
|
+
type?: string | undefined;
|
|
1499
|
+
project_id?: string | undefined;
|
|
1500
|
+
private_key_id?: string | undefined;
|
|
1501
|
+
client_id?: string | undefined;
|
|
1502
|
+
auth_uri?: string | undefined;
|
|
1503
|
+
token_uri?: string | undefined;
|
|
1504
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1505
|
+
client_x509_cert_url?: string | undefined;
|
|
1506
|
+
universe_domain?: string | undefined;
|
|
1507
|
+
}, {
|
|
1508
|
+
client_email: string;
|
|
1509
|
+
private_key: string;
|
|
1510
|
+
type?: string | undefined;
|
|
1511
|
+
project_id?: string | undefined;
|
|
1512
|
+
private_key_id?: string | undefined;
|
|
1513
|
+
client_id?: string | undefined;
|
|
1514
|
+
auth_uri?: string | undefined;
|
|
1515
|
+
token_uri?: string | undefined;
|
|
1516
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1517
|
+
client_x509_cert_url?: string | undefined;
|
|
1518
|
+
universe_domain?: string | undefined;
|
|
1519
|
+
}>;
|
|
1520
|
+
modelName: z.ZodString;
|
|
1521
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1522
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1523
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1524
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
1525
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
1526
|
+
}, "strip", z.ZodTypeAny, {
|
|
1527
|
+
authType: "serviceAccount";
|
|
1528
|
+
modelName: string;
|
|
1529
|
+
serviceAccount: {
|
|
1530
|
+
client_email: string;
|
|
1531
|
+
private_key: string;
|
|
1532
|
+
type?: string | undefined;
|
|
1533
|
+
project_id?: string | undefined;
|
|
1534
|
+
private_key_id?: string | undefined;
|
|
1535
|
+
client_id?: string | undefined;
|
|
1536
|
+
auth_uri?: string | undefined;
|
|
1537
|
+
token_uri?: string | undefined;
|
|
1538
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1539
|
+
client_x509_cert_url?: string | undefined;
|
|
1540
|
+
universe_domain?: string | undefined;
|
|
1541
|
+
};
|
|
1542
|
+
tokenLifetimeHours: number;
|
|
1543
|
+
baseUrl?: string | undefined;
|
|
1544
|
+
location?: string | undefined;
|
|
1545
|
+
projectId?: string | undefined;
|
|
1546
|
+
publisher?: string | undefined;
|
|
1547
|
+
}, {
|
|
1548
|
+
authType: "serviceAccount";
|
|
1549
|
+
modelName: string;
|
|
1550
|
+
serviceAccount: {
|
|
1551
|
+
client_email: string;
|
|
1552
|
+
private_key: string;
|
|
1553
|
+
type?: string | undefined;
|
|
1554
|
+
project_id?: string | undefined;
|
|
1555
|
+
private_key_id?: string | undefined;
|
|
1556
|
+
client_id?: string | undefined;
|
|
1557
|
+
auth_uri?: string | undefined;
|
|
1558
|
+
token_uri?: string | undefined;
|
|
1559
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1560
|
+
client_x509_cert_url?: string | undefined;
|
|
1561
|
+
universe_domain?: string | undefined;
|
|
1562
|
+
};
|
|
1563
|
+
baseUrl?: string | undefined;
|
|
1564
|
+
location?: string | undefined;
|
|
1565
|
+
projectId?: string | undefined;
|
|
1566
|
+
publisher?: string | undefined;
|
|
1567
|
+
tokenLifetimeHours?: number | undefined;
|
|
1568
|
+
}>]>;
|
|
1569
|
+
type Gemini1_5ProLatestOptionsType = z.infer<typeof Gemini1_5ProLatestOptions>;
|
|
1570
|
+
declare class Gemini1_5ProLatest extends BaseChatModelVertex {
|
|
1571
|
+
constructor(options: Gemini1_5ProLatestOptionsType);
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1198
1574
|
declare const Gemini2_0FlashExpLiteral: "gemini-2.0-flash-exp";
|
|
1199
1575
|
declare const Gemini2_0FlashExpSchema: {
|
|
1200
1576
|
readonly price: {
|
|
1201
1577
|
modelName: string;
|
|
1202
1578
|
currency: string;
|
|
1203
|
-
tokenRanges: {
|
|
1579
|
+
tokenRanges: {
|
|
1580
|
+
minTokens: number;
|
|
1581
|
+
maxTokens: null;
|
|
1582
|
+
prices: {
|
|
1583
|
+
base: {
|
|
1584
|
+
inputPricePerMillion: number;
|
|
1585
|
+
outputPricePerMillion: number;
|
|
1586
|
+
};
|
|
1587
|
+
};
|
|
1588
|
+
}[];
|
|
1589
|
+
};
|
|
1590
|
+
readonly description: string;
|
|
1591
|
+
readonly maxOutputTokens: number;
|
|
1592
|
+
readonly name: string;
|
|
1593
|
+
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
1594
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
1595
|
+
readonly maxInputTokens: number;
|
|
1596
|
+
readonly config: {
|
|
1597
|
+
def: Record<string, {
|
|
1598
|
+
type: "multi-string";
|
|
1599
|
+
param: string;
|
|
1600
|
+
title: string;
|
|
1601
|
+
description: string;
|
|
1602
|
+
max: number;
|
|
1603
|
+
} | {
|
|
1604
|
+
type: "object-schema";
|
|
1605
|
+
param: string;
|
|
1606
|
+
title: string;
|
|
1607
|
+
description: string;
|
|
1608
|
+
objectSchema?: any;
|
|
1609
|
+
} | {
|
|
1610
|
+
type: "range";
|
|
1611
|
+
param: string;
|
|
1612
|
+
title: string;
|
|
1613
|
+
description: string;
|
|
1614
|
+
max: number;
|
|
1615
|
+
default: number;
|
|
1616
|
+
min: number;
|
|
1617
|
+
step: number;
|
|
1618
|
+
} | {
|
|
1619
|
+
type: "select-boolean";
|
|
1620
|
+
param: string;
|
|
1621
|
+
title: string;
|
|
1622
|
+
description: string;
|
|
1623
|
+
default: boolean | null;
|
|
1624
|
+
} | {
|
|
1625
|
+
type: "select-string";
|
|
1626
|
+
param: string;
|
|
1627
|
+
title: string;
|
|
1628
|
+
description: string;
|
|
1629
|
+
default: string;
|
|
1630
|
+
choices: string[];
|
|
1631
|
+
}>;
|
|
1632
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1633
|
+
};
|
|
1634
|
+
readonly maxReasoningTokens?: number | undefined;
|
|
1635
|
+
};
|
|
1636
|
+
declare const Gemini2_0FlashExpOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
1637
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
1638
|
+
accessToken: z.ZodString;
|
|
1639
|
+
modelName: z.ZodString;
|
|
1640
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1641
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1642
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1643
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
1644
|
+
}, "strip", z.ZodTypeAny, {
|
|
1645
|
+
authType: "accessToken";
|
|
1646
|
+
accessToken: string;
|
|
1647
|
+
modelName: string;
|
|
1648
|
+
baseUrl?: string | undefined;
|
|
1649
|
+
location?: string | undefined;
|
|
1650
|
+
projectId?: string | undefined;
|
|
1651
|
+
publisher?: string | undefined;
|
|
1652
|
+
}, {
|
|
1653
|
+
authType: "accessToken";
|
|
1654
|
+
accessToken: string;
|
|
1655
|
+
modelName: string;
|
|
1656
|
+
baseUrl?: string | undefined;
|
|
1657
|
+
location?: string | undefined;
|
|
1658
|
+
projectId?: string | undefined;
|
|
1659
|
+
publisher?: string | undefined;
|
|
1660
|
+
}>, z.ZodObject<{
|
|
1661
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
1662
|
+
serviceAccount: z.ZodObject<{
|
|
1663
|
+
client_email: z.ZodString;
|
|
1664
|
+
private_key: z.ZodString;
|
|
1665
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1666
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1667
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
1668
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
1669
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
1670
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
1671
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
1672
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
1673
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
1674
|
+
}, "strip", z.ZodTypeAny, {
|
|
1675
|
+
client_email: string;
|
|
1676
|
+
private_key: string;
|
|
1677
|
+
type?: string | undefined;
|
|
1678
|
+
project_id?: string | undefined;
|
|
1679
|
+
private_key_id?: string | undefined;
|
|
1680
|
+
client_id?: string | undefined;
|
|
1681
|
+
auth_uri?: string | undefined;
|
|
1682
|
+
token_uri?: string | undefined;
|
|
1683
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1684
|
+
client_x509_cert_url?: string | undefined;
|
|
1685
|
+
universe_domain?: string | undefined;
|
|
1686
|
+
}, {
|
|
1687
|
+
client_email: string;
|
|
1688
|
+
private_key: string;
|
|
1689
|
+
type?: string | undefined;
|
|
1690
|
+
project_id?: string | undefined;
|
|
1691
|
+
private_key_id?: string | undefined;
|
|
1692
|
+
client_id?: string | undefined;
|
|
1693
|
+
auth_uri?: string | undefined;
|
|
1694
|
+
token_uri?: string | undefined;
|
|
1695
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1696
|
+
client_x509_cert_url?: string | undefined;
|
|
1697
|
+
universe_domain?: string | undefined;
|
|
1698
|
+
}>;
|
|
1699
|
+
modelName: z.ZodString;
|
|
1700
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1701
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1702
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
1705
|
+
}, "strip", z.ZodTypeAny, {
|
|
1706
|
+
authType: "serviceAccount";
|
|
1707
|
+
modelName: string;
|
|
1708
|
+
serviceAccount: {
|
|
1709
|
+
client_email: string;
|
|
1710
|
+
private_key: string;
|
|
1711
|
+
type?: string | undefined;
|
|
1712
|
+
project_id?: string | undefined;
|
|
1713
|
+
private_key_id?: string | undefined;
|
|
1714
|
+
client_id?: string | undefined;
|
|
1715
|
+
auth_uri?: string | undefined;
|
|
1716
|
+
token_uri?: string | undefined;
|
|
1717
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1718
|
+
client_x509_cert_url?: string | undefined;
|
|
1719
|
+
universe_domain?: string | undefined;
|
|
1720
|
+
};
|
|
1721
|
+
tokenLifetimeHours: number;
|
|
1722
|
+
baseUrl?: string | undefined;
|
|
1723
|
+
location?: string | undefined;
|
|
1724
|
+
projectId?: string | undefined;
|
|
1725
|
+
publisher?: string | undefined;
|
|
1726
|
+
}, {
|
|
1727
|
+
authType: "serviceAccount";
|
|
1728
|
+
modelName: string;
|
|
1729
|
+
serviceAccount: {
|
|
1730
|
+
client_email: string;
|
|
1731
|
+
private_key: string;
|
|
1732
|
+
type?: string | undefined;
|
|
1733
|
+
project_id?: string | undefined;
|
|
1734
|
+
private_key_id?: string | undefined;
|
|
1735
|
+
client_id?: string | undefined;
|
|
1736
|
+
auth_uri?: string | undefined;
|
|
1737
|
+
token_uri?: string | undefined;
|
|
1738
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1739
|
+
client_x509_cert_url?: string | undefined;
|
|
1740
|
+
universe_domain?: string | undefined;
|
|
1741
|
+
};
|
|
1742
|
+
baseUrl?: string | undefined;
|
|
1743
|
+
location?: string | undefined;
|
|
1744
|
+
projectId?: string | undefined;
|
|
1745
|
+
publisher?: string | undefined;
|
|
1746
|
+
tokenLifetimeHours?: number | undefined;
|
|
1747
|
+
}>]>;
|
|
1748
|
+
type Gemini2_0FlashExpOptionsType = z.infer<typeof Gemini2_0FlashExpOptions>;
|
|
1749
|
+
declare class Gemini2_0FlashExp extends BaseChatModelVertex {
|
|
1750
|
+
constructor(options: Gemini2_0FlashExpOptionsType);
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
declare const Gemini2_0FlashLiteral: "gemini-2.0-flash";
|
|
1754
|
+
declare const Gemini2_0FlashSchema: ChatModelSchemaType;
|
|
1755
|
+
declare const Gemini2_0FlashOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
1756
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
1757
|
+
accessToken: z.ZodString;
|
|
1758
|
+
modelName: z.ZodString;
|
|
1759
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1760
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1761
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1762
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
1763
|
+
}, "strip", z.ZodTypeAny, {
|
|
1764
|
+
authType: "accessToken";
|
|
1765
|
+
accessToken: string;
|
|
1766
|
+
modelName: string;
|
|
1767
|
+
baseUrl?: string | undefined;
|
|
1768
|
+
location?: string | undefined;
|
|
1769
|
+
projectId?: string | undefined;
|
|
1770
|
+
publisher?: string | undefined;
|
|
1771
|
+
}, {
|
|
1772
|
+
authType: "accessToken";
|
|
1773
|
+
accessToken: string;
|
|
1774
|
+
modelName: string;
|
|
1775
|
+
baseUrl?: string | undefined;
|
|
1776
|
+
location?: string | undefined;
|
|
1777
|
+
projectId?: string | undefined;
|
|
1778
|
+
publisher?: string | undefined;
|
|
1779
|
+
}>, z.ZodObject<{
|
|
1780
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
1781
|
+
serviceAccount: z.ZodObject<{
|
|
1782
|
+
client_email: z.ZodString;
|
|
1783
|
+
private_key: z.ZodString;
|
|
1784
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1785
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1786
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
1787
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
1788
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
1789
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
1790
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
1791
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
1792
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
1793
|
+
}, "strip", z.ZodTypeAny, {
|
|
1794
|
+
client_email: string;
|
|
1795
|
+
private_key: string;
|
|
1796
|
+
type?: string | undefined;
|
|
1797
|
+
project_id?: string | undefined;
|
|
1798
|
+
private_key_id?: string | undefined;
|
|
1799
|
+
client_id?: string | undefined;
|
|
1800
|
+
auth_uri?: string | undefined;
|
|
1801
|
+
token_uri?: string | undefined;
|
|
1802
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1803
|
+
client_x509_cert_url?: string | undefined;
|
|
1804
|
+
universe_domain?: string | undefined;
|
|
1805
|
+
}, {
|
|
1806
|
+
client_email: string;
|
|
1807
|
+
private_key: string;
|
|
1808
|
+
type?: string | undefined;
|
|
1809
|
+
project_id?: string | undefined;
|
|
1810
|
+
private_key_id?: string | undefined;
|
|
1811
|
+
client_id?: string | undefined;
|
|
1812
|
+
auth_uri?: string | undefined;
|
|
1813
|
+
token_uri?: string | undefined;
|
|
1814
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1815
|
+
client_x509_cert_url?: string | undefined;
|
|
1816
|
+
universe_domain?: string | undefined;
|
|
1817
|
+
}>;
|
|
1818
|
+
modelName: z.ZodString;
|
|
1819
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1820
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1821
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1822
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
1823
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
1824
|
+
}, "strip", z.ZodTypeAny, {
|
|
1825
|
+
authType: "serviceAccount";
|
|
1826
|
+
modelName: string;
|
|
1827
|
+
serviceAccount: {
|
|
1828
|
+
client_email: string;
|
|
1829
|
+
private_key: string;
|
|
1830
|
+
type?: string | undefined;
|
|
1831
|
+
project_id?: string | undefined;
|
|
1832
|
+
private_key_id?: string | undefined;
|
|
1833
|
+
client_id?: string | undefined;
|
|
1834
|
+
auth_uri?: string | undefined;
|
|
1835
|
+
token_uri?: string | undefined;
|
|
1836
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1837
|
+
client_x509_cert_url?: string | undefined;
|
|
1838
|
+
universe_domain?: string | undefined;
|
|
1839
|
+
};
|
|
1840
|
+
tokenLifetimeHours: number;
|
|
1841
|
+
baseUrl?: string | undefined;
|
|
1842
|
+
location?: string | undefined;
|
|
1843
|
+
projectId?: string | undefined;
|
|
1844
|
+
publisher?: string | undefined;
|
|
1845
|
+
}, {
|
|
1846
|
+
authType: "serviceAccount";
|
|
1847
|
+
modelName: string;
|
|
1848
|
+
serviceAccount: {
|
|
1849
|
+
client_email: string;
|
|
1850
|
+
private_key: string;
|
|
1851
|
+
type?: string | undefined;
|
|
1852
|
+
project_id?: string | undefined;
|
|
1853
|
+
private_key_id?: string | undefined;
|
|
1854
|
+
client_id?: string | undefined;
|
|
1855
|
+
auth_uri?: string | undefined;
|
|
1856
|
+
token_uri?: string | undefined;
|
|
1857
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1858
|
+
client_x509_cert_url?: string | undefined;
|
|
1859
|
+
universe_domain?: string | undefined;
|
|
1860
|
+
};
|
|
1861
|
+
baseUrl?: string | undefined;
|
|
1862
|
+
location?: string | undefined;
|
|
1863
|
+
projectId?: string | undefined;
|
|
1864
|
+
publisher?: string | undefined;
|
|
1865
|
+
tokenLifetimeHours?: number | undefined;
|
|
1866
|
+
}>]>;
|
|
1867
|
+
type Gemini2_0FlashOptionsType = z.infer<typeof Gemini2_0FlashOptions>;
|
|
1868
|
+
declare class Gemini2_0Flash extends BaseChatModelVertex {
|
|
1869
|
+
constructor(options: Gemini2_0FlashOptionsType);
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
declare const Gemini2_5FlashLiteLiteral: "gemini-2.5-flash-lite";
|
|
1873
|
+
declare const Gemini2_5FlashLiteSchema: ChatModelSchemaType;
|
|
1874
|
+
declare const Gemini2_5FlashLiteOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
1875
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
1876
|
+
accessToken: z.ZodString;
|
|
1877
|
+
modelName: z.ZodString;
|
|
1878
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1879
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1880
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1881
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
1882
|
+
}, "strip", z.ZodTypeAny, {
|
|
1883
|
+
authType: "accessToken";
|
|
1884
|
+
accessToken: string;
|
|
1885
|
+
modelName: string;
|
|
1886
|
+
baseUrl?: string | undefined;
|
|
1887
|
+
location?: string | undefined;
|
|
1888
|
+
projectId?: string | undefined;
|
|
1889
|
+
publisher?: string | undefined;
|
|
1890
|
+
}, {
|
|
1891
|
+
authType: "accessToken";
|
|
1892
|
+
accessToken: string;
|
|
1893
|
+
modelName: string;
|
|
1894
|
+
baseUrl?: string | undefined;
|
|
1895
|
+
location?: string | undefined;
|
|
1896
|
+
projectId?: string | undefined;
|
|
1897
|
+
publisher?: string | undefined;
|
|
1898
|
+
}>, z.ZodObject<{
|
|
1899
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
1900
|
+
serviceAccount: z.ZodObject<{
|
|
1901
|
+
client_email: z.ZodString;
|
|
1902
|
+
private_key: z.ZodString;
|
|
1903
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1904
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1905
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
1906
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
1907
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
1908
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
1909
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
1910
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
1911
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
1912
|
+
}, "strip", z.ZodTypeAny, {
|
|
1913
|
+
client_email: string;
|
|
1914
|
+
private_key: string;
|
|
1915
|
+
type?: string | undefined;
|
|
1916
|
+
project_id?: string | undefined;
|
|
1917
|
+
private_key_id?: string | undefined;
|
|
1918
|
+
client_id?: string | undefined;
|
|
1919
|
+
auth_uri?: string | undefined;
|
|
1920
|
+
token_uri?: string | undefined;
|
|
1921
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1922
|
+
client_x509_cert_url?: string | undefined;
|
|
1923
|
+
universe_domain?: string | undefined;
|
|
1924
|
+
}, {
|
|
1925
|
+
client_email: string;
|
|
1926
|
+
private_key: string;
|
|
1927
|
+
type?: string | undefined;
|
|
1928
|
+
project_id?: string | undefined;
|
|
1929
|
+
private_key_id?: string | undefined;
|
|
1930
|
+
client_id?: string | undefined;
|
|
1931
|
+
auth_uri?: string | undefined;
|
|
1932
|
+
token_uri?: string | undefined;
|
|
1933
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1934
|
+
client_x509_cert_url?: string | undefined;
|
|
1935
|
+
universe_domain?: string | undefined;
|
|
1936
|
+
}>;
|
|
1937
|
+
modelName: z.ZodString;
|
|
1938
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1939
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1940
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1941
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
1942
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
1943
|
+
}, "strip", z.ZodTypeAny, {
|
|
1944
|
+
authType: "serviceAccount";
|
|
1945
|
+
modelName: string;
|
|
1946
|
+
serviceAccount: {
|
|
1947
|
+
client_email: string;
|
|
1948
|
+
private_key: string;
|
|
1949
|
+
type?: string | undefined;
|
|
1950
|
+
project_id?: string | undefined;
|
|
1951
|
+
private_key_id?: string | undefined;
|
|
1952
|
+
client_id?: string | undefined;
|
|
1953
|
+
auth_uri?: string | undefined;
|
|
1954
|
+
token_uri?: string | undefined;
|
|
1955
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1956
|
+
client_x509_cert_url?: string | undefined;
|
|
1957
|
+
universe_domain?: string | undefined;
|
|
1958
|
+
};
|
|
1959
|
+
tokenLifetimeHours: number;
|
|
1960
|
+
baseUrl?: string | undefined;
|
|
1961
|
+
location?: string | undefined;
|
|
1962
|
+
projectId?: string | undefined;
|
|
1963
|
+
publisher?: string | undefined;
|
|
1964
|
+
}, {
|
|
1965
|
+
authType: "serviceAccount";
|
|
1966
|
+
modelName: string;
|
|
1967
|
+
serviceAccount: {
|
|
1968
|
+
client_email: string;
|
|
1969
|
+
private_key: string;
|
|
1970
|
+
type?: string | undefined;
|
|
1971
|
+
project_id?: string | undefined;
|
|
1972
|
+
private_key_id?: string | undefined;
|
|
1973
|
+
client_id?: string | undefined;
|
|
1974
|
+
auth_uri?: string | undefined;
|
|
1975
|
+
token_uri?: string | undefined;
|
|
1976
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
1977
|
+
client_x509_cert_url?: string | undefined;
|
|
1978
|
+
universe_domain?: string | undefined;
|
|
1979
|
+
};
|
|
1980
|
+
baseUrl?: string | undefined;
|
|
1981
|
+
location?: string | undefined;
|
|
1982
|
+
projectId?: string | undefined;
|
|
1983
|
+
publisher?: string | undefined;
|
|
1984
|
+
tokenLifetimeHours?: number | undefined;
|
|
1985
|
+
}>]>;
|
|
1986
|
+
type Gemini2_5FlashLiteOptionsType = z.infer<typeof Gemini2_5FlashLiteOptions>;
|
|
1987
|
+
declare class Gemini2_5FlashLite extends BaseChatModelVertex {
|
|
1988
|
+
constructor(options: Gemini2_5FlashLiteOptionsType);
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
declare const Gemini2_5FlashPreview0417Literal: "gemini-2.5-flash-preview-04-17";
|
|
1992
|
+
declare const Gemini2_5FlashPreview0417Schema: {
|
|
1993
|
+
readonly price: {
|
|
1994
|
+
modelName: string;
|
|
1995
|
+
currency: string;
|
|
1996
|
+
tokenRanges: {
|
|
1997
|
+
minTokens: number;
|
|
1998
|
+
maxTokens: null;
|
|
1999
|
+
prices: {
|
|
2000
|
+
base: {
|
|
2001
|
+
inputPricePerMillion: number;
|
|
2002
|
+
outputPricePerMillion: number;
|
|
2003
|
+
};
|
|
2004
|
+
};
|
|
2005
|
+
}[];
|
|
2006
|
+
};
|
|
2007
|
+
readonly description: string;
|
|
2008
|
+
readonly maxOutputTokens: number;
|
|
2009
|
+
readonly name: string;
|
|
2010
|
+
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2011
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
2012
|
+
readonly maxInputTokens: number;
|
|
2013
|
+
readonly config: {
|
|
2014
|
+
def: Record<string, {
|
|
2015
|
+
type: "multi-string";
|
|
2016
|
+
param: string;
|
|
2017
|
+
title: string;
|
|
2018
|
+
description: string;
|
|
2019
|
+
max: number;
|
|
2020
|
+
} | {
|
|
2021
|
+
type: "object-schema";
|
|
2022
|
+
param: string;
|
|
2023
|
+
title: string;
|
|
2024
|
+
description: string;
|
|
2025
|
+
objectSchema?: any;
|
|
2026
|
+
} | {
|
|
2027
|
+
type: "range";
|
|
2028
|
+
param: string;
|
|
2029
|
+
title: string;
|
|
2030
|
+
description: string;
|
|
2031
|
+
max: number;
|
|
2032
|
+
default: number;
|
|
2033
|
+
min: number;
|
|
2034
|
+
step: number;
|
|
2035
|
+
} | {
|
|
2036
|
+
type: "select-boolean";
|
|
2037
|
+
param: string;
|
|
2038
|
+
title: string;
|
|
2039
|
+
description: string;
|
|
2040
|
+
default: boolean | null;
|
|
2041
|
+
} | {
|
|
2042
|
+
type: "select-string";
|
|
2043
|
+
param: string;
|
|
2044
|
+
title: string;
|
|
2045
|
+
description: string;
|
|
2046
|
+
default: string;
|
|
2047
|
+
choices: string[];
|
|
2048
|
+
}>;
|
|
2049
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2050
|
+
};
|
|
2051
|
+
readonly maxReasoningTokens?: number | undefined;
|
|
2052
|
+
};
|
|
2053
|
+
declare const Gemini2_5FlashPreview0417Options: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
2054
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
2055
|
+
accessToken: z.ZodString;
|
|
2056
|
+
modelName: z.ZodString;
|
|
2057
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2058
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2060
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
2061
|
+
}, "strip", z.ZodTypeAny, {
|
|
2062
|
+
authType: "accessToken";
|
|
2063
|
+
accessToken: string;
|
|
2064
|
+
modelName: string;
|
|
2065
|
+
baseUrl?: string | undefined;
|
|
2066
|
+
location?: string | undefined;
|
|
2067
|
+
projectId?: string | undefined;
|
|
2068
|
+
publisher?: string | undefined;
|
|
2069
|
+
}, {
|
|
2070
|
+
authType: "accessToken";
|
|
2071
|
+
accessToken: string;
|
|
2072
|
+
modelName: string;
|
|
2073
|
+
baseUrl?: string | undefined;
|
|
2074
|
+
location?: string | undefined;
|
|
2075
|
+
projectId?: string | undefined;
|
|
2076
|
+
publisher?: string | undefined;
|
|
2077
|
+
}>, z.ZodObject<{
|
|
2078
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
2079
|
+
serviceAccount: z.ZodObject<{
|
|
2080
|
+
client_email: z.ZodString;
|
|
2081
|
+
private_key: z.ZodString;
|
|
2082
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2083
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2084
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
2085
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
2086
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
2087
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
2088
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
2089
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
2090
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
2091
|
+
}, "strip", z.ZodTypeAny, {
|
|
2092
|
+
client_email: string;
|
|
2093
|
+
private_key: string;
|
|
2094
|
+
type?: string | undefined;
|
|
2095
|
+
project_id?: string | undefined;
|
|
2096
|
+
private_key_id?: string | undefined;
|
|
2097
|
+
client_id?: string | undefined;
|
|
2098
|
+
auth_uri?: string | undefined;
|
|
2099
|
+
token_uri?: string | undefined;
|
|
2100
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2101
|
+
client_x509_cert_url?: string | undefined;
|
|
2102
|
+
universe_domain?: string | undefined;
|
|
2103
|
+
}, {
|
|
2104
|
+
client_email: string;
|
|
2105
|
+
private_key: string;
|
|
2106
|
+
type?: string | undefined;
|
|
2107
|
+
project_id?: string | undefined;
|
|
2108
|
+
private_key_id?: string | undefined;
|
|
2109
|
+
client_id?: string | undefined;
|
|
2110
|
+
auth_uri?: string | undefined;
|
|
2111
|
+
token_uri?: string | undefined;
|
|
2112
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2113
|
+
client_x509_cert_url?: string | undefined;
|
|
2114
|
+
universe_domain?: string | undefined;
|
|
2115
|
+
}>;
|
|
2116
|
+
modelName: z.ZodString;
|
|
2117
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2118
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2119
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2120
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
2121
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
2122
|
+
}, "strip", z.ZodTypeAny, {
|
|
2123
|
+
authType: "serviceAccount";
|
|
2124
|
+
modelName: string;
|
|
2125
|
+
serviceAccount: {
|
|
2126
|
+
client_email: string;
|
|
2127
|
+
private_key: string;
|
|
2128
|
+
type?: string | undefined;
|
|
2129
|
+
project_id?: string | undefined;
|
|
2130
|
+
private_key_id?: string | undefined;
|
|
2131
|
+
client_id?: string | undefined;
|
|
2132
|
+
auth_uri?: string | undefined;
|
|
2133
|
+
token_uri?: string | undefined;
|
|
2134
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2135
|
+
client_x509_cert_url?: string | undefined;
|
|
2136
|
+
universe_domain?: string | undefined;
|
|
2137
|
+
};
|
|
2138
|
+
tokenLifetimeHours: number;
|
|
2139
|
+
baseUrl?: string | undefined;
|
|
2140
|
+
location?: string | undefined;
|
|
2141
|
+
projectId?: string | undefined;
|
|
2142
|
+
publisher?: string | undefined;
|
|
2143
|
+
}, {
|
|
2144
|
+
authType: "serviceAccount";
|
|
2145
|
+
modelName: string;
|
|
2146
|
+
serviceAccount: {
|
|
2147
|
+
client_email: string;
|
|
2148
|
+
private_key: string;
|
|
2149
|
+
type?: string | undefined;
|
|
2150
|
+
project_id?: string | undefined;
|
|
2151
|
+
private_key_id?: string | undefined;
|
|
2152
|
+
client_id?: string | undefined;
|
|
2153
|
+
auth_uri?: string | undefined;
|
|
2154
|
+
token_uri?: string | undefined;
|
|
2155
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2156
|
+
client_x509_cert_url?: string | undefined;
|
|
2157
|
+
universe_domain?: string | undefined;
|
|
2158
|
+
};
|
|
2159
|
+
baseUrl?: string | undefined;
|
|
2160
|
+
location?: string | undefined;
|
|
2161
|
+
projectId?: string | undefined;
|
|
2162
|
+
publisher?: string | undefined;
|
|
2163
|
+
tokenLifetimeHours?: number | undefined;
|
|
2164
|
+
}>]>;
|
|
2165
|
+
type Gemini2_5FlashPreview0417OptionsType = z.infer<typeof Gemini2_5FlashPreview0417Options>;
|
|
2166
|
+
declare class Gemini2_5FlashPreview0417 extends BaseChatModelVertex {
|
|
2167
|
+
constructor(options: Gemini2_5FlashPreview0417OptionsType);
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
declare const Gemini2_5FlashLiteral: "gemini-2.5-flash";
|
|
2171
|
+
declare const Gemini2_5FlashSchema: {
|
|
2172
|
+
readonly price: {
|
|
2173
|
+
modelName: string;
|
|
2174
|
+
currency: string;
|
|
2175
|
+
tokenRanges: {
|
|
2176
|
+
minTokens: number;
|
|
2177
|
+
maxTokens: null;
|
|
2178
|
+
prices: {
|
|
2179
|
+
base: {
|
|
2180
|
+
inputPricePerMillion: number;
|
|
2181
|
+
outputPricePerMillion: number;
|
|
2182
|
+
};
|
|
2183
|
+
};
|
|
2184
|
+
}[];
|
|
2185
|
+
};
|
|
2186
|
+
readonly description: string;
|
|
2187
|
+
readonly maxOutputTokens: number;
|
|
2188
|
+
readonly name: string;
|
|
2189
|
+
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2190
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
2191
|
+
readonly maxInputTokens: number;
|
|
2192
|
+
readonly config: {
|
|
2193
|
+
def: Record<string, {
|
|
2194
|
+
type: "multi-string";
|
|
2195
|
+
param: string;
|
|
2196
|
+
title: string;
|
|
2197
|
+
description: string;
|
|
2198
|
+
max: number;
|
|
2199
|
+
} | {
|
|
2200
|
+
type: "object-schema";
|
|
2201
|
+
param: string;
|
|
2202
|
+
title: string;
|
|
2203
|
+
description: string;
|
|
2204
|
+
objectSchema?: any;
|
|
2205
|
+
} | {
|
|
2206
|
+
type: "range";
|
|
2207
|
+
param: string;
|
|
2208
|
+
title: string;
|
|
2209
|
+
description: string;
|
|
2210
|
+
max: number;
|
|
2211
|
+
default: number;
|
|
2212
|
+
min: number;
|
|
2213
|
+
step: number;
|
|
2214
|
+
} | {
|
|
2215
|
+
type: "select-boolean";
|
|
2216
|
+
param: string;
|
|
2217
|
+
title: string;
|
|
2218
|
+
description: string;
|
|
2219
|
+
default: boolean | null;
|
|
2220
|
+
} | {
|
|
2221
|
+
type: "select-string";
|
|
2222
|
+
param: string;
|
|
2223
|
+
title: string;
|
|
2224
|
+
description: string;
|
|
2225
|
+
default: string;
|
|
2226
|
+
choices: string[];
|
|
2227
|
+
}>;
|
|
2228
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2229
|
+
};
|
|
2230
|
+
readonly maxReasoningTokens?: number | undefined;
|
|
2231
|
+
};
|
|
2232
|
+
declare const Gemini2_5FlashOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
2233
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
2234
|
+
accessToken: z.ZodString;
|
|
2235
|
+
modelName: z.ZodString;
|
|
2236
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2237
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2238
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2239
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
2240
|
+
}, "strip", z.ZodTypeAny, {
|
|
2241
|
+
authType: "accessToken";
|
|
2242
|
+
accessToken: string;
|
|
2243
|
+
modelName: string;
|
|
2244
|
+
baseUrl?: string | undefined;
|
|
2245
|
+
location?: string | undefined;
|
|
2246
|
+
projectId?: string | undefined;
|
|
2247
|
+
publisher?: string | undefined;
|
|
2248
|
+
}, {
|
|
2249
|
+
authType: "accessToken";
|
|
2250
|
+
accessToken: string;
|
|
2251
|
+
modelName: string;
|
|
2252
|
+
baseUrl?: string | undefined;
|
|
2253
|
+
location?: string | undefined;
|
|
2254
|
+
projectId?: string | undefined;
|
|
2255
|
+
publisher?: string | undefined;
|
|
2256
|
+
}>, z.ZodObject<{
|
|
2257
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
2258
|
+
serviceAccount: z.ZodObject<{
|
|
2259
|
+
client_email: z.ZodString;
|
|
2260
|
+
private_key: z.ZodString;
|
|
2261
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2262
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2263
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
2264
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
2265
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
2266
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
2267
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
2268
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
2269
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
2270
|
+
}, "strip", z.ZodTypeAny, {
|
|
2271
|
+
client_email: string;
|
|
2272
|
+
private_key: string;
|
|
2273
|
+
type?: string | undefined;
|
|
2274
|
+
project_id?: string | undefined;
|
|
2275
|
+
private_key_id?: string | undefined;
|
|
2276
|
+
client_id?: string | undefined;
|
|
2277
|
+
auth_uri?: string | undefined;
|
|
2278
|
+
token_uri?: string | undefined;
|
|
2279
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2280
|
+
client_x509_cert_url?: string | undefined;
|
|
2281
|
+
universe_domain?: string | undefined;
|
|
2282
|
+
}, {
|
|
2283
|
+
client_email: string;
|
|
2284
|
+
private_key: string;
|
|
2285
|
+
type?: string | undefined;
|
|
2286
|
+
project_id?: string | undefined;
|
|
2287
|
+
private_key_id?: string | undefined;
|
|
2288
|
+
client_id?: string | undefined;
|
|
2289
|
+
auth_uri?: string | undefined;
|
|
2290
|
+
token_uri?: string | undefined;
|
|
2291
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2292
|
+
client_x509_cert_url?: string | undefined;
|
|
2293
|
+
universe_domain?: string | undefined;
|
|
2294
|
+
}>;
|
|
2295
|
+
modelName: z.ZodString;
|
|
2296
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2297
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2298
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2299
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
2300
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
2301
|
+
}, "strip", z.ZodTypeAny, {
|
|
2302
|
+
authType: "serviceAccount";
|
|
2303
|
+
modelName: string;
|
|
2304
|
+
serviceAccount: {
|
|
2305
|
+
client_email: string;
|
|
2306
|
+
private_key: string;
|
|
2307
|
+
type?: string | undefined;
|
|
2308
|
+
project_id?: string | undefined;
|
|
2309
|
+
private_key_id?: string | undefined;
|
|
2310
|
+
client_id?: string | undefined;
|
|
2311
|
+
auth_uri?: string | undefined;
|
|
2312
|
+
token_uri?: string | undefined;
|
|
2313
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2314
|
+
client_x509_cert_url?: string | undefined;
|
|
2315
|
+
universe_domain?: string | undefined;
|
|
2316
|
+
};
|
|
2317
|
+
tokenLifetimeHours: number;
|
|
2318
|
+
baseUrl?: string | undefined;
|
|
2319
|
+
location?: string | undefined;
|
|
2320
|
+
projectId?: string | undefined;
|
|
2321
|
+
publisher?: string | undefined;
|
|
2322
|
+
}, {
|
|
2323
|
+
authType: "serviceAccount";
|
|
2324
|
+
modelName: string;
|
|
2325
|
+
serviceAccount: {
|
|
2326
|
+
client_email: string;
|
|
2327
|
+
private_key: string;
|
|
2328
|
+
type?: string | undefined;
|
|
2329
|
+
project_id?: string | undefined;
|
|
2330
|
+
private_key_id?: string | undefined;
|
|
2331
|
+
client_id?: string | undefined;
|
|
2332
|
+
auth_uri?: string | undefined;
|
|
2333
|
+
token_uri?: string | undefined;
|
|
2334
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2335
|
+
client_x509_cert_url?: string | undefined;
|
|
2336
|
+
universe_domain?: string | undefined;
|
|
2337
|
+
};
|
|
2338
|
+
baseUrl?: string | undefined;
|
|
2339
|
+
location?: string | undefined;
|
|
2340
|
+
projectId?: string | undefined;
|
|
2341
|
+
publisher?: string | undefined;
|
|
2342
|
+
tokenLifetimeHours?: number | undefined;
|
|
2343
|
+
}>]>;
|
|
2344
|
+
type Gemini2_5FlashOptionsType = z.infer<typeof Gemini2_5FlashOptions>;
|
|
2345
|
+
declare class Gemini2_5Flash extends BaseChatModelVertex {
|
|
2346
|
+
constructor(options: Gemini2_5FlashOptionsType);
|
|
2347
|
+
}
|
|
2348
|
+
|
|
2349
|
+
declare const Gemini2_5ProPreview0325Literal: "gemini-2.5-pro-preview-03-25";
|
|
2350
|
+
declare const Gemini2_5ProPreview0325Schema: {
|
|
2351
|
+
readonly price: {
|
|
2352
|
+
modelName: string;
|
|
2353
|
+
currency: string;
|
|
2354
|
+
tokenRanges: ({
|
|
2355
|
+
minTokens: number;
|
|
2356
|
+
maxTokens: number;
|
|
2357
|
+
prices: {
|
|
2358
|
+
base: {
|
|
2359
|
+
inputPricePerMillion: number;
|
|
2360
|
+
outputPricePerMillion: number;
|
|
2361
|
+
};
|
|
2362
|
+
};
|
|
2363
|
+
} | {
|
|
1204
2364
|
minTokens: number;
|
|
1205
2365
|
maxTokens: null;
|
|
1206
2366
|
prices: {
|
|
@@ -1209,7 +2369,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
1209
2369
|
outputPricePerMillion: number;
|
|
1210
2370
|
};
|
|
1211
2371
|
};
|
|
1212
|
-
}[];
|
|
2372
|
+
})[];
|
|
1213
2373
|
};
|
|
1214
2374
|
readonly description: string;
|
|
1215
2375
|
readonly maxOutputTokens: number;
|
|
@@ -1257,7 +2417,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
1257
2417
|
};
|
|
1258
2418
|
readonly maxReasoningTokens?: number | undefined;
|
|
1259
2419
|
};
|
|
1260
|
-
declare const
|
|
2420
|
+
declare const Gemini2_5ProPreview0325Options: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
1261
2421
|
authType: z.ZodLiteral<"accessToken">;
|
|
1262
2422
|
accessToken: z.ZodString;
|
|
1263
2423
|
modelName: z.ZodString;
|
|
@@ -1369,14 +2529,83 @@ declare const Gemini2_0FlashExpOptions: z.ZodDiscriminatedUnion<"authType", [z.Z
|
|
|
1369
2529
|
publisher?: string | undefined;
|
|
1370
2530
|
tokenLifetimeHours?: number | undefined;
|
|
1371
2531
|
}>]>;
|
|
1372
|
-
type
|
|
1373
|
-
declare class
|
|
1374
|
-
constructor(options:
|
|
2532
|
+
type Gemini2_5ProPreview0325OptionsType = z.infer<typeof Gemini2_5ProPreview0325Options>;
|
|
2533
|
+
declare class Gemini2_5ProPreview0325 extends BaseChatModelVertex {
|
|
2534
|
+
constructor(options: Gemini2_5ProPreview0325OptionsType);
|
|
1375
2535
|
}
|
|
1376
2536
|
|
|
1377
|
-
declare const
|
|
1378
|
-
declare const
|
|
1379
|
-
|
|
2537
|
+
declare const Gemini2_5ProLiteral: "gemini-2.5-pro";
|
|
2538
|
+
declare const Gemini2_5ProSchema: {
|
|
2539
|
+
readonly price: {
|
|
2540
|
+
modelName: string;
|
|
2541
|
+
currency: string;
|
|
2542
|
+
tokenRanges: ({
|
|
2543
|
+
minTokens: number;
|
|
2544
|
+
maxTokens: number;
|
|
2545
|
+
prices: {
|
|
2546
|
+
base: {
|
|
2547
|
+
inputPricePerMillion: number;
|
|
2548
|
+
outputPricePerMillion: number;
|
|
2549
|
+
};
|
|
2550
|
+
};
|
|
2551
|
+
} | {
|
|
2552
|
+
minTokens: number;
|
|
2553
|
+
maxTokens: null;
|
|
2554
|
+
prices: {
|
|
2555
|
+
base: {
|
|
2556
|
+
inputPricePerMillion: number;
|
|
2557
|
+
outputPricePerMillion: number;
|
|
2558
|
+
};
|
|
2559
|
+
};
|
|
2560
|
+
})[];
|
|
2561
|
+
};
|
|
2562
|
+
readonly description: string;
|
|
2563
|
+
readonly maxOutputTokens: number;
|
|
2564
|
+
readonly name: string;
|
|
2565
|
+
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2566
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
2567
|
+
readonly maxInputTokens: number;
|
|
2568
|
+
readonly config: {
|
|
2569
|
+
def: Record<string, {
|
|
2570
|
+
type: "multi-string";
|
|
2571
|
+
param: string;
|
|
2572
|
+
title: string;
|
|
2573
|
+
description: string;
|
|
2574
|
+
max: number;
|
|
2575
|
+
} | {
|
|
2576
|
+
type: "object-schema";
|
|
2577
|
+
param: string;
|
|
2578
|
+
title: string;
|
|
2579
|
+
description: string;
|
|
2580
|
+
objectSchema?: any;
|
|
2581
|
+
} | {
|
|
2582
|
+
type: "range";
|
|
2583
|
+
param: string;
|
|
2584
|
+
title: string;
|
|
2585
|
+
description: string;
|
|
2586
|
+
max: number;
|
|
2587
|
+
default: number;
|
|
2588
|
+
min: number;
|
|
2589
|
+
step: number;
|
|
2590
|
+
} | {
|
|
2591
|
+
type: "select-boolean";
|
|
2592
|
+
param: string;
|
|
2593
|
+
title: string;
|
|
2594
|
+
description: string;
|
|
2595
|
+
default: boolean | null;
|
|
2596
|
+
} | {
|
|
2597
|
+
type: "select-string";
|
|
2598
|
+
param: string;
|
|
2599
|
+
title: string;
|
|
2600
|
+
description: string;
|
|
2601
|
+
default: string;
|
|
2602
|
+
choices: string[];
|
|
2603
|
+
}>;
|
|
2604
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2605
|
+
};
|
|
2606
|
+
readonly maxReasoningTokens?: number | undefined;
|
|
2607
|
+
};
|
|
2608
|
+
declare const Gemini2_5ProOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
1380
2609
|
authType: z.ZodLiteral<"accessToken">;
|
|
1381
2610
|
accessToken: z.ZodString;
|
|
1382
2611
|
modelName: z.ZodString;
|
|
@@ -1488,14 +2717,83 @@ declare const Gemini2_0FlashOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodO
|
|
|
1488
2717
|
publisher?: string | undefined;
|
|
1489
2718
|
tokenLifetimeHours?: number | undefined;
|
|
1490
2719
|
}>]>;
|
|
1491
|
-
type
|
|
1492
|
-
declare class
|
|
1493
|
-
constructor(options:
|
|
2720
|
+
type Gemini2_5ProOptionsType = z.infer<typeof Gemini2_5ProOptions>;
|
|
2721
|
+
declare class Gemini2_5Pro extends BaseChatModelVertex {
|
|
2722
|
+
constructor(options: Gemini2_5ProOptionsType);
|
|
1494
2723
|
}
|
|
1495
2724
|
|
|
1496
|
-
declare const
|
|
1497
|
-
declare const
|
|
1498
|
-
|
|
2725
|
+
declare const Gemini3ProPreviewLiteral: "gemini-3-pro-preview";
|
|
2726
|
+
declare const Gemini3ProPreviewSchema: {
|
|
2727
|
+
readonly price: {
|
|
2728
|
+
modelName: string;
|
|
2729
|
+
currency: string;
|
|
2730
|
+
tokenRanges: ({
|
|
2731
|
+
minTokens: number;
|
|
2732
|
+
maxTokens: number;
|
|
2733
|
+
prices: {
|
|
2734
|
+
base: {
|
|
2735
|
+
inputPricePerMillion: number;
|
|
2736
|
+
outputPricePerMillion: number;
|
|
2737
|
+
};
|
|
2738
|
+
};
|
|
2739
|
+
} | {
|
|
2740
|
+
minTokens: number;
|
|
2741
|
+
maxTokens: null;
|
|
2742
|
+
prices: {
|
|
2743
|
+
base: {
|
|
2744
|
+
inputPricePerMillion: number;
|
|
2745
|
+
outputPricePerMillion: number;
|
|
2746
|
+
};
|
|
2747
|
+
};
|
|
2748
|
+
})[];
|
|
2749
|
+
};
|
|
2750
|
+
readonly description: string;
|
|
2751
|
+
readonly maxOutputTokens: number;
|
|
2752
|
+
readonly name: string;
|
|
2753
|
+
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2754
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
2755
|
+
readonly maxInputTokens: number;
|
|
2756
|
+
readonly config: {
|
|
2757
|
+
def: Record<string, {
|
|
2758
|
+
type: "multi-string";
|
|
2759
|
+
param: string;
|
|
2760
|
+
title: string;
|
|
2761
|
+
description: string;
|
|
2762
|
+
max: number;
|
|
2763
|
+
} | {
|
|
2764
|
+
type: "object-schema";
|
|
2765
|
+
param: string;
|
|
2766
|
+
title: string;
|
|
2767
|
+
description: string;
|
|
2768
|
+
objectSchema?: any;
|
|
2769
|
+
} | {
|
|
2770
|
+
type: "range";
|
|
2771
|
+
param: string;
|
|
2772
|
+
title: string;
|
|
2773
|
+
description: string;
|
|
2774
|
+
max: number;
|
|
2775
|
+
default: number;
|
|
2776
|
+
min: number;
|
|
2777
|
+
step: number;
|
|
2778
|
+
} | {
|
|
2779
|
+
type: "select-boolean";
|
|
2780
|
+
param: string;
|
|
2781
|
+
title: string;
|
|
2782
|
+
description: string;
|
|
2783
|
+
default: boolean | null;
|
|
2784
|
+
} | {
|
|
2785
|
+
type: "select-string";
|
|
2786
|
+
param: string;
|
|
2787
|
+
title: string;
|
|
2788
|
+
description: string;
|
|
2789
|
+
default: string;
|
|
2790
|
+
choices: string[];
|
|
2791
|
+
}>;
|
|
2792
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2793
|
+
};
|
|
2794
|
+
readonly maxReasoningTokens?: number | undefined;
|
|
2795
|
+
};
|
|
2796
|
+
declare const Gemini3ProPreviewOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
1499
2797
|
authType: z.ZodLiteral<"accessToken">;
|
|
1500
2798
|
accessToken: z.ZodString;
|
|
1501
2799
|
modelName: z.ZodString;
|
|
@@ -1607,9 +2905,9 @@ declare const Gemini2_5FlashLiteOptions: z.ZodDiscriminatedUnion<"authType", [z.
|
|
|
1607
2905
|
publisher?: string | undefined;
|
|
1608
2906
|
tokenLifetimeHours?: number | undefined;
|
|
1609
2907
|
}>]>;
|
|
1610
|
-
type
|
|
1611
|
-
declare class
|
|
1612
|
-
constructor(options:
|
|
2908
|
+
type Gemini3ProPreviewOptionsType = z.infer<typeof Gemini3ProPreviewOptions>;
|
|
2909
|
+
declare class Gemini3ProPreview extends BaseChatModelVertex {
|
|
2910
|
+
constructor(options: Gemini3ProPreviewOptionsType);
|
|
1613
2911
|
}
|
|
1614
2912
|
|
|
1615
2913
|
declare const BaseEmbeddingModelOptions: z.ZodObject<{
|
|
@@ -1973,4 +3271,4 @@ declare class Vertex<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
1973
3271
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
1974
3272
|
}
|
|
1975
3273
|
|
|
1976
|
-
export { BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelVertex, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLiteSchema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, Text_Embedding_Gecko_003, Text_Embedding_Gecko_003Literal, Text_Embedding_Gecko_003Options, type Text_Embedding_Gecko_003OptionsType, Text_Embedding_Gecko_003Schema, Text_Embedding_Gecko_Multilingual_001, Text_Embedding_Gecko_Multilingual_001Literal, Text_Embedding_Gecko_Multilingual_001Options, type Text_Embedding_Gecko_Multilingual_001OptionsType, Text_Embedding_Gecko_Multilingual_001Schema, Text_Multilingual_Embedding_002, Text_Multilingual_Embedding_002Literal, Text_Multilingual_Embedding_002Options, type Text_Multilingual_Embedding_002OptionsType, Text_Multilingual_Embedding_002Schema, Vertex };
|
|
3274
|
+
export { BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelVertex, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLiteSchema, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, Text_Embedding_Gecko_003, Text_Embedding_Gecko_003Literal, Text_Embedding_Gecko_003Options, type Text_Embedding_Gecko_003OptionsType, Text_Embedding_Gecko_003Schema, Text_Embedding_Gecko_Multilingual_001, Text_Embedding_Gecko_Multilingual_001Literal, Text_Embedding_Gecko_Multilingual_001Options, type Text_Embedding_Gecko_Multilingual_001OptionsType, Text_Embedding_Gecko_Multilingual_001Schema, Text_Multilingual_Embedding_002, Text_Multilingual_Embedding_002Literal, Text_Multilingual_Embedding_002Options, type Text_Multilingual_Embedding_002OptionsType, Text_Multilingual_Embedding_002Schema, Vertex };
|