@adaline/vertex 0.8.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +95 -21
- package/dist/index.d.ts +95 -21
- package/dist/index.js +62 -58
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -38,8 +38,8 @@ declare class BaseChatModelVertex extends BaseChatModel {
|
|
|
38
38
|
getDefaultHeaders(): HeadersType;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
declare const
|
|
42
|
-
declare const
|
|
41
|
+
declare const Gemini1_0Pro001Literal: "gemini-1.0-pro-001";
|
|
42
|
+
declare const Gemini1_0Pro001Schema: {
|
|
43
43
|
description: string;
|
|
44
44
|
maxOutputTokens: number;
|
|
45
45
|
name: string;
|
|
@@ -85,7 +85,7 @@ declare const Gemini1_0ProSchema: {
|
|
|
85
85
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
|
-
declare const
|
|
88
|
+
declare const Gemini1_0Pro001Options: z.ZodObject<{
|
|
89
89
|
accessToken: z.ZodString;
|
|
90
90
|
modelName: z.ZodString;
|
|
91
91
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -107,18 +107,18 @@ declare const Gemini1_0ProOptions: z.ZodObject<{
|
|
|
107
107
|
projectId?: string | undefined;
|
|
108
108
|
publisher?: string | undefined;
|
|
109
109
|
}>;
|
|
110
|
-
type
|
|
111
|
-
declare class
|
|
112
|
-
constructor(options:
|
|
110
|
+
type Gemini1_0Pro001OptionsType = z.infer<typeof Gemini1_0Pro001Options>;
|
|
111
|
+
declare class Gemini1_0Pro001 extends BaseChatModelVertex {
|
|
112
|
+
constructor(options: Gemini1_0Pro001OptionsType);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
declare const
|
|
116
|
-
declare const
|
|
115
|
+
declare const Gemini1_0ProVisionLiteral: "gemini-1.0-pro-vision";
|
|
116
|
+
declare const Gemini1_0ProVisionSchema: {
|
|
117
117
|
description: string;
|
|
118
118
|
maxOutputTokens: number;
|
|
119
119
|
name: string;
|
|
120
120
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
121
|
-
modalities: ["text" | "
|
|
121
|
+
modalities: ["text" | "image", ...("text" | "image")[]];
|
|
122
122
|
maxInputTokens: number;
|
|
123
123
|
config: {
|
|
124
124
|
def: Record<string, {
|
|
@@ -159,7 +159,7 @@ declare const Gemini1_0Pro001Schema: {
|
|
|
159
159
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
|
-
declare const
|
|
162
|
+
declare const Gemini1_0ProVisionOptions: z.ZodObject<{
|
|
163
163
|
accessToken: z.ZodString;
|
|
164
164
|
modelName: z.ZodString;
|
|
165
165
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -181,18 +181,18 @@ declare const Gemini1_0Pro001Options: z.ZodObject<{
|
|
|
181
181
|
projectId?: string | undefined;
|
|
182
182
|
publisher?: string | undefined;
|
|
183
183
|
}>;
|
|
184
|
-
type
|
|
185
|
-
declare class
|
|
186
|
-
constructor(options:
|
|
184
|
+
type Gemini1_0ProVisionOptionsType = z.infer<typeof Gemini1_0ProVisionOptions>;
|
|
185
|
+
declare class Gemini1_0ProVision extends BaseChatModelVertex {
|
|
186
|
+
constructor(options: Gemini1_0ProVisionOptionsType);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
declare const
|
|
190
|
-
declare const
|
|
189
|
+
declare const Gemini1_0ProLiteral: "gemini-1.0-pro";
|
|
190
|
+
declare const Gemini1_0ProSchema: {
|
|
191
191
|
description: string;
|
|
192
192
|
maxOutputTokens: number;
|
|
193
193
|
name: string;
|
|
194
194
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
195
|
-
modalities: ["text" | "
|
|
195
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
196
196
|
maxInputTokens: number;
|
|
197
197
|
config: {
|
|
198
198
|
def: Record<string, {
|
|
@@ -233,7 +233,7 @@ declare const Gemini1_0ProVisionSchema: {
|
|
|
233
233
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
|
-
declare const
|
|
236
|
+
declare const Gemini1_0ProOptions: z.ZodObject<{
|
|
237
237
|
accessToken: z.ZodString;
|
|
238
238
|
modelName: z.ZodString;
|
|
239
239
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -255,9 +255,9 @@ declare const Gemini1_0ProVisionOptions: z.ZodObject<{
|
|
|
255
255
|
projectId?: string | undefined;
|
|
256
256
|
publisher?: string | undefined;
|
|
257
257
|
}>;
|
|
258
|
-
type
|
|
259
|
-
declare class
|
|
260
|
-
constructor(options:
|
|
258
|
+
type Gemini1_0ProOptionsType = z.infer<typeof Gemini1_0ProOptions>;
|
|
259
|
+
declare class Gemini1_0Pro extends BaseChatModelVertex {
|
|
260
|
+
constructor(options: Gemini1_0ProOptionsType);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
declare const Gemini1_5Flash001Literal: "gemini-1.5-flash-001";
|
|
@@ -704,6 +704,80 @@ declare class Gemini1_5Pro extends BaseChatModelVertex {
|
|
|
704
704
|
constructor(options: Gemini1_5ProOptionsType);
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
+
declare const Gemini2_0FlashExpLiteral: "gemini-2.0-flash-exp";
|
|
708
|
+
declare const Gemini2_0FlashExpSchema: {
|
|
709
|
+
description: string;
|
|
710
|
+
maxOutputTokens: number;
|
|
711
|
+
name: string;
|
|
712
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
713
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
714
|
+
maxInputTokens: number;
|
|
715
|
+
config: {
|
|
716
|
+
def: Record<string, {
|
|
717
|
+
type: "multi-string";
|
|
718
|
+
param: string;
|
|
719
|
+
title: string;
|
|
720
|
+
description: string;
|
|
721
|
+
max: number;
|
|
722
|
+
} | {
|
|
723
|
+
type: "object-schema";
|
|
724
|
+
param: string;
|
|
725
|
+
title: string;
|
|
726
|
+
description: string;
|
|
727
|
+
objectSchema?: any;
|
|
728
|
+
} | {
|
|
729
|
+
type: "range";
|
|
730
|
+
param: string;
|
|
731
|
+
title: string;
|
|
732
|
+
description: string;
|
|
733
|
+
max: number;
|
|
734
|
+
default: number;
|
|
735
|
+
min: number;
|
|
736
|
+
step: number;
|
|
737
|
+
} | {
|
|
738
|
+
type: "select-boolean";
|
|
739
|
+
param: string;
|
|
740
|
+
title: string;
|
|
741
|
+
description: string;
|
|
742
|
+
default: boolean | null;
|
|
743
|
+
} | {
|
|
744
|
+
type: "select-string";
|
|
745
|
+
param: string;
|
|
746
|
+
title: string;
|
|
747
|
+
description: string;
|
|
748
|
+
default: string | null;
|
|
749
|
+
choices: string[];
|
|
750
|
+
}>;
|
|
751
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
declare const Gemini2_0FlashExpOptions: z.ZodObject<{
|
|
755
|
+
accessToken: z.ZodString;
|
|
756
|
+
modelName: z.ZodString;
|
|
757
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
758
|
+
location: z.ZodOptional<z.ZodString>;
|
|
759
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
760
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
761
|
+
}, "strip", z.ZodTypeAny, {
|
|
762
|
+
accessToken: string;
|
|
763
|
+
modelName: string;
|
|
764
|
+
baseUrl?: string | undefined;
|
|
765
|
+
location?: string | undefined;
|
|
766
|
+
projectId?: string | undefined;
|
|
767
|
+
publisher?: string | undefined;
|
|
768
|
+
}, {
|
|
769
|
+
accessToken: string;
|
|
770
|
+
modelName: string;
|
|
771
|
+
baseUrl?: string | undefined;
|
|
772
|
+
location?: string | undefined;
|
|
773
|
+
projectId?: string | undefined;
|
|
774
|
+
publisher?: string | undefined;
|
|
775
|
+
}>;
|
|
776
|
+
type Gemini2_0FlashExpOptionsType = z.infer<typeof Gemini2_0FlashExpOptions>;
|
|
777
|
+
declare class Gemini2_0FlashExp extends BaseChatModelVertex {
|
|
778
|
+
constructor(options: Gemini2_0FlashExpOptionsType);
|
|
779
|
+
}
|
|
780
|
+
|
|
707
781
|
declare const BaseEmbeddingModelOptions: z.ZodObject<{
|
|
708
782
|
accessToken: z.ZodString;
|
|
709
783
|
modelName: z.ZodString;
|
|
@@ -1065,4 +1139,4 @@ declare class Vertex<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
1065
1139
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
1066
1140
|
}
|
|
1067
1141
|
|
|
1068
|
-
export { BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelVertex, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, Gemini1_0Pro, Gemini1_0Pro001, Gemini1_0Pro001Literal, Gemini1_0Pro001Options, type Gemini1_0Pro001OptionsType, Gemini1_0Pro001Schema, Gemini1_0ProLiteral, Gemini1_0ProOptions, type Gemini1_0ProOptionsType, Gemini1_0ProSchema, Gemini1_0ProVision, Gemini1_0ProVisionLiteral, Gemini1_0ProVisionOptions, type Gemini1_0ProVisionOptionsType, Gemini1_0ProVisionSchema, 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, 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 };
|
|
1142
|
+
export { BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelVertex, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, Gemini1_0Pro, Gemini1_0Pro001, Gemini1_0Pro001Literal, Gemini1_0Pro001Options, type Gemini1_0Pro001OptionsType, Gemini1_0Pro001Schema, Gemini1_0ProLiteral, Gemini1_0ProOptions, type Gemini1_0ProOptionsType, Gemini1_0ProSchema, Gemini1_0ProVision, Gemini1_0ProVisionLiteral, Gemini1_0ProVisionOptions, type Gemini1_0ProVisionOptionsType, Gemini1_0ProVisionSchema, 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_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, 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
|
@@ -38,8 +38,8 @@ declare class BaseChatModelVertex extends BaseChatModel {
|
|
|
38
38
|
getDefaultHeaders(): HeadersType;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
declare const
|
|
42
|
-
declare const
|
|
41
|
+
declare const Gemini1_0Pro001Literal: "gemini-1.0-pro-001";
|
|
42
|
+
declare const Gemini1_0Pro001Schema: {
|
|
43
43
|
description: string;
|
|
44
44
|
maxOutputTokens: number;
|
|
45
45
|
name: string;
|
|
@@ -85,7 +85,7 @@ declare const Gemini1_0ProSchema: {
|
|
|
85
85
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
|
-
declare const
|
|
88
|
+
declare const Gemini1_0Pro001Options: z.ZodObject<{
|
|
89
89
|
accessToken: z.ZodString;
|
|
90
90
|
modelName: z.ZodString;
|
|
91
91
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -107,18 +107,18 @@ declare const Gemini1_0ProOptions: z.ZodObject<{
|
|
|
107
107
|
projectId?: string | undefined;
|
|
108
108
|
publisher?: string | undefined;
|
|
109
109
|
}>;
|
|
110
|
-
type
|
|
111
|
-
declare class
|
|
112
|
-
constructor(options:
|
|
110
|
+
type Gemini1_0Pro001OptionsType = z.infer<typeof Gemini1_0Pro001Options>;
|
|
111
|
+
declare class Gemini1_0Pro001 extends BaseChatModelVertex {
|
|
112
|
+
constructor(options: Gemini1_0Pro001OptionsType);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
declare const
|
|
116
|
-
declare const
|
|
115
|
+
declare const Gemini1_0ProVisionLiteral: "gemini-1.0-pro-vision";
|
|
116
|
+
declare const Gemini1_0ProVisionSchema: {
|
|
117
117
|
description: string;
|
|
118
118
|
maxOutputTokens: number;
|
|
119
119
|
name: string;
|
|
120
120
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
121
|
-
modalities: ["text" | "
|
|
121
|
+
modalities: ["text" | "image", ...("text" | "image")[]];
|
|
122
122
|
maxInputTokens: number;
|
|
123
123
|
config: {
|
|
124
124
|
def: Record<string, {
|
|
@@ -159,7 +159,7 @@ declare const Gemini1_0Pro001Schema: {
|
|
|
159
159
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
|
-
declare const
|
|
162
|
+
declare const Gemini1_0ProVisionOptions: z.ZodObject<{
|
|
163
163
|
accessToken: z.ZodString;
|
|
164
164
|
modelName: z.ZodString;
|
|
165
165
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -181,18 +181,18 @@ declare const Gemini1_0Pro001Options: z.ZodObject<{
|
|
|
181
181
|
projectId?: string | undefined;
|
|
182
182
|
publisher?: string | undefined;
|
|
183
183
|
}>;
|
|
184
|
-
type
|
|
185
|
-
declare class
|
|
186
|
-
constructor(options:
|
|
184
|
+
type Gemini1_0ProVisionOptionsType = z.infer<typeof Gemini1_0ProVisionOptions>;
|
|
185
|
+
declare class Gemini1_0ProVision extends BaseChatModelVertex {
|
|
186
|
+
constructor(options: Gemini1_0ProVisionOptionsType);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
declare const
|
|
190
|
-
declare const
|
|
189
|
+
declare const Gemini1_0ProLiteral: "gemini-1.0-pro";
|
|
190
|
+
declare const Gemini1_0ProSchema: {
|
|
191
191
|
description: string;
|
|
192
192
|
maxOutputTokens: number;
|
|
193
193
|
name: string;
|
|
194
194
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
195
|
-
modalities: ["text" | "
|
|
195
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
196
196
|
maxInputTokens: number;
|
|
197
197
|
config: {
|
|
198
198
|
def: Record<string, {
|
|
@@ -233,7 +233,7 @@ declare const Gemini1_0ProVisionSchema: {
|
|
|
233
233
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
|
-
declare const
|
|
236
|
+
declare const Gemini1_0ProOptions: z.ZodObject<{
|
|
237
237
|
accessToken: z.ZodString;
|
|
238
238
|
modelName: z.ZodString;
|
|
239
239
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -255,9 +255,9 @@ declare const Gemini1_0ProVisionOptions: z.ZodObject<{
|
|
|
255
255
|
projectId?: string | undefined;
|
|
256
256
|
publisher?: string | undefined;
|
|
257
257
|
}>;
|
|
258
|
-
type
|
|
259
|
-
declare class
|
|
260
|
-
constructor(options:
|
|
258
|
+
type Gemini1_0ProOptionsType = z.infer<typeof Gemini1_0ProOptions>;
|
|
259
|
+
declare class Gemini1_0Pro extends BaseChatModelVertex {
|
|
260
|
+
constructor(options: Gemini1_0ProOptionsType);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
declare const Gemini1_5Flash001Literal: "gemini-1.5-flash-001";
|
|
@@ -704,6 +704,80 @@ declare class Gemini1_5Pro extends BaseChatModelVertex {
|
|
|
704
704
|
constructor(options: Gemini1_5ProOptionsType);
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
+
declare const Gemini2_0FlashExpLiteral: "gemini-2.0-flash-exp";
|
|
708
|
+
declare const Gemini2_0FlashExpSchema: {
|
|
709
|
+
description: string;
|
|
710
|
+
maxOutputTokens: number;
|
|
711
|
+
name: string;
|
|
712
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
713
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
714
|
+
maxInputTokens: number;
|
|
715
|
+
config: {
|
|
716
|
+
def: Record<string, {
|
|
717
|
+
type: "multi-string";
|
|
718
|
+
param: string;
|
|
719
|
+
title: string;
|
|
720
|
+
description: string;
|
|
721
|
+
max: number;
|
|
722
|
+
} | {
|
|
723
|
+
type: "object-schema";
|
|
724
|
+
param: string;
|
|
725
|
+
title: string;
|
|
726
|
+
description: string;
|
|
727
|
+
objectSchema?: any;
|
|
728
|
+
} | {
|
|
729
|
+
type: "range";
|
|
730
|
+
param: string;
|
|
731
|
+
title: string;
|
|
732
|
+
description: string;
|
|
733
|
+
max: number;
|
|
734
|
+
default: number;
|
|
735
|
+
min: number;
|
|
736
|
+
step: number;
|
|
737
|
+
} | {
|
|
738
|
+
type: "select-boolean";
|
|
739
|
+
param: string;
|
|
740
|
+
title: string;
|
|
741
|
+
description: string;
|
|
742
|
+
default: boolean | null;
|
|
743
|
+
} | {
|
|
744
|
+
type: "select-string";
|
|
745
|
+
param: string;
|
|
746
|
+
title: string;
|
|
747
|
+
description: string;
|
|
748
|
+
default: string | null;
|
|
749
|
+
choices: string[];
|
|
750
|
+
}>;
|
|
751
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
declare const Gemini2_0FlashExpOptions: z.ZodObject<{
|
|
755
|
+
accessToken: z.ZodString;
|
|
756
|
+
modelName: z.ZodString;
|
|
757
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
758
|
+
location: z.ZodOptional<z.ZodString>;
|
|
759
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
760
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
761
|
+
}, "strip", z.ZodTypeAny, {
|
|
762
|
+
accessToken: string;
|
|
763
|
+
modelName: string;
|
|
764
|
+
baseUrl?: string | undefined;
|
|
765
|
+
location?: string | undefined;
|
|
766
|
+
projectId?: string | undefined;
|
|
767
|
+
publisher?: string | undefined;
|
|
768
|
+
}, {
|
|
769
|
+
accessToken: string;
|
|
770
|
+
modelName: string;
|
|
771
|
+
baseUrl?: string | undefined;
|
|
772
|
+
location?: string | undefined;
|
|
773
|
+
projectId?: string | undefined;
|
|
774
|
+
publisher?: string | undefined;
|
|
775
|
+
}>;
|
|
776
|
+
type Gemini2_0FlashExpOptionsType = z.infer<typeof Gemini2_0FlashExpOptions>;
|
|
777
|
+
declare class Gemini2_0FlashExp extends BaseChatModelVertex {
|
|
778
|
+
constructor(options: Gemini2_0FlashExpOptionsType);
|
|
779
|
+
}
|
|
780
|
+
|
|
707
781
|
declare const BaseEmbeddingModelOptions: z.ZodObject<{
|
|
708
782
|
accessToken: z.ZodString;
|
|
709
783
|
modelName: z.ZodString;
|
|
@@ -1065,4 +1139,4 @@ declare class Vertex<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
1065
1139
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
1066
1140
|
}
|
|
1067
1141
|
|
|
1068
|
-
export { BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelVertex, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, Gemini1_0Pro, Gemini1_0Pro001, Gemini1_0Pro001Literal, Gemini1_0Pro001Options, type Gemini1_0Pro001OptionsType, Gemini1_0Pro001Schema, Gemini1_0ProLiteral, Gemini1_0ProOptions, type Gemini1_0ProOptionsType, Gemini1_0ProSchema, Gemini1_0ProVision, Gemini1_0ProVisionLiteral, Gemini1_0ProVisionOptions, type Gemini1_0ProVisionOptionsType, Gemini1_0ProVisionSchema, 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, 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 };
|
|
1142
|
+
export { BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelVertex, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, Gemini1_0Pro, Gemini1_0Pro001, Gemini1_0Pro001Literal, Gemini1_0Pro001Options, type Gemini1_0Pro001OptionsType, Gemini1_0Pro001Schema, Gemini1_0ProLiteral, Gemini1_0ProOptions, type Gemini1_0ProOptionsType, Gemini1_0ProSchema, Gemini1_0ProVision, Gemini1_0ProVisionLiteral, Gemini1_0ProVisionOptions, type Gemini1_0ProVisionOptionsType, Gemini1_0ProVisionSchema, 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_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, 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 };
|