@adaline/vertex 1.10.0 → 1.10.2
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 +97 -93
- 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
|
@@ -2998,6 +2998,208 @@ declare class Gemini2_5Pro extends BaseChatModelVertex {
|
|
|
2998
2998
|
constructor(options: Gemini2_5ProOptionsType);
|
|
2999
2999
|
}
|
|
3000
3000
|
|
|
3001
|
+
declare const Gemini3FlashPreviewLiteral: "gemini-3-flash-preview";
|
|
3002
|
+
declare const Gemini3FlashPreviewSchema: {
|
|
3003
|
+
readonly price: {
|
|
3004
|
+
modelName: string;
|
|
3005
|
+
currency: string;
|
|
3006
|
+
tokenRanges: {
|
|
3007
|
+
minTokens: number;
|
|
3008
|
+
maxTokens: null;
|
|
3009
|
+
prices: {
|
|
3010
|
+
base: {
|
|
3011
|
+
inputPricePerMillion: number;
|
|
3012
|
+
outputPricePerMillion: number;
|
|
3013
|
+
};
|
|
3014
|
+
};
|
|
3015
|
+
}[];
|
|
3016
|
+
};
|
|
3017
|
+
readonly description: string;
|
|
3018
|
+
readonly maxOutputTokens: number;
|
|
3019
|
+
readonly name: string;
|
|
3020
|
+
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3021
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3022
|
+
readonly maxInputTokens: number;
|
|
3023
|
+
readonly config: {
|
|
3024
|
+
def: Record<string, {
|
|
3025
|
+
type: "multi-string";
|
|
3026
|
+
param: string;
|
|
3027
|
+
title: string;
|
|
3028
|
+
description: string;
|
|
3029
|
+
max: number;
|
|
3030
|
+
} | {
|
|
3031
|
+
type: "object-schema";
|
|
3032
|
+
param: string;
|
|
3033
|
+
title: string;
|
|
3034
|
+
description: string;
|
|
3035
|
+
objectSchema?: any;
|
|
3036
|
+
} | {
|
|
3037
|
+
type: "paired-select";
|
|
3038
|
+
param: string;
|
|
3039
|
+
title: string;
|
|
3040
|
+
description: string;
|
|
3041
|
+
fields: [{
|
|
3042
|
+
label: string;
|
|
3043
|
+
key: string;
|
|
3044
|
+
choices: {
|
|
3045
|
+
value: string;
|
|
3046
|
+
label: string;
|
|
3047
|
+
}[];
|
|
3048
|
+
description?: string | undefined;
|
|
3049
|
+
}, {
|
|
3050
|
+
label: string;
|
|
3051
|
+
key: string;
|
|
3052
|
+
choices: {
|
|
3053
|
+
value: string;
|
|
3054
|
+
label: string;
|
|
3055
|
+
}[];
|
|
3056
|
+
description?: string | undefined;
|
|
3057
|
+
}];
|
|
3058
|
+
uniqueByField?: string | undefined;
|
|
3059
|
+
} | {
|
|
3060
|
+
type: "range";
|
|
3061
|
+
param: string;
|
|
3062
|
+
title: string;
|
|
3063
|
+
description: string;
|
|
3064
|
+
max: number;
|
|
3065
|
+
default: number;
|
|
3066
|
+
min: number;
|
|
3067
|
+
step: number;
|
|
3068
|
+
} | {
|
|
3069
|
+
type: "select-boolean";
|
|
3070
|
+
param: string;
|
|
3071
|
+
title: string;
|
|
3072
|
+
description: string;
|
|
3073
|
+
default: boolean | null;
|
|
3074
|
+
} | {
|
|
3075
|
+
type: "select-string";
|
|
3076
|
+
param: string;
|
|
3077
|
+
title: string;
|
|
3078
|
+
description: string;
|
|
3079
|
+
default: string;
|
|
3080
|
+
choices: string[];
|
|
3081
|
+
}>;
|
|
3082
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3083
|
+
};
|
|
3084
|
+
readonly maxReasoningTokens?: number | undefined;
|
|
3085
|
+
};
|
|
3086
|
+
declare const Gemini3FlashPreviewOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
3087
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
3088
|
+
accessToken: z.ZodString;
|
|
3089
|
+
modelName: z.ZodString;
|
|
3090
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3091
|
+
location: z.ZodOptional<z.ZodString>;
|
|
3092
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3093
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
3094
|
+
}, "strip", z.ZodTypeAny, {
|
|
3095
|
+
authType: "accessToken";
|
|
3096
|
+
accessToken: string;
|
|
3097
|
+
modelName: string;
|
|
3098
|
+
baseUrl?: string | undefined;
|
|
3099
|
+
location?: string | undefined;
|
|
3100
|
+
projectId?: string | undefined;
|
|
3101
|
+
publisher?: string | undefined;
|
|
3102
|
+
}, {
|
|
3103
|
+
authType: "accessToken";
|
|
3104
|
+
accessToken: string;
|
|
3105
|
+
modelName: string;
|
|
3106
|
+
baseUrl?: string | undefined;
|
|
3107
|
+
location?: string | undefined;
|
|
3108
|
+
projectId?: string | undefined;
|
|
3109
|
+
publisher?: string | undefined;
|
|
3110
|
+
}>, z.ZodObject<{
|
|
3111
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
3112
|
+
serviceAccount: z.ZodObject<{
|
|
3113
|
+
client_email: z.ZodString;
|
|
3114
|
+
private_key: z.ZodString;
|
|
3115
|
+
type: z.ZodOptional<z.ZodString>;
|
|
3116
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3117
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
3118
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3119
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
3120
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
3121
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
3122
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
3123
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
3124
|
+
}, "strip", z.ZodTypeAny, {
|
|
3125
|
+
client_email: string;
|
|
3126
|
+
private_key: string;
|
|
3127
|
+
type?: string | undefined;
|
|
3128
|
+
project_id?: string | undefined;
|
|
3129
|
+
private_key_id?: string | undefined;
|
|
3130
|
+
client_id?: string | undefined;
|
|
3131
|
+
auth_uri?: string | undefined;
|
|
3132
|
+
token_uri?: string | undefined;
|
|
3133
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3134
|
+
client_x509_cert_url?: string | undefined;
|
|
3135
|
+
universe_domain?: string | undefined;
|
|
3136
|
+
}, {
|
|
3137
|
+
client_email: string;
|
|
3138
|
+
private_key: string;
|
|
3139
|
+
type?: string | undefined;
|
|
3140
|
+
project_id?: string | undefined;
|
|
3141
|
+
private_key_id?: string | undefined;
|
|
3142
|
+
client_id?: string | undefined;
|
|
3143
|
+
auth_uri?: string | undefined;
|
|
3144
|
+
token_uri?: string | undefined;
|
|
3145
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3146
|
+
client_x509_cert_url?: string | undefined;
|
|
3147
|
+
universe_domain?: string | undefined;
|
|
3148
|
+
}>;
|
|
3149
|
+
modelName: z.ZodString;
|
|
3150
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3151
|
+
location: z.ZodOptional<z.ZodString>;
|
|
3152
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3153
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
3154
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
3155
|
+
}, "strip", z.ZodTypeAny, {
|
|
3156
|
+
authType: "serviceAccount";
|
|
3157
|
+
modelName: string;
|
|
3158
|
+
serviceAccount: {
|
|
3159
|
+
client_email: string;
|
|
3160
|
+
private_key: string;
|
|
3161
|
+
type?: string | undefined;
|
|
3162
|
+
project_id?: string | undefined;
|
|
3163
|
+
private_key_id?: string | undefined;
|
|
3164
|
+
client_id?: string | undefined;
|
|
3165
|
+
auth_uri?: string | undefined;
|
|
3166
|
+
token_uri?: string | undefined;
|
|
3167
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3168
|
+
client_x509_cert_url?: string | undefined;
|
|
3169
|
+
universe_domain?: string | undefined;
|
|
3170
|
+
};
|
|
3171
|
+
tokenLifetimeHours: number;
|
|
3172
|
+
baseUrl?: string | undefined;
|
|
3173
|
+
location?: string | undefined;
|
|
3174
|
+
projectId?: string | undefined;
|
|
3175
|
+
publisher?: string | undefined;
|
|
3176
|
+
}, {
|
|
3177
|
+
authType: "serviceAccount";
|
|
3178
|
+
modelName: string;
|
|
3179
|
+
serviceAccount: {
|
|
3180
|
+
client_email: string;
|
|
3181
|
+
private_key: string;
|
|
3182
|
+
type?: string | undefined;
|
|
3183
|
+
project_id?: string | undefined;
|
|
3184
|
+
private_key_id?: string | undefined;
|
|
3185
|
+
client_id?: string | undefined;
|
|
3186
|
+
auth_uri?: string | undefined;
|
|
3187
|
+
token_uri?: string | undefined;
|
|
3188
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3189
|
+
client_x509_cert_url?: string | undefined;
|
|
3190
|
+
universe_domain?: string | undefined;
|
|
3191
|
+
};
|
|
3192
|
+
baseUrl?: string | undefined;
|
|
3193
|
+
location?: string | undefined;
|
|
3194
|
+
projectId?: string | undefined;
|
|
3195
|
+
publisher?: string | undefined;
|
|
3196
|
+
tokenLifetimeHours?: number | undefined;
|
|
3197
|
+
}>]>;
|
|
3198
|
+
type Gemini3FlashPreviewOptionsType = z.infer<typeof Gemini3FlashPreviewOptions>;
|
|
3199
|
+
declare class Gemini3FlashPreview extends BaseChatModelVertex {
|
|
3200
|
+
constructor(options: Gemini3FlashPreviewOptionsType);
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3001
3203
|
declare const Gemini3ProPreviewLiteral: "gemini-3-pro-preview";
|
|
3002
3204
|
declare const Gemini3ProPreviewSchema: {
|
|
3003
3205
|
readonly price: {
|
|
@@ -3662,4 +3864,4 @@ declare class Vertex<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
3662
3864
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
3663
3865
|
}
|
|
3664
3866
|
|
|
3665
|
-
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 };
|
|
3867
|
+
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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -2998,6 +2998,208 @@ declare class Gemini2_5Pro extends BaseChatModelVertex {
|
|
|
2998
2998
|
constructor(options: Gemini2_5ProOptionsType);
|
|
2999
2999
|
}
|
|
3000
3000
|
|
|
3001
|
+
declare const Gemini3FlashPreviewLiteral: "gemini-3-flash-preview";
|
|
3002
|
+
declare const Gemini3FlashPreviewSchema: {
|
|
3003
|
+
readonly price: {
|
|
3004
|
+
modelName: string;
|
|
3005
|
+
currency: string;
|
|
3006
|
+
tokenRanges: {
|
|
3007
|
+
minTokens: number;
|
|
3008
|
+
maxTokens: null;
|
|
3009
|
+
prices: {
|
|
3010
|
+
base: {
|
|
3011
|
+
inputPricePerMillion: number;
|
|
3012
|
+
outputPricePerMillion: number;
|
|
3013
|
+
};
|
|
3014
|
+
};
|
|
3015
|
+
}[];
|
|
3016
|
+
};
|
|
3017
|
+
readonly description: string;
|
|
3018
|
+
readonly maxOutputTokens: number;
|
|
3019
|
+
readonly name: string;
|
|
3020
|
+
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3021
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3022
|
+
readonly maxInputTokens: number;
|
|
3023
|
+
readonly config: {
|
|
3024
|
+
def: Record<string, {
|
|
3025
|
+
type: "multi-string";
|
|
3026
|
+
param: string;
|
|
3027
|
+
title: string;
|
|
3028
|
+
description: string;
|
|
3029
|
+
max: number;
|
|
3030
|
+
} | {
|
|
3031
|
+
type: "object-schema";
|
|
3032
|
+
param: string;
|
|
3033
|
+
title: string;
|
|
3034
|
+
description: string;
|
|
3035
|
+
objectSchema?: any;
|
|
3036
|
+
} | {
|
|
3037
|
+
type: "paired-select";
|
|
3038
|
+
param: string;
|
|
3039
|
+
title: string;
|
|
3040
|
+
description: string;
|
|
3041
|
+
fields: [{
|
|
3042
|
+
label: string;
|
|
3043
|
+
key: string;
|
|
3044
|
+
choices: {
|
|
3045
|
+
value: string;
|
|
3046
|
+
label: string;
|
|
3047
|
+
}[];
|
|
3048
|
+
description?: string | undefined;
|
|
3049
|
+
}, {
|
|
3050
|
+
label: string;
|
|
3051
|
+
key: string;
|
|
3052
|
+
choices: {
|
|
3053
|
+
value: string;
|
|
3054
|
+
label: string;
|
|
3055
|
+
}[];
|
|
3056
|
+
description?: string | undefined;
|
|
3057
|
+
}];
|
|
3058
|
+
uniqueByField?: string | undefined;
|
|
3059
|
+
} | {
|
|
3060
|
+
type: "range";
|
|
3061
|
+
param: string;
|
|
3062
|
+
title: string;
|
|
3063
|
+
description: string;
|
|
3064
|
+
max: number;
|
|
3065
|
+
default: number;
|
|
3066
|
+
min: number;
|
|
3067
|
+
step: number;
|
|
3068
|
+
} | {
|
|
3069
|
+
type: "select-boolean";
|
|
3070
|
+
param: string;
|
|
3071
|
+
title: string;
|
|
3072
|
+
description: string;
|
|
3073
|
+
default: boolean | null;
|
|
3074
|
+
} | {
|
|
3075
|
+
type: "select-string";
|
|
3076
|
+
param: string;
|
|
3077
|
+
title: string;
|
|
3078
|
+
description: string;
|
|
3079
|
+
default: string;
|
|
3080
|
+
choices: string[];
|
|
3081
|
+
}>;
|
|
3082
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3083
|
+
};
|
|
3084
|
+
readonly maxReasoningTokens?: number | undefined;
|
|
3085
|
+
};
|
|
3086
|
+
declare const Gemini3FlashPreviewOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
3087
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
3088
|
+
accessToken: z.ZodString;
|
|
3089
|
+
modelName: z.ZodString;
|
|
3090
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3091
|
+
location: z.ZodOptional<z.ZodString>;
|
|
3092
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3093
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
3094
|
+
}, "strip", z.ZodTypeAny, {
|
|
3095
|
+
authType: "accessToken";
|
|
3096
|
+
accessToken: string;
|
|
3097
|
+
modelName: string;
|
|
3098
|
+
baseUrl?: string | undefined;
|
|
3099
|
+
location?: string | undefined;
|
|
3100
|
+
projectId?: string | undefined;
|
|
3101
|
+
publisher?: string | undefined;
|
|
3102
|
+
}, {
|
|
3103
|
+
authType: "accessToken";
|
|
3104
|
+
accessToken: string;
|
|
3105
|
+
modelName: string;
|
|
3106
|
+
baseUrl?: string | undefined;
|
|
3107
|
+
location?: string | undefined;
|
|
3108
|
+
projectId?: string | undefined;
|
|
3109
|
+
publisher?: string | undefined;
|
|
3110
|
+
}>, z.ZodObject<{
|
|
3111
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
3112
|
+
serviceAccount: z.ZodObject<{
|
|
3113
|
+
client_email: z.ZodString;
|
|
3114
|
+
private_key: z.ZodString;
|
|
3115
|
+
type: z.ZodOptional<z.ZodString>;
|
|
3116
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3117
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
3118
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3119
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
3120
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
3121
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
3122
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
3123
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
3124
|
+
}, "strip", z.ZodTypeAny, {
|
|
3125
|
+
client_email: string;
|
|
3126
|
+
private_key: string;
|
|
3127
|
+
type?: string | undefined;
|
|
3128
|
+
project_id?: string | undefined;
|
|
3129
|
+
private_key_id?: string | undefined;
|
|
3130
|
+
client_id?: string | undefined;
|
|
3131
|
+
auth_uri?: string | undefined;
|
|
3132
|
+
token_uri?: string | undefined;
|
|
3133
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3134
|
+
client_x509_cert_url?: string | undefined;
|
|
3135
|
+
universe_domain?: string | undefined;
|
|
3136
|
+
}, {
|
|
3137
|
+
client_email: string;
|
|
3138
|
+
private_key: string;
|
|
3139
|
+
type?: string | undefined;
|
|
3140
|
+
project_id?: string | undefined;
|
|
3141
|
+
private_key_id?: string | undefined;
|
|
3142
|
+
client_id?: string | undefined;
|
|
3143
|
+
auth_uri?: string | undefined;
|
|
3144
|
+
token_uri?: string | undefined;
|
|
3145
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3146
|
+
client_x509_cert_url?: string | undefined;
|
|
3147
|
+
universe_domain?: string | undefined;
|
|
3148
|
+
}>;
|
|
3149
|
+
modelName: z.ZodString;
|
|
3150
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3151
|
+
location: z.ZodOptional<z.ZodString>;
|
|
3152
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3153
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
3154
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
3155
|
+
}, "strip", z.ZodTypeAny, {
|
|
3156
|
+
authType: "serviceAccount";
|
|
3157
|
+
modelName: string;
|
|
3158
|
+
serviceAccount: {
|
|
3159
|
+
client_email: string;
|
|
3160
|
+
private_key: string;
|
|
3161
|
+
type?: string | undefined;
|
|
3162
|
+
project_id?: string | undefined;
|
|
3163
|
+
private_key_id?: string | undefined;
|
|
3164
|
+
client_id?: string | undefined;
|
|
3165
|
+
auth_uri?: string | undefined;
|
|
3166
|
+
token_uri?: string | undefined;
|
|
3167
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3168
|
+
client_x509_cert_url?: string | undefined;
|
|
3169
|
+
universe_domain?: string | undefined;
|
|
3170
|
+
};
|
|
3171
|
+
tokenLifetimeHours: number;
|
|
3172
|
+
baseUrl?: string | undefined;
|
|
3173
|
+
location?: string | undefined;
|
|
3174
|
+
projectId?: string | undefined;
|
|
3175
|
+
publisher?: string | undefined;
|
|
3176
|
+
}, {
|
|
3177
|
+
authType: "serviceAccount";
|
|
3178
|
+
modelName: string;
|
|
3179
|
+
serviceAccount: {
|
|
3180
|
+
client_email: string;
|
|
3181
|
+
private_key: string;
|
|
3182
|
+
type?: string | undefined;
|
|
3183
|
+
project_id?: string | undefined;
|
|
3184
|
+
private_key_id?: string | undefined;
|
|
3185
|
+
client_id?: string | undefined;
|
|
3186
|
+
auth_uri?: string | undefined;
|
|
3187
|
+
token_uri?: string | undefined;
|
|
3188
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3189
|
+
client_x509_cert_url?: string | undefined;
|
|
3190
|
+
universe_domain?: string | undefined;
|
|
3191
|
+
};
|
|
3192
|
+
baseUrl?: string | undefined;
|
|
3193
|
+
location?: string | undefined;
|
|
3194
|
+
projectId?: string | undefined;
|
|
3195
|
+
publisher?: string | undefined;
|
|
3196
|
+
tokenLifetimeHours?: number | undefined;
|
|
3197
|
+
}>]>;
|
|
3198
|
+
type Gemini3FlashPreviewOptionsType = z.infer<typeof Gemini3FlashPreviewOptions>;
|
|
3199
|
+
declare class Gemini3FlashPreview extends BaseChatModelVertex {
|
|
3200
|
+
constructor(options: Gemini3FlashPreviewOptionsType);
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3001
3203
|
declare const Gemini3ProPreviewLiteral: "gemini-3-pro-preview";
|
|
3002
3204
|
declare const Gemini3ProPreviewSchema: {
|
|
3003
3205
|
readonly price: {
|
|
@@ -3662,4 +3864,4 @@ declare class Vertex<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
3662
3864
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
3663
3865
|
}
|
|
3664
3866
|
|
|
3665
|
-
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 };
|
|
3867
|
+
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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, 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 };
|