@adaline/vertex 1.13.3 → 1.14.1
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 +203 -1
- package/dist/index.d.ts +203 -1
- package/dist/index.js +94 -90
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -3438,6 +3438,208 @@ declare class Gemini3_1ProPreview extends BaseChatModelVertex {
|
|
|
3438
3438
|
constructor(options: Gemini3_1ProPreviewOptionsType);
|
|
3439
3439
|
}
|
|
3440
3440
|
|
|
3441
|
+
declare const Gemini3_1ProPreviewCustomtoolsLiteral: "gemini-3.1-pro-preview-customtools";
|
|
3442
|
+
declare const Gemini3_1ProPreviewCustomtoolsSchema: {
|
|
3443
|
+
name: string;
|
|
3444
|
+
description: string;
|
|
3445
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3446
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3447
|
+
maxInputTokens: number;
|
|
3448
|
+
maxOutputTokens: number;
|
|
3449
|
+
config: {
|
|
3450
|
+
def: Record<string, {
|
|
3451
|
+
type: "multi-string";
|
|
3452
|
+
param: string;
|
|
3453
|
+
title: string;
|
|
3454
|
+
description: string;
|
|
3455
|
+
max: number;
|
|
3456
|
+
} | {
|
|
3457
|
+
type: "object-schema";
|
|
3458
|
+
param: string;
|
|
3459
|
+
title: string;
|
|
3460
|
+
description: string;
|
|
3461
|
+
objectSchema?: any;
|
|
3462
|
+
} | {
|
|
3463
|
+
type: "paired-select";
|
|
3464
|
+
param: string;
|
|
3465
|
+
title: string;
|
|
3466
|
+
description: string;
|
|
3467
|
+
fields: [{
|
|
3468
|
+
label: string;
|
|
3469
|
+
key: string;
|
|
3470
|
+
choices: {
|
|
3471
|
+
value: string;
|
|
3472
|
+
label: string;
|
|
3473
|
+
}[];
|
|
3474
|
+
description?: string | undefined;
|
|
3475
|
+
}, {
|
|
3476
|
+
label: string;
|
|
3477
|
+
key: string;
|
|
3478
|
+
choices: {
|
|
3479
|
+
value: string;
|
|
3480
|
+
label: string;
|
|
3481
|
+
}[];
|
|
3482
|
+
description?: string | undefined;
|
|
3483
|
+
}];
|
|
3484
|
+
uniqueByField?: string | undefined;
|
|
3485
|
+
} | {
|
|
3486
|
+
type: "range";
|
|
3487
|
+
param: string;
|
|
3488
|
+
title: string;
|
|
3489
|
+
description: string;
|
|
3490
|
+
max: number;
|
|
3491
|
+
default: number;
|
|
3492
|
+
min: number;
|
|
3493
|
+
step: number;
|
|
3494
|
+
} | {
|
|
3495
|
+
type: "select-boolean";
|
|
3496
|
+
param: string;
|
|
3497
|
+
title: string;
|
|
3498
|
+
description: string;
|
|
3499
|
+
default: boolean | null;
|
|
3500
|
+
} | {
|
|
3501
|
+
type: "select-string";
|
|
3502
|
+
param: string;
|
|
3503
|
+
title: string;
|
|
3504
|
+
description: string;
|
|
3505
|
+
default: string;
|
|
3506
|
+
choices: string[];
|
|
3507
|
+
}>;
|
|
3508
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3509
|
+
};
|
|
3510
|
+
price: {
|
|
3511
|
+
modelName: string;
|
|
3512
|
+
currency: string;
|
|
3513
|
+
tokenRanges: {
|
|
3514
|
+
minTokens: number;
|
|
3515
|
+
prices: {
|
|
3516
|
+
base: {
|
|
3517
|
+
inputPricePerMillion: number;
|
|
3518
|
+
outputPricePerMillion: number;
|
|
3519
|
+
};
|
|
3520
|
+
};
|
|
3521
|
+
maxTokens?: number | null | undefined;
|
|
3522
|
+
}[];
|
|
3523
|
+
};
|
|
3524
|
+
maxReasoningTokens?: number | undefined;
|
|
3525
|
+
};
|
|
3526
|
+
declare const Gemini3_1ProPreviewCustomtoolsOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
3527
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
3528
|
+
accessToken: z.ZodString;
|
|
3529
|
+
modelName: z.ZodString;
|
|
3530
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3531
|
+
location: z.ZodOptional<z.ZodString>;
|
|
3532
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3533
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
3534
|
+
}, "strip", z.ZodTypeAny, {
|
|
3535
|
+
authType: "accessToken";
|
|
3536
|
+
accessToken: string;
|
|
3537
|
+
modelName: string;
|
|
3538
|
+
baseUrl?: string | undefined;
|
|
3539
|
+
location?: string | undefined;
|
|
3540
|
+
projectId?: string | undefined;
|
|
3541
|
+
publisher?: string | undefined;
|
|
3542
|
+
}, {
|
|
3543
|
+
authType: "accessToken";
|
|
3544
|
+
accessToken: string;
|
|
3545
|
+
modelName: string;
|
|
3546
|
+
baseUrl?: string | undefined;
|
|
3547
|
+
location?: string | undefined;
|
|
3548
|
+
projectId?: string | undefined;
|
|
3549
|
+
publisher?: string | undefined;
|
|
3550
|
+
}>, z.ZodObject<{
|
|
3551
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
3552
|
+
serviceAccount: z.ZodObject<{
|
|
3553
|
+
client_email: z.ZodString;
|
|
3554
|
+
private_key: z.ZodString;
|
|
3555
|
+
type: z.ZodOptional<z.ZodString>;
|
|
3556
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3557
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
3558
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3559
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
3560
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
3561
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
3562
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
3563
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
3564
|
+
}, "strip", z.ZodTypeAny, {
|
|
3565
|
+
client_email: string;
|
|
3566
|
+
private_key: string;
|
|
3567
|
+
type?: string | undefined;
|
|
3568
|
+
project_id?: string | undefined;
|
|
3569
|
+
private_key_id?: string | undefined;
|
|
3570
|
+
client_id?: string | undefined;
|
|
3571
|
+
auth_uri?: string | undefined;
|
|
3572
|
+
token_uri?: string | undefined;
|
|
3573
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3574
|
+
client_x509_cert_url?: string | undefined;
|
|
3575
|
+
universe_domain?: string | undefined;
|
|
3576
|
+
}, {
|
|
3577
|
+
client_email: string;
|
|
3578
|
+
private_key: string;
|
|
3579
|
+
type?: string | undefined;
|
|
3580
|
+
project_id?: string | undefined;
|
|
3581
|
+
private_key_id?: string | undefined;
|
|
3582
|
+
client_id?: string | undefined;
|
|
3583
|
+
auth_uri?: string | undefined;
|
|
3584
|
+
token_uri?: string | undefined;
|
|
3585
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3586
|
+
client_x509_cert_url?: string | undefined;
|
|
3587
|
+
universe_domain?: string | undefined;
|
|
3588
|
+
}>;
|
|
3589
|
+
modelName: z.ZodString;
|
|
3590
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3591
|
+
location: z.ZodOptional<z.ZodString>;
|
|
3592
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3593
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
3594
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
3595
|
+
}, "strip", z.ZodTypeAny, {
|
|
3596
|
+
authType: "serviceAccount";
|
|
3597
|
+
modelName: string;
|
|
3598
|
+
serviceAccount: {
|
|
3599
|
+
client_email: string;
|
|
3600
|
+
private_key: string;
|
|
3601
|
+
type?: string | undefined;
|
|
3602
|
+
project_id?: string | undefined;
|
|
3603
|
+
private_key_id?: string | undefined;
|
|
3604
|
+
client_id?: string | undefined;
|
|
3605
|
+
auth_uri?: string | undefined;
|
|
3606
|
+
token_uri?: string | undefined;
|
|
3607
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3608
|
+
client_x509_cert_url?: string | undefined;
|
|
3609
|
+
universe_domain?: string | undefined;
|
|
3610
|
+
};
|
|
3611
|
+
tokenLifetimeHours: number;
|
|
3612
|
+
baseUrl?: string | undefined;
|
|
3613
|
+
location?: string | undefined;
|
|
3614
|
+
projectId?: string | undefined;
|
|
3615
|
+
publisher?: string | undefined;
|
|
3616
|
+
}, {
|
|
3617
|
+
authType: "serviceAccount";
|
|
3618
|
+
modelName: string;
|
|
3619
|
+
serviceAccount: {
|
|
3620
|
+
client_email: string;
|
|
3621
|
+
private_key: string;
|
|
3622
|
+
type?: string | undefined;
|
|
3623
|
+
project_id?: string | undefined;
|
|
3624
|
+
private_key_id?: string | undefined;
|
|
3625
|
+
client_id?: string | undefined;
|
|
3626
|
+
auth_uri?: string | undefined;
|
|
3627
|
+
token_uri?: string | undefined;
|
|
3628
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3629
|
+
client_x509_cert_url?: string | undefined;
|
|
3630
|
+
universe_domain?: string | undefined;
|
|
3631
|
+
};
|
|
3632
|
+
baseUrl?: string | undefined;
|
|
3633
|
+
location?: string | undefined;
|
|
3634
|
+
projectId?: string | undefined;
|
|
3635
|
+
publisher?: string | undefined;
|
|
3636
|
+
tokenLifetimeHours?: number | undefined;
|
|
3637
|
+
}>]>;
|
|
3638
|
+
type Gemini3_1ProPreviewCustomtoolsOptionsType = z.infer<typeof Gemini3_1ProPreviewCustomtoolsOptions>;
|
|
3639
|
+
declare class Gemini3_1ProPreviewCustomtools extends BaseChatModelVertex {
|
|
3640
|
+
constructor(options: Gemini3_1ProPreviewCustomtoolsOptionsType);
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3441
3643
|
declare const Gemini3FlashPreviewLiteral: "gemini-3-flash-preview";
|
|
3442
3644
|
declare const Gemini3FlashPreviewSchema: {
|
|
3443
3645
|
readonly price: {
|
|
@@ -4304,4 +4506,4 @@ declare class Vertex<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
4304
4506
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
4305
4507
|
}
|
|
4306
4508
|
|
|
4307
|
-
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_0FlashLite, Gemini2_0FlashLiteLiteral, Gemini2_0FlashLiteOptions, type Gemini2_0FlashLiteOptionsType, Gemini2_0FlashLiteSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLitePreview092025, Gemini2_5FlashLitePreview092025Literal, Gemini2_5FlashLitePreview092025Options, type Gemini2_5FlashLitePreview092025OptionsType, Gemini2_5FlashLitePreview092025Schema, 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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Gemini3_1ProPreview, Gemini3_1ProPreviewLiteral, Gemini3_1ProPreviewOptions, type Gemini3_1ProPreviewOptionsType, Gemini3_1ProPreviewSchema, 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 };
|
|
4509
|
+
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_0FlashLite, Gemini2_0FlashLiteLiteral, Gemini2_0FlashLiteOptions, type Gemini2_0FlashLiteOptionsType, Gemini2_0FlashLiteSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLitePreview092025, Gemini2_5FlashLitePreview092025Literal, Gemini2_5FlashLitePreview092025Options, type Gemini2_5FlashLitePreview092025OptionsType, Gemini2_5FlashLitePreview092025Schema, 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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Gemini3_1ProPreview, Gemini3_1ProPreviewCustomtools, Gemini3_1ProPreviewCustomtoolsLiteral, Gemini3_1ProPreviewCustomtoolsOptions, type Gemini3_1ProPreviewCustomtoolsOptionsType, Gemini3_1ProPreviewCustomtoolsSchema, Gemini3_1ProPreviewLiteral, Gemini3_1ProPreviewOptions, type Gemini3_1ProPreviewOptionsType, Gemini3_1ProPreviewSchema, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -3438,6 +3438,208 @@ declare class Gemini3_1ProPreview extends BaseChatModelVertex {
|
|
|
3438
3438
|
constructor(options: Gemini3_1ProPreviewOptionsType);
|
|
3439
3439
|
}
|
|
3440
3440
|
|
|
3441
|
+
declare const Gemini3_1ProPreviewCustomtoolsLiteral: "gemini-3.1-pro-preview-customtools";
|
|
3442
|
+
declare const Gemini3_1ProPreviewCustomtoolsSchema: {
|
|
3443
|
+
name: string;
|
|
3444
|
+
description: string;
|
|
3445
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3446
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3447
|
+
maxInputTokens: number;
|
|
3448
|
+
maxOutputTokens: number;
|
|
3449
|
+
config: {
|
|
3450
|
+
def: Record<string, {
|
|
3451
|
+
type: "multi-string";
|
|
3452
|
+
param: string;
|
|
3453
|
+
title: string;
|
|
3454
|
+
description: string;
|
|
3455
|
+
max: number;
|
|
3456
|
+
} | {
|
|
3457
|
+
type: "object-schema";
|
|
3458
|
+
param: string;
|
|
3459
|
+
title: string;
|
|
3460
|
+
description: string;
|
|
3461
|
+
objectSchema?: any;
|
|
3462
|
+
} | {
|
|
3463
|
+
type: "paired-select";
|
|
3464
|
+
param: string;
|
|
3465
|
+
title: string;
|
|
3466
|
+
description: string;
|
|
3467
|
+
fields: [{
|
|
3468
|
+
label: string;
|
|
3469
|
+
key: string;
|
|
3470
|
+
choices: {
|
|
3471
|
+
value: string;
|
|
3472
|
+
label: string;
|
|
3473
|
+
}[];
|
|
3474
|
+
description?: string | undefined;
|
|
3475
|
+
}, {
|
|
3476
|
+
label: string;
|
|
3477
|
+
key: string;
|
|
3478
|
+
choices: {
|
|
3479
|
+
value: string;
|
|
3480
|
+
label: string;
|
|
3481
|
+
}[];
|
|
3482
|
+
description?: string | undefined;
|
|
3483
|
+
}];
|
|
3484
|
+
uniqueByField?: string | undefined;
|
|
3485
|
+
} | {
|
|
3486
|
+
type: "range";
|
|
3487
|
+
param: string;
|
|
3488
|
+
title: string;
|
|
3489
|
+
description: string;
|
|
3490
|
+
max: number;
|
|
3491
|
+
default: number;
|
|
3492
|
+
min: number;
|
|
3493
|
+
step: number;
|
|
3494
|
+
} | {
|
|
3495
|
+
type: "select-boolean";
|
|
3496
|
+
param: string;
|
|
3497
|
+
title: string;
|
|
3498
|
+
description: string;
|
|
3499
|
+
default: boolean | null;
|
|
3500
|
+
} | {
|
|
3501
|
+
type: "select-string";
|
|
3502
|
+
param: string;
|
|
3503
|
+
title: string;
|
|
3504
|
+
description: string;
|
|
3505
|
+
default: string;
|
|
3506
|
+
choices: string[];
|
|
3507
|
+
}>;
|
|
3508
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3509
|
+
};
|
|
3510
|
+
price: {
|
|
3511
|
+
modelName: string;
|
|
3512
|
+
currency: string;
|
|
3513
|
+
tokenRanges: {
|
|
3514
|
+
minTokens: number;
|
|
3515
|
+
prices: {
|
|
3516
|
+
base: {
|
|
3517
|
+
inputPricePerMillion: number;
|
|
3518
|
+
outputPricePerMillion: number;
|
|
3519
|
+
};
|
|
3520
|
+
};
|
|
3521
|
+
maxTokens?: number | null | undefined;
|
|
3522
|
+
}[];
|
|
3523
|
+
};
|
|
3524
|
+
maxReasoningTokens?: number | undefined;
|
|
3525
|
+
};
|
|
3526
|
+
declare const Gemini3_1ProPreviewCustomtoolsOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
3527
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
3528
|
+
accessToken: z.ZodString;
|
|
3529
|
+
modelName: z.ZodString;
|
|
3530
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3531
|
+
location: z.ZodOptional<z.ZodString>;
|
|
3532
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3533
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
3534
|
+
}, "strip", z.ZodTypeAny, {
|
|
3535
|
+
authType: "accessToken";
|
|
3536
|
+
accessToken: string;
|
|
3537
|
+
modelName: string;
|
|
3538
|
+
baseUrl?: string | undefined;
|
|
3539
|
+
location?: string | undefined;
|
|
3540
|
+
projectId?: string | undefined;
|
|
3541
|
+
publisher?: string | undefined;
|
|
3542
|
+
}, {
|
|
3543
|
+
authType: "accessToken";
|
|
3544
|
+
accessToken: string;
|
|
3545
|
+
modelName: string;
|
|
3546
|
+
baseUrl?: string | undefined;
|
|
3547
|
+
location?: string | undefined;
|
|
3548
|
+
projectId?: string | undefined;
|
|
3549
|
+
publisher?: string | undefined;
|
|
3550
|
+
}>, z.ZodObject<{
|
|
3551
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
3552
|
+
serviceAccount: z.ZodObject<{
|
|
3553
|
+
client_email: z.ZodString;
|
|
3554
|
+
private_key: z.ZodString;
|
|
3555
|
+
type: z.ZodOptional<z.ZodString>;
|
|
3556
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3557
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
3558
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3559
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
3560
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
3561
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
3562
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
3563
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
3564
|
+
}, "strip", z.ZodTypeAny, {
|
|
3565
|
+
client_email: string;
|
|
3566
|
+
private_key: string;
|
|
3567
|
+
type?: string | undefined;
|
|
3568
|
+
project_id?: string | undefined;
|
|
3569
|
+
private_key_id?: string | undefined;
|
|
3570
|
+
client_id?: string | undefined;
|
|
3571
|
+
auth_uri?: string | undefined;
|
|
3572
|
+
token_uri?: string | undefined;
|
|
3573
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3574
|
+
client_x509_cert_url?: string | undefined;
|
|
3575
|
+
universe_domain?: string | undefined;
|
|
3576
|
+
}, {
|
|
3577
|
+
client_email: string;
|
|
3578
|
+
private_key: string;
|
|
3579
|
+
type?: string | undefined;
|
|
3580
|
+
project_id?: string | undefined;
|
|
3581
|
+
private_key_id?: string | undefined;
|
|
3582
|
+
client_id?: string | undefined;
|
|
3583
|
+
auth_uri?: string | undefined;
|
|
3584
|
+
token_uri?: string | undefined;
|
|
3585
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3586
|
+
client_x509_cert_url?: string | undefined;
|
|
3587
|
+
universe_domain?: string | undefined;
|
|
3588
|
+
}>;
|
|
3589
|
+
modelName: z.ZodString;
|
|
3590
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3591
|
+
location: z.ZodOptional<z.ZodString>;
|
|
3592
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3593
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
3594
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
3595
|
+
}, "strip", z.ZodTypeAny, {
|
|
3596
|
+
authType: "serviceAccount";
|
|
3597
|
+
modelName: string;
|
|
3598
|
+
serviceAccount: {
|
|
3599
|
+
client_email: string;
|
|
3600
|
+
private_key: string;
|
|
3601
|
+
type?: string | undefined;
|
|
3602
|
+
project_id?: string | undefined;
|
|
3603
|
+
private_key_id?: string | undefined;
|
|
3604
|
+
client_id?: string | undefined;
|
|
3605
|
+
auth_uri?: string | undefined;
|
|
3606
|
+
token_uri?: string | undefined;
|
|
3607
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3608
|
+
client_x509_cert_url?: string | undefined;
|
|
3609
|
+
universe_domain?: string | undefined;
|
|
3610
|
+
};
|
|
3611
|
+
tokenLifetimeHours: number;
|
|
3612
|
+
baseUrl?: string | undefined;
|
|
3613
|
+
location?: string | undefined;
|
|
3614
|
+
projectId?: string | undefined;
|
|
3615
|
+
publisher?: string | undefined;
|
|
3616
|
+
}, {
|
|
3617
|
+
authType: "serviceAccount";
|
|
3618
|
+
modelName: string;
|
|
3619
|
+
serviceAccount: {
|
|
3620
|
+
client_email: string;
|
|
3621
|
+
private_key: string;
|
|
3622
|
+
type?: string | undefined;
|
|
3623
|
+
project_id?: string | undefined;
|
|
3624
|
+
private_key_id?: string | undefined;
|
|
3625
|
+
client_id?: string | undefined;
|
|
3626
|
+
auth_uri?: string | undefined;
|
|
3627
|
+
token_uri?: string | undefined;
|
|
3628
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3629
|
+
client_x509_cert_url?: string | undefined;
|
|
3630
|
+
universe_domain?: string | undefined;
|
|
3631
|
+
};
|
|
3632
|
+
baseUrl?: string | undefined;
|
|
3633
|
+
location?: string | undefined;
|
|
3634
|
+
projectId?: string | undefined;
|
|
3635
|
+
publisher?: string | undefined;
|
|
3636
|
+
tokenLifetimeHours?: number | undefined;
|
|
3637
|
+
}>]>;
|
|
3638
|
+
type Gemini3_1ProPreviewCustomtoolsOptionsType = z.infer<typeof Gemini3_1ProPreviewCustomtoolsOptions>;
|
|
3639
|
+
declare class Gemini3_1ProPreviewCustomtools extends BaseChatModelVertex {
|
|
3640
|
+
constructor(options: Gemini3_1ProPreviewCustomtoolsOptionsType);
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3441
3643
|
declare const Gemini3FlashPreviewLiteral: "gemini-3-flash-preview";
|
|
3442
3644
|
declare const Gemini3FlashPreviewSchema: {
|
|
3443
3645
|
readonly price: {
|
|
@@ -4304,4 +4506,4 @@ declare class Vertex<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
4304
4506
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
4305
4507
|
}
|
|
4306
4508
|
|
|
4307
|
-
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_0FlashLite, Gemini2_0FlashLiteLiteral, Gemini2_0FlashLiteOptions, type Gemini2_0FlashLiteOptionsType, Gemini2_0FlashLiteSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLitePreview092025, Gemini2_5FlashLitePreview092025Literal, Gemini2_5FlashLitePreview092025Options, type Gemini2_5FlashLitePreview092025OptionsType, Gemini2_5FlashLitePreview092025Schema, 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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Gemini3_1ProPreview, Gemini3_1ProPreviewLiteral, Gemini3_1ProPreviewOptions, type Gemini3_1ProPreviewOptionsType, Gemini3_1ProPreviewSchema, 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 };
|
|
4509
|
+
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_0FlashLite, Gemini2_0FlashLiteLiteral, Gemini2_0FlashLiteOptions, type Gemini2_0FlashLiteOptionsType, Gemini2_0FlashLiteSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLitePreview092025, Gemini2_5FlashLitePreview092025Literal, Gemini2_5FlashLitePreview092025Options, type Gemini2_5FlashLitePreview092025OptionsType, Gemini2_5FlashLitePreview092025Schema, 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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Gemini3_1ProPreview, Gemini3_1ProPreviewCustomtools, Gemini3_1ProPreviewCustomtoolsLiteral, Gemini3_1ProPreviewCustomtoolsOptions, type Gemini3_1ProPreviewCustomtoolsOptionsType, Gemini3_1ProPreviewCustomtoolsSchema, Gemini3_1ProPreviewLiteral, Gemini3_1ProPreviewOptions, type Gemini3_1ProPreviewOptionsType, Gemini3_1ProPreviewSchema, 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 };
|