@adaline/google 0.8.0 → 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 +171 -100
- package/dist/index.d.ts +171 -100
- package/dist/index.js +119 -115
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1006,8 +1006,8 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1006
1006
|
};
|
|
1007
1007
|
})[];
|
|
1008
1008
|
} | undefined;
|
|
1009
|
-
finishReason?: string | undefined;
|
|
1010
1009
|
index?: number | undefined;
|
|
1010
|
+
finishReason?: string | undefined;
|
|
1011
1011
|
safetyRatings?: {
|
|
1012
1012
|
category: string;
|
|
1013
1013
|
probability: string;
|
|
@@ -1025,8 +1025,8 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1025
1025
|
};
|
|
1026
1026
|
})[];
|
|
1027
1027
|
} | undefined;
|
|
1028
|
-
finishReason?: string | undefined;
|
|
1029
1028
|
index?: number | undefined;
|
|
1029
|
+
finishReason?: string | undefined;
|
|
1030
1030
|
safetyRatings?: {
|
|
1031
1031
|
category: string;
|
|
1032
1032
|
probability: string;
|
|
@@ -1084,8 +1084,8 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1084
1084
|
};
|
|
1085
1085
|
})[];
|
|
1086
1086
|
} | undefined;
|
|
1087
|
-
finishReason?: string | undefined;
|
|
1088
1087
|
index?: number | undefined;
|
|
1088
|
+
finishReason?: string | undefined;
|
|
1089
1089
|
safetyRatings?: {
|
|
1090
1090
|
category: string;
|
|
1091
1091
|
probability: string;
|
|
@@ -1117,8 +1117,8 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1117
1117
|
};
|
|
1118
1118
|
})[];
|
|
1119
1119
|
} | undefined;
|
|
1120
|
-
finishReason?: string | undefined;
|
|
1121
1120
|
index?: number | undefined;
|
|
1121
|
+
finishReason?: string | undefined;
|
|
1122
1122
|
safetyRatings?: {
|
|
1123
1123
|
category: string;
|
|
1124
1124
|
probability: string;
|
|
@@ -1153,21 +1153,21 @@ declare const GoogleChatContentPartInlineData: z.ZodObject<{
|
|
|
1153
1153
|
mime_type: z.ZodString;
|
|
1154
1154
|
data: z.ZodString;
|
|
1155
1155
|
}, "strip", z.ZodTypeAny, {
|
|
1156
|
-
mime_type: string;
|
|
1157
1156
|
data: string;
|
|
1158
|
-
}, {
|
|
1159
1157
|
mime_type: string;
|
|
1158
|
+
}, {
|
|
1160
1159
|
data: string;
|
|
1160
|
+
mime_type: string;
|
|
1161
1161
|
}>;
|
|
1162
1162
|
}, "strip", z.ZodTypeAny, {
|
|
1163
1163
|
inline_data: {
|
|
1164
|
-
mime_type: string;
|
|
1165
1164
|
data: string;
|
|
1165
|
+
mime_type: string;
|
|
1166
1166
|
};
|
|
1167
1167
|
}, {
|
|
1168
1168
|
inline_data: {
|
|
1169
|
-
mime_type: string;
|
|
1170
1169
|
data: string;
|
|
1170
|
+
mime_type: string;
|
|
1171
1171
|
};
|
|
1172
1172
|
}>;
|
|
1173
1173
|
type GoogleChatContentPartInlineDataType = z.infer<typeof GoogleChatContentPartInlineData>;
|
|
@@ -1230,21 +1230,21 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
1230
1230
|
mime_type: z.ZodString;
|
|
1231
1231
|
data: z.ZodString;
|
|
1232
1232
|
}, "strip", z.ZodTypeAny, {
|
|
1233
|
-
mime_type: string;
|
|
1234
1233
|
data: string;
|
|
1235
|
-
}, {
|
|
1236
1234
|
mime_type: string;
|
|
1235
|
+
}, {
|
|
1237
1236
|
data: string;
|
|
1237
|
+
mime_type: string;
|
|
1238
1238
|
}>;
|
|
1239
1239
|
}, "strip", z.ZodTypeAny, {
|
|
1240
1240
|
inline_data: {
|
|
1241
|
-
mime_type: string;
|
|
1242
1241
|
data: string;
|
|
1242
|
+
mime_type: string;
|
|
1243
1243
|
};
|
|
1244
1244
|
}, {
|
|
1245
1245
|
inline_data: {
|
|
1246
|
-
mime_type: string;
|
|
1247
1246
|
data: string;
|
|
1247
|
+
mime_type: string;
|
|
1248
1248
|
};
|
|
1249
1249
|
}>, z.ZodObject<{
|
|
1250
1250
|
function_call: z.ZodObject<{
|
|
@@ -1295,8 +1295,8 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
1295
1295
|
text: string;
|
|
1296
1296
|
} | {
|
|
1297
1297
|
inline_data: {
|
|
1298
|
-
mime_type: string;
|
|
1299
1298
|
data: string;
|
|
1299
|
+
mime_type: string;
|
|
1300
1300
|
};
|
|
1301
1301
|
} | {
|
|
1302
1302
|
function_call: {
|
|
@@ -1315,8 +1315,8 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
1315
1315
|
text: string;
|
|
1316
1316
|
} | {
|
|
1317
1317
|
inline_data: {
|
|
1318
|
-
mime_type: string;
|
|
1319
1318
|
data: string;
|
|
1319
|
+
mime_type: string;
|
|
1320
1320
|
};
|
|
1321
1321
|
} | {
|
|
1322
1322
|
function_call: {
|
|
@@ -1441,21 +1441,21 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
1441
1441
|
mime_type: z.ZodString;
|
|
1442
1442
|
data: z.ZodString;
|
|
1443
1443
|
}, "strip", z.ZodTypeAny, {
|
|
1444
|
-
mime_type: string;
|
|
1445
1444
|
data: string;
|
|
1446
|
-
}, {
|
|
1447
1445
|
mime_type: string;
|
|
1446
|
+
}, {
|
|
1448
1447
|
data: string;
|
|
1448
|
+
mime_type: string;
|
|
1449
1449
|
}>;
|
|
1450
1450
|
}, "strip", z.ZodTypeAny, {
|
|
1451
1451
|
inline_data: {
|
|
1452
|
-
mime_type: string;
|
|
1453
1452
|
data: string;
|
|
1453
|
+
mime_type: string;
|
|
1454
1454
|
};
|
|
1455
1455
|
}, {
|
|
1456
1456
|
inline_data: {
|
|
1457
|
-
mime_type: string;
|
|
1458
1457
|
data: string;
|
|
1458
|
+
mime_type: string;
|
|
1459
1459
|
};
|
|
1460
1460
|
}>, z.ZodObject<{
|
|
1461
1461
|
function_call: z.ZodObject<{
|
|
@@ -1506,8 +1506,8 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
1506
1506
|
text: string;
|
|
1507
1507
|
} | {
|
|
1508
1508
|
inline_data: {
|
|
1509
|
-
mime_type: string;
|
|
1510
1509
|
data: string;
|
|
1510
|
+
mime_type: string;
|
|
1511
1511
|
};
|
|
1512
1512
|
} | {
|
|
1513
1513
|
function_call: {
|
|
@@ -1526,8 +1526,8 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
1526
1526
|
text: string;
|
|
1527
1527
|
} | {
|
|
1528
1528
|
inline_data: {
|
|
1529
|
-
mime_type: string;
|
|
1530
1529
|
data: string;
|
|
1530
|
+
mime_type: string;
|
|
1531
1531
|
};
|
|
1532
1532
|
} | {
|
|
1533
1533
|
function_call: {
|
|
@@ -1729,8 +1729,8 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
1729
1729
|
text: string;
|
|
1730
1730
|
} | {
|
|
1731
1731
|
inline_data: {
|
|
1732
|
-
mime_type: string;
|
|
1733
1732
|
data: string;
|
|
1733
|
+
mime_type: string;
|
|
1734
1734
|
};
|
|
1735
1735
|
} | {
|
|
1736
1736
|
function_call: {
|
|
@@ -1809,8 +1809,8 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
1809
1809
|
text: string;
|
|
1810
1810
|
} | {
|
|
1811
1811
|
inline_data: {
|
|
1812
|
-
mime_type: string;
|
|
1813
1812
|
data: string;
|
|
1813
|
+
mime_type: string;
|
|
1814
1814
|
};
|
|
1815
1815
|
} | {
|
|
1816
1816
|
function_call: {
|
|
@@ -1948,8 +1948,8 @@ declare class BaseChatModelGemini1 extends BaseChatModel {
|
|
|
1948
1948
|
transformMessages(messages: MessageType[]): ParamsType;
|
|
1949
1949
|
}
|
|
1950
1950
|
|
|
1951
|
-
declare const
|
|
1952
|
-
declare const
|
|
1951
|
+
declare const Gemini1_0Pro_001Literal = "gemini-1.0-pro-001";
|
|
1952
|
+
declare const Gemini1_0Pro_001Schema: {
|
|
1953
1953
|
description: string;
|
|
1954
1954
|
maxOutputTokens: number;
|
|
1955
1955
|
name: string;
|
|
@@ -1995,7 +1995,7 @@ declare const GeminiProSchema: {
|
|
|
1995
1995
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1996
1996
|
};
|
|
1997
1997
|
};
|
|
1998
|
-
declare const
|
|
1998
|
+
declare const Gemini1_0Pro_001Options: z.ZodObject<{
|
|
1999
1999
|
modelName: z.ZodString;
|
|
2000
2000
|
apiKey: z.ZodString;
|
|
2001
2001
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2014,13 +2014,84 @@ declare const GeminiProOptions: z.ZodObject<{
|
|
|
2014
2014
|
completeChatUrl?: string | undefined;
|
|
2015
2015
|
streamChatUrl?: string | undefined;
|
|
2016
2016
|
}>;
|
|
2017
|
-
type
|
|
2018
|
-
declare class
|
|
2019
|
-
constructor(options:
|
|
2017
|
+
type Gemini1_0Pro_001OptionsType = z.infer<typeof Gemini1_0Pro_001Options>;
|
|
2018
|
+
declare class Gemini1_0Pro_001 extends BaseChatModelGemini1 {
|
|
2019
|
+
constructor(options: Gemini1_0Pro_001OptionsType);
|
|
2020
2020
|
}
|
|
2021
2021
|
|
|
2022
|
-
declare const
|
|
2023
|
-
declare const
|
|
2022
|
+
declare const Gemini1_0ProLatestLiteral = "gemini-1.0-pro-latest";
|
|
2023
|
+
declare const Gemini1_0ProLatestSchema: {
|
|
2024
|
+
description: string;
|
|
2025
|
+
maxOutputTokens: number;
|
|
2026
|
+
name: string;
|
|
2027
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2028
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
2029
|
+
maxInputTokens: number;
|
|
2030
|
+
config: {
|
|
2031
|
+
def: Record<string, {
|
|
2032
|
+
type: "multi-string";
|
|
2033
|
+
param: string;
|
|
2034
|
+
title: string;
|
|
2035
|
+
description: string;
|
|
2036
|
+
max: number;
|
|
2037
|
+
} | {
|
|
2038
|
+
type: "object-schema";
|
|
2039
|
+
param: string;
|
|
2040
|
+
title: string;
|
|
2041
|
+
description: string;
|
|
2042
|
+
objectSchema?: any;
|
|
2043
|
+
} | {
|
|
2044
|
+
type: "range";
|
|
2045
|
+
param: string;
|
|
2046
|
+
title: string;
|
|
2047
|
+
description: string;
|
|
2048
|
+
max: number;
|
|
2049
|
+
default: number;
|
|
2050
|
+
min: number;
|
|
2051
|
+
step: number;
|
|
2052
|
+
} | {
|
|
2053
|
+
type: "select-boolean";
|
|
2054
|
+
param: string;
|
|
2055
|
+
title: string;
|
|
2056
|
+
description: string;
|
|
2057
|
+
default: boolean | null;
|
|
2058
|
+
} | {
|
|
2059
|
+
type: "select-string";
|
|
2060
|
+
param: string;
|
|
2061
|
+
title: string;
|
|
2062
|
+
description: string;
|
|
2063
|
+
default: string | null;
|
|
2064
|
+
choices: string[];
|
|
2065
|
+
}>;
|
|
2066
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2067
|
+
};
|
|
2068
|
+
};
|
|
2069
|
+
declare const Gemini1_0ProLatestOptions: z.ZodObject<{
|
|
2070
|
+
modelName: z.ZodString;
|
|
2071
|
+
apiKey: z.ZodString;
|
|
2072
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2073
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
2074
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
2075
|
+
}, "strip", z.ZodTypeAny, {
|
|
2076
|
+
modelName: string;
|
|
2077
|
+
apiKey: string;
|
|
2078
|
+
baseUrl?: string | undefined;
|
|
2079
|
+
completeChatUrl?: string | undefined;
|
|
2080
|
+
streamChatUrl?: string | undefined;
|
|
2081
|
+
}, {
|
|
2082
|
+
modelName: string;
|
|
2083
|
+
apiKey: string;
|
|
2084
|
+
baseUrl?: string | undefined;
|
|
2085
|
+
completeChatUrl?: string | undefined;
|
|
2086
|
+
streamChatUrl?: string | undefined;
|
|
2087
|
+
}>;
|
|
2088
|
+
type Gemini1_0ProLatestOptionsType = z.infer<typeof Gemini1_0ProLatestOptions>;
|
|
2089
|
+
declare class Gemini1_0ProLatest extends BaseChatModelGemini1 {
|
|
2090
|
+
constructor(options: Gemini1_0ProLatestOptionsType);
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
declare const Gemini1_0ProVisionLiteral = "gemini-1.0-pro-vision";
|
|
2094
|
+
declare const Gemini1_0ProVisionSchema: {
|
|
2024
2095
|
description: string;
|
|
2025
2096
|
maxOutputTokens: number;
|
|
2026
2097
|
name: string;
|
|
@@ -2066,7 +2137,7 @@ declare const GeminiProVisionSchema: {
|
|
|
2066
2137
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2067
2138
|
};
|
|
2068
2139
|
};
|
|
2069
|
-
declare const
|
|
2140
|
+
declare const Gemini1_0ProVisionOptions: z.ZodObject<{
|
|
2070
2141
|
modelName: z.ZodString;
|
|
2071
2142
|
apiKey: z.ZodString;
|
|
2072
2143
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2085,9 +2156,9 @@ declare const GeminiProVisionOptions: z.ZodObject<{
|
|
|
2085
2156
|
completeChatUrl?: string | undefined;
|
|
2086
2157
|
streamChatUrl?: string | undefined;
|
|
2087
2158
|
}>;
|
|
2088
|
-
type
|
|
2089
|
-
declare class
|
|
2090
|
-
constructor(options:
|
|
2159
|
+
type Gemini1_0ProVisionOptionsType = z.infer<typeof Gemini1_0ProVisionOptions>;
|
|
2160
|
+
declare class Gemini1_0ProVision extends BaseChatModelGemini1 {
|
|
2161
|
+
constructor(options: Gemini1_0ProVisionOptionsType);
|
|
2091
2162
|
}
|
|
2092
2163
|
|
|
2093
2164
|
declare const Gemini1_0ProLiteral = "gemini-1.0-pro";
|
|
@@ -2161,13 +2232,13 @@ declare class Gemini1_0Pro extends BaseChatModelGemini1 {
|
|
|
2161
2232
|
constructor(options: Gemini1_0ProOptionsType);
|
|
2162
2233
|
}
|
|
2163
2234
|
|
|
2164
|
-
declare const
|
|
2165
|
-
declare const
|
|
2235
|
+
declare const Gemini1_5Flash001Literal = "gemini-1.5-flash-001";
|
|
2236
|
+
declare const Gemini1_5Flash001Schema: {
|
|
2166
2237
|
description: string;
|
|
2167
2238
|
maxOutputTokens: number;
|
|
2168
2239
|
name: string;
|
|
2169
2240
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2170
|
-
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
2241
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2171
2242
|
maxInputTokens: number;
|
|
2172
2243
|
config: {
|
|
2173
2244
|
def: Record<string, {
|
|
@@ -2208,7 +2279,7 @@ declare const Gemini1_0Pro_001Schema: {
|
|
|
2208
2279
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2209
2280
|
};
|
|
2210
2281
|
};
|
|
2211
|
-
declare const
|
|
2282
|
+
declare const Gemini1_5Flash001Options: z.ZodObject<{
|
|
2212
2283
|
modelName: z.ZodString;
|
|
2213
2284
|
apiKey: z.ZodString;
|
|
2214
2285
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2227,18 +2298,18 @@ declare const Gemini1_0Pro_001Options: z.ZodObject<{
|
|
|
2227
2298
|
completeChatUrl?: string | undefined;
|
|
2228
2299
|
streamChatUrl?: string | undefined;
|
|
2229
2300
|
}>;
|
|
2230
|
-
type
|
|
2231
|
-
declare class
|
|
2232
|
-
constructor(options:
|
|
2301
|
+
type Gemini1_5Flash001OptionsType = z.infer<typeof Gemini1_5Flash001Options>;
|
|
2302
|
+
declare class Gemini1_5Flash001 extends BaseChatModel {
|
|
2303
|
+
constructor(options: Gemini1_5Flash001OptionsType);
|
|
2233
2304
|
}
|
|
2234
2305
|
|
|
2235
|
-
declare const
|
|
2236
|
-
declare const
|
|
2306
|
+
declare const Gemini1_5Flash002Literal = "gemini-1.5-flash-002";
|
|
2307
|
+
declare const Gemini1_5Flash002Schema: {
|
|
2237
2308
|
description: string;
|
|
2238
2309
|
maxOutputTokens: number;
|
|
2239
2310
|
name: string;
|
|
2240
2311
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2241
|
-
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
2312
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2242
2313
|
maxInputTokens: number;
|
|
2243
2314
|
config: {
|
|
2244
2315
|
def: Record<string, {
|
|
@@ -2279,7 +2350,7 @@ declare const Gemini1_0ProLatestSchema: {
|
|
|
2279
2350
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2280
2351
|
};
|
|
2281
2352
|
};
|
|
2282
|
-
declare const
|
|
2353
|
+
declare const Gemini1_5Flash002Options: z.ZodObject<{
|
|
2283
2354
|
modelName: z.ZodString;
|
|
2284
2355
|
apiKey: z.ZodString;
|
|
2285
2356
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2298,18 +2369,18 @@ declare const Gemini1_0ProLatestOptions: z.ZodObject<{
|
|
|
2298
2369
|
completeChatUrl?: string | undefined;
|
|
2299
2370
|
streamChatUrl?: string | undefined;
|
|
2300
2371
|
}>;
|
|
2301
|
-
type
|
|
2302
|
-
declare class
|
|
2303
|
-
constructor(options:
|
|
2372
|
+
type Gemini1_5Flash002OptionsType = z.infer<typeof Gemini1_5Flash002Options>;
|
|
2373
|
+
declare class Gemini1_5Flash002 extends BaseChatModel {
|
|
2374
|
+
constructor(options: Gemini1_5Flash002OptionsType);
|
|
2304
2375
|
}
|
|
2305
2376
|
|
|
2306
|
-
declare const
|
|
2307
|
-
declare const
|
|
2377
|
+
declare const Gemini1_5FlashLatestLiteral = "gemini-1.5-flash-latest";
|
|
2378
|
+
declare const Gemini1_5FlashLatestSchema: {
|
|
2308
2379
|
description: string;
|
|
2309
2380
|
maxOutputTokens: number;
|
|
2310
2381
|
name: string;
|
|
2311
2382
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2312
|
-
modalities: ["text" | "image", ...("text" | "image")[]];
|
|
2383
|
+
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
2313
2384
|
maxInputTokens: number;
|
|
2314
2385
|
config: {
|
|
2315
2386
|
def: Record<string, {
|
|
@@ -2350,7 +2421,7 @@ declare const Gemini1_0ProVisionSchema: {
|
|
|
2350
2421
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2351
2422
|
};
|
|
2352
2423
|
};
|
|
2353
|
-
declare const
|
|
2424
|
+
declare const Gemini1_5FlashLatestOptions: z.ZodObject<{
|
|
2354
2425
|
modelName: z.ZodString;
|
|
2355
2426
|
apiKey: z.ZodString;
|
|
2356
2427
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2369,9 +2440,9 @@ declare const Gemini1_0ProVisionOptions: z.ZodObject<{
|
|
|
2369
2440
|
completeChatUrl?: string | undefined;
|
|
2370
2441
|
streamChatUrl?: string | undefined;
|
|
2371
2442
|
}>;
|
|
2372
|
-
type
|
|
2373
|
-
declare class
|
|
2374
|
-
constructor(options:
|
|
2443
|
+
type Gemini1_5FlashLatestOptionsType = z.infer<typeof Gemini1_5FlashLatestOptions>;
|
|
2444
|
+
declare class Gemini1_5FlashLatest extends BaseChatModel {
|
|
2445
|
+
constructor(options: Gemini1_5FlashLatestOptionsType);
|
|
2375
2446
|
}
|
|
2376
2447
|
|
|
2377
2448
|
declare const Gemini1_5FlashLiteral = "gemini-1.5-flash";
|
|
@@ -2445,8 +2516,8 @@ declare class Gemini1_5Flash extends BaseChatModel {
|
|
|
2445
2516
|
constructor(options: Gemini1_5FlashOptionsType);
|
|
2446
2517
|
}
|
|
2447
2518
|
|
|
2448
|
-
declare const
|
|
2449
|
-
declare const
|
|
2519
|
+
declare const Gemini1_5Pro001Literal = "gemini-1.5-pro-001";
|
|
2520
|
+
declare const Gemini1_5Pro001Schema: {
|
|
2450
2521
|
description: string;
|
|
2451
2522
|
maxOutputTokens: number;
|
|
2452
2523
|
name: string;
|
|
@@ -2492,7 +2563,7 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
2492
2563
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2493
2564
|
};
|
|
2494
2565
|
};
|
|
2495
|
-
declare const
|
|
2566
|
+
declare const Gemini1_5Pro001Options: z.ZodObject<{
|
|
2496
2567
|
modelName: z.ZodString;
|
|
2497
2568
|
apiKey: z.ZodString;
|
|
2498
2569
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2511,13 +2582,13 @@ declare const Gemini1_5Flash001Options: z.ZodObject<{
|
|
|
2511
2582
|
completeChatUrl?: string | undefined;
|
|
2512
2583
|
streamChatUrl?: string | undefined;
|
|
2513
2584
|
}>;
|
|
2514
|
-
type
|
|
2515
|
-
declare class
|
|
2516
|
-
constructor(options:
|
|
2585
|
+
type Gemini1_5Pro001OptionsType = z.infer<typeof Gemini1_5Pro001Options>;
|
|
2586
|
+
declare class Gemini1_5Pro001 extends BaseChatModel {
|
|
2587
|
+
constructor(options: Gemini1_5Pro001OptionsType);
|
|
2517
2588
|
}
|
|
2518
2589
|
|
|
2519
|
-
declare const
|
|
2520
|
-
declare const
|
|
2590
|
+
declare const Gemini1_5Pro002Literal = "gemini-1.5-pro-002";
|
|
2591
|
+
declare const Gemini1_5Pro002Schema: {
|
|
2521
2592
|
description: string;
|
|
2522
2593
|
maxOutputTokens: number;
|
|
2523
2594
|
name: string;
|
|
@@ -2563,7 +2634,7 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
2563
2634
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2564
2635
|
};
|
|
2565
2636
|
};
|
|
2566
|
-
declare const
|
|
2637
|
+
declare const Gemini1_5Pro002Options: z.ZodObject<{
|
|
2567
2638
|
modelName: z.ZodString;
|
|
2568
2639
|
apiKey: z.ZodString;
|
|
2569
2640
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2582,13 +2653,13 @@ declare const Gemini1_5Flash002Options: z.ZodObject<{
|
|
|
2582
2653
|
completeChatUrl?: string | undefined;
|
|
2583
2654
|
streamChatUrl?: string | undefined;
|
|
2584
2655
|
}>;
|
|
2585
|
-
type
|
|
2586
|
-
declare class
|
|
2587
|
-
constructor(options:
|
|
2656
|
+
type Gemini1_5Pro002OptionsType = z.infer<typeof Gemini1_5Pro002Options>;
|
|
2657
|
+
declare class Gemini1_5Pro002 extends BaseChatModel {
|
|
2658
|
+
constructor(options: Gemini1_5Pro002OptionsType);
|
|
2588
2659
|
}
|
|
2589
2660
|
|
|
2590
|
-
declare const
|
|
2591
|
-
declare const
|
|
2661
|
+
declare const Gemini1_5ProLatestLiteral = "gemini-1.5-pro-latest";
|
|
2662
|
+
declare const Gemini1_5ProLatestSchema: {
|
|
2592
2663
|
description: string;
|
|
2593
2664
|
maxOutputTokens: number;
|
|
2594
2665
|
name: string;
|
|
@@ -2634,7 +2705,7 @@ declare const Gemini1_5FlashLatestSchema: {
|
|
|
2634
2705
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2635
2706
|
};
|
|
2636
2707
|
};
|
|
2637
|
-
declare const
|
|
2708
|
+
declare const Gemini1_5ProLatestOptions: z.ZodObject<{
|
|
2638
2709
|
modelName: z.ZodString;
|
|
2639
2710
|
apiKey: z.ZodString;
|
|
2640
2711
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2653,9 +2724,9 @@ declare const Gemini1_5FlashLatestOptions: z.ZodObject<{
|
|
|
2653
2724
|
completeChatUrl?: string | undefined;
|
|
2654
2725
|
streamChatUrl?: string | undefined;
|
|
2655
2726
|
}>;
|
|
2656
|
-
type
|
|
2657
|
-
declare class
|
|
2658
|
-
constructor(options:
|
|
2727
|
+
type Gemini1_5ProLatestOptionsType = z.infer<typeof Gemini1_5ProLatestOptions>;
|
|
2728
|
+
declare class Gemini1_5ProLatest extends BaseChatModel {
|
|
2729
|
+
constructor(options: Gemini1_5ProLatestOptionsType);
|
|
2659
2730
|
}
|
|
2660
2731
|
|
|
2661
2732
|
declare const Gemini1_5ProLiteral = "gemini-1.5-pro";
|
|
@@ -2729,8 +2800,8 @@ declare class Gemini1_5Pro extends BaseChatModel {
|
|
|
2729
2800
|
constructor(options: Gemini1_5ProOptionsType);
|
|
2730
2801
|
}
|
|
2731
2802
|
|
|
2732
|
-
declare const
|
|
2733
|
-
declare const
|
|
2803
|
+
declare const Gemini2_0FlashExpLiteral = "gemini-2.0-flash-exp";
|
|
2804
|
+
declare const Gemini2_0FlashExpSchema: {
|
|
2734
2805
|
description: string;
|
|
2735
2806
|
maxOutputTokens: number;
|
|
2736
2807
|
name: string;
|
|
@@ -2776,7 +2847,7 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
2776
2847
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2777
2848
|
};
|
|
2778
2849
|
};
|
|
2779
|
-
declare const
|
|
2850
|
+
declare const Gemini2_0FlashExpOptions: z.ZodObject<{
|
|
2780
2851
|
modelName: z.ZodString;
|
|
2781
2852
|
apiKey: z.ZodString;
|
|
2782
2853
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2795,18 +2866,18 @@ declare const Gemini1_5Pro001Options: z.ZodObject<{
|
|
|
2795
2866
|
completeChatUrl?: string | undefined;
|
|
2796
2867
|
streamChatUrl?: string | undefined;
|
|
2797
2868
|
}>;
|
|
2798
|
-
type
|
|
2799
|
-
declare class
|
|
2800
|
-
constructor(options:
|
|
2869
|
+
type Gemini2_0FlashExpOptionsType = z.infer<typeof Gemini2_0FlashExpOptions>;
|
|
2870
|
+
declare class Gemini2_0FlashExp extends BaseChatModel {
|
|
2871
|
+
constructor(options: Gemini2_0FlashExpOptionsType);
|
|
2801
2872
|
}
|
|
2802
2873
|
|
|
2803
|
-
declare const
|
|
2804
|
-
declare const
|
|
2874
|
+
declare const GeminiProVisionLiteral = "gemini-pro-vision";
|
|
2875
|
+
declare const GeminiProVisionSchema: {
|
|
2805
2876
|
description: string;
|
|
2806
2877
|
maxOutputTokens: number;
|
|
2807
2878
|
name: string;
|
|
2808
2879
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2809
|
-
modalities: ["text" | "image"
|
|
2880
|
+
modalities: ["text" | "image", ...("text" | "image")[]];
|
|
2810
2881
|
maxInputTokens: number;
|
|
2811
2882
|
config: {
|
|
2812
2883
|
def: Record<string, {
|
|
@@ -2847,7 +2918,7 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
2847
2918
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2848
2919
|
};
|
|
2849
2920
|
};
|
|
2850
|
-
declare const
|
|
2921
|
+
declare const GeminiProVisionOptions: z.ZodObject<{
|
|
2851
2922
|
modelName: z.ZodString;
|
|
2852
2923
|
apiKey: z.ZodString;
|
|
2853
2924
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2866,18 +2937,18 @@ declare const Gemini1_5Pro002Options: z.ZodObject<{
|
|
|
2866
2937
|
completeChatUrl?: string | undefined;
|
|
2867
2938
|
streamChatUrl?: string | undefined;
|
|
2868
2939
|
}>;
|
|
2869
|
-
type
|
|
2870
|
-
declare class
|
|
2871
|
-
constructor(options:
|
|
2940
|
+
type GeminiProVisionOptionsType = z.infer<typeof GeminiProVisionOptions>;
|
|
2941
|
+
declare class GeminiProVision extends BaseChatModelGemini1 {
|
|
2942
|
+
constructor(options: GeminiProVisionOptionsType);
|
|
2872
2943
|
}
|
|
2873
2944
|
|
|
2874
|
-
declare const
|
|
2875
|
-
declare const
|
|
2945
|
+
declare const GeminiProLiteral = "gemini-pro";
|
|
2946
|
+
declare const GeminiProSchema: {
|
|
2876
2947
|
description: string;
|
|
2877
2948
|
maxOutputTokens: number;
|
|
2878
2949
|
name: string;
|
|
2879
2950
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2880
|
-
modalities: ["text" | "
|
|
2951
|
+
modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]];
|
|
2881
2952
|
maxInputTokens: number;
|
|
2882
2953
|
config: {
|
|
2883
2954
|
def: Record<string, {
|
|
@@ -2918,7 +2989,7 @@ declare const Gemini1_5ProLatestSchema: {
|
|
|
2918
2989
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2919
2990
|
};
|
|
2920
2991
|
};
|
|
2921
|
-
declare const
|
|
2992
|
+
declare const GeminiProOptions: z.ZodObject<{
|
|
2922
2993
|
modelName: z.ZodString;
|
|
2923
2994
|
apiKey: z.ZodString;
|
|
2924
2995
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2937,9 +3008,9 @@ declare const Gemini1_5ProLatestOptions: z.ZodObject<{
|
|
|
2937
3008
|
completeChatUrl?: string | undefined;
|
|
2938
3009
|
streamChatUrl?: string | undefined;
|
|
2939
3010
|
}>;
|
|
2940
|
-
type
|
|
2941
|
-
declare class
|
|
2942
|
-
constructor(options:
|
|
3011
|
+
type GeminiProOptionsType = z.infer<typeof GeminiProOptions>;
|
|
3012
|
+
declare class GeminiPro extends BaseChatModelGemini1 {
|
|
3013
|
+
constructor(options: GeminiProOptionsType);
|
|
2943
3014
|
}
|
|
2944
3015
|
|
|
2945
3016
|
declare const GoogleEmbeddingModelModalities: EmbeddingModelSchemaType["modalities"];
|
|
@@ -2984,19 +3055,19 @@ declare const GoogleEmbeddingRequestInput: z.ZodObject<{
|
|
|
2984
3055
|
}[];
|
|
2985
3056
|
}>;
|
|
2986
3057
|
}, "strip", z.ZodTypeAny, {
|
|
2987
|
-
model: string;
|
|
2988
3058
|
content: {
|
|
2989
3059
|
parts: {
|
|
2990
3060
|
text: string;
|
|
2991
3061
|
}[];
|
|
2992
3062
|
};
|
|
2993
|
-
}, {
|
|
2994
3063
|
model: string;
|
|
3064
|
+
}, {
|
|
2995
3065
|
content: {
|
|
2996
3066
|
parts: {
|
|
2997
3067
|
text: string;
|
|
2998
3068
|
}[];
|
|
2999
3069
|
};
|
|
3070
|
+
model: string;
|
|
3000
3071
|
}>;
|
|
3001
3072
|
type GoogleEmbeddingRequestInputType = z.infer<typeof GoogleEmbeddingRequestInput>;
|
|
3002
3073
|
declare const GoogleEmbeddingRequest: z.ZodObject<{
|
|
@@ -3021,40 +3092,40 @@ declare const GoogleEmbeddingRequest: z.ZodObject<{
|
|
|
3021
3092
|
}[];
|
|
3022
3093
|
}>;
|
|
3023
3094
|
}, "strip", z.ZodTypeAny, {
|
|
3024
|
-
model: string;
|
|
3025
3095
|
content: {
|
|
3026
3096
|
parts: {
|
|
3027
3097
|
text: string;
|
|
3028
3098
|
}[];
|
|
3029
3099
|
};
|
|
3030
|
-
}, {
|
|
3031
3100
|
model: string;
|
|
3101
|
+
}, {
|
|
3032
3102
|
content: {
|
|
3033
3103
|
parts: {
|
|
3034
3104
|
text: string;
|
|
3035
3105
|
}[];
|
|
3036
3106
|
};
|
|
3107
|
+
model: string;
|
|
3037
3108
|
}>, "many">;
|
|
3038
3109
|
outputDimensionality: z.ZodOptional<z.ZodNumber>;
|
|
3039
3110
|
}, "strip", z.ZodTypeAny, {
|
|
3040
3111
|
requests: {
|
|
3041
|
-
model: string;
|
|
3042
3112
|
content: {
|
|
3043
3113
|
parts: {
|
|
3044
3114
|
text: string;
|
|
3045
3115
|
}[];
|
|
3046
3116
|
};
|
|
3117
|
+
model: string;
|
|
3047
3118
|
}[];
|
|
3048
3119
|
outputDimensionality?: number | undefined;
|
|
3049
3120
|
model?: string | undefined;
|
|
3050
3121
|
}, {
|
|
3051
3122
|
requests: {
|
|
3052
|
-
model: string;
|
|
3053
3123
|
content: {
|
|
3054
3124
|
parts: {
|
|
3055
3125
|
text: string;
|
|
3056
3126
|
}[];
|
|
3057
3127
|
};
|
|
3128
|
+
model: string;
|
|
3058
3129
|
}[];
|
|
3059
3130
|
outputDimensionality?: number | undefined;
|
|
3060
3131
|
model?: string | undefined;
|
|
@@ -3256,4 +3327,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
3256
3327
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
3257
3328
|
}
|
|
3258
3329
|
|
|
3259
|
-
export { BaseChatModel, BaseChatModelGemini1, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelC1ConfigDef, ChatModelC1ConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, Gemini1_0Pro, Gemini1_0ProLatest, Gemini1_0ProLatestLiteral, Gemini1_0ProLatestOptions, type Gemini1_0ProLatestOptionsType, Gemini1_0ProLatestSchema, Gemini1_0ProLiteral, Gemini1_0ProOptions, type Gemini1_0ProOptionsType, Gemini1_0ProSchema, Gemini1_0ProVision, Gemini1_0ProVisionLiteral, Gemini1_0ProVisionOptions, type Gemini1_0ProVisionOptionsType, Gemini1_0ProVisionSchema, Gemini1_0Pro_001, Gemini1_0Pro_001Literal, Gemini1_0Pro_001Options, type Gemini1_0Pro_001OptionsType, Gemini1_0Pro_001Schema, 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, GeminiPro, GeminiProLiteral, GeminiProOptions, type GeminiProOptionsType, GeminiProSchema, GeminiProVision, GeminiProVisionLiteral, GeminiProVisionOptions, type GeminiProVisionOptionsType, GeminiProVisionSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|
|
3330
|
+
export { BaseChatModel, BaseChatModelGemini1, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelC1ConfigDef, ChatModelC1ConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, Gemini1_0Pro, Gemini1_0ProLatest, Gemini1_0ProLatestLiteral, Gemini1_0ProLatestOptions, type Gemini1_0ProLatestOptionsType, Gemini1_0ProLatestSchema, Gemini1_0ProLiteral, Gemini1_0ProOptions, type Gemini1_0ProOptionsType, Gemini1_0ProSchema, Gemini1_0ProVision, Gemini1_0ProVisionLiteral, Gemini1_0ProVisionOptions, type Gemini1_0ProVisionOptionsType, Gemini1_0ProVisionSchema, Gemini1_0Pro_001, Gemini1_0Pro_001Literal, Gemini1_0Pro_001Options, type Gemini1_0Pro_001OptionsType, Gemini1_0Pro_001Schema, 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_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, GeminiPro, GeminiProLiteral, GeminiProOptions, type GeminiProOptionsType, GeminiProSchema, GeminiProVision, GeminiProVisionLiteral, GeminiProVisionOptions, type GeminiProVisionOptionsType, GeminiProVisionSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|