@adaline/google 1.12.2 → 1.14.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 +757 -20
- package/dist/index.d.ts +757 -20
- package/dist/index.js +159 -153
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -75,6 +75,13 @@ declare const GoogleChatModelConfigs: {
|
|
|
75
75
|
}];
|
|
76
76
|
uniqueByField?: string | undefined;
|
|
77
77
|
};
|
|
78
|
+
readonly googleSearchTool: {
|
|
79
|
+
type: "select-boolean";
|
|
80
|
+
param: string;
|
|
81
|
+
title: string;
|
|
82
|
+
description: string;
|
|
83
|
+
default: boolean | null;
|
|
84
|
+
};
|
|
78
85
|
};
|
|
79
86
|
schema: zod.ZodObject<{
|
|
80
87
|
temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
@@ -87,6 +94,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
87
94
|
}, {
|
|
88
95
|
[x: string]: any;
|
|
89
96
|
}>, "many">>;
|
|
97
|
+
googleSearchTool: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
90
98
|
}, "strip", zod.ZodTypeAny, {
|
|
91
99
|
toolChoice?: string | null | undefined;
|
|
92
100
|
safetySettings?: {
|
|
@@ -96,6 +104,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
96
104
|
topP?: number | undefined;
|
|
97
105
|
maxTokens?: number | undefined;
|
|
98
106
|
stop?: string[] | undefined;
|
|
107
|
+
googleSearchTool?: boolean | null | undefined;
|
|
99
108
|
}, {
|
|
100
109
|
toolChoice?: string | null | undefined;
|
|
101
110
|
safetySettings?: {
|
|
@@ -105,6 +114,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
105
114
|
topP?: number | undefined;
|
|
106
115
|
maxTokens?: number | undefined;
|
|
107
116
|
stop?: string[] | undefined;
|
|
117
|
+
googleSearchTool?: boolean | null | undefined;
|
|
108
118
|
}>;
|
|
109
119
|
};
|
|
110
120
|
readonly responseSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => {
|
|
@@ -193,6 +203,13 @@ declare const GoogleChatModelConfigs: {
|
|
|
193
203
|
}];
|
|
194
204
|
uniqueByField?: string | undefined;
|
|
195
205
|
};
|
|
206
|
+
googleSearchTool: {
|
|
207
|
+
type: "select-boolean";
|
|
208
|
+
param: string;
|
|
209
|
+
title: string;
|
|
210
|
+
description: string;
|
|
211
|
+
default: boolean | null;
|
|
212
|
+
};
|
|
196
213
|
};
|
|
197
214
|
schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
198
215
|
temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
@@ -205,6 +222,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
205
222
|
}, {
|
|
206
223
|
[x: string]: any;
|
|
207
224
|
}>, "many">>;
|
|
225
|
+
googleSearchTool: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
208
226
|
}, {
|
|
209
227
|
responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
210
228
|
responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
@@ -221,6 +239,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
221
239
|
topP?: number | undefined;
|
|
222
240
|
maxTokens?: number | undefined;
|
|
223
241
|
stop?: string[] | undefined;
|
|
242
|
+
googleSearchTool?: boolean | null | undefined;
|
|
224
243
|
responseFormat?: string | null | undefined;
|
|
225
244
|
responseSchema?: {
|
|
226
245
|
[x: string]: any;
|
|
@@ -234,6 +253,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
234
253
|
topP?: number | undefined;
|
|
235
254
|
maxTokens?: number | undefined;
|
|
236
255
|
stop?: string[] | undefined;
|
|
256
|
+
googleSearchTool?: boolean | null | undefined;
|
|
237
257
|
responseFormat?: string | null | undefined;
|
|
238
258
|
responseSchema?: {
|
|
239
259
|
[x: string]: any;
|
|
@@ -333,6 +353,13 @@ declare const GoogleChatModelConfigs: {
|
|
|
333
353
|
}];
|
|
334
354
|
uniqueByField?: string | undefined;
|
|
335
355
|
};
|
|
356
|
+
googleSearchTool: {
|
|
357
|
+
type: "select-boolean";
|
|
358
|
+
param: string;
|
|
359
|
+
title: string;
|
|
360
|
+
description: string;
|
|
361
|
+
default: boolean | null;
|
|
362
|
+
};
|
|
336
363
|
};
|
|
337
364
|
schema: zod.ZodObject<zod.objectUtil.extendShape<zod.objectUtil.extendShape<{
|
|
338
365
|
temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
@@ -345,6 +372,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
345
372
|
}, {
|
|
346
373
|
[x: string]: any;
|
|
347
374
|
}>, "many">>;
|
|
375
|
+
googleSearchTool: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
348
376
|
}, {
|
|
349
377
|
responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
350
378
|
responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
@@ -364,6 +392,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
364
392
|
topP?: number | undefined;
|
|
365
393
|
maxTokens?: number | undefined;
|
|
366
394
|
stop?: string[] | undefined;
|
|
395
|
+
googleSearchTool?: boolean | null | undefined;
|
|
367
396
|
responseFormat?: string | null | undefined;
|
|
368
397
|
responseSchema?: {
|
|
369
398
|
[x: string]: any;
|
|
@@ -378,6 +407,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
378
407
|
topP?: number | undefined;
|
|
379
408
|
maxTokens?: number | undefined;
|
|
380
409
|
stop?: string[] | undefined;
|
|
410
|
+
googleSearchTool?: boolean | null | undefined;
|
|
381
411
|
responseFormat?: string | null | undefined;
|
|
382
412
|
responseSchema?: {
|
|
383
413
|
[x: string]: any;
|
|
@@ -420,6 +450,7 @@ declare const ChatModelBaseConfigSchema: (maxTemperature: number, defaultTempera
|
|
|
420
450
|
}, {
|
|
421
451
|
[x: string]: any;
|
|
422
452
|
}>, "many">>;
|
|
453
|
+
googleSearchTool: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
423
454
|
}, "strip", z.ZodTypeAny, {
|
|
424
455
|
toolChoice?: string | null | undefined;
|
|
425
456
|
safetySettings?: {
|
|
@@ -429,6 +460,7 @@ declare const ChatModelBaseConfigSchema: (maxTemperature: number, defaultTempera
|
|
|
429
460
|
topP?: number | undefined;
|
|
430
461
|
maxTokens?: number | undefined;
|
|
431
462
|
stop?: string[] | undefined;
|
|
463
|
+
googleSearchTool?: boolean | null | undefined;
|
|
432
464
|
}, {
|
|
433
465
|
toolChoice?: string | null | undefined;
|
|
434
466
|
safetySettings?: {
|
|
@@ -438,6 +470,7 @@ declare const ChatModelBaseConfigSchema: (maxTemperature: number, defaultTempera
|
|
|
438
470
|
topP?: number | undefined;
|
|
439
471
|
maxTokens?: number | undefined;
|
|
440
472
|
stop?: string[] | undefined;
|
|
473
|
+
googleSearchTool?: boolean | null | undefined;
|
|
441
474
|
}>;
|
|
442
475
|
declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => {
|
|
443
476
|
readonly temperature: {
|
|
@@ -509,6 +542,13 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
|
|
|
509
542
|
}];
|
|
510
543
|
uniqueByField?: string | undefined;
|
|
511
544
|
};
|
|
545
|
+
readonly googleSearchTool: {
|
|
546
|
+
type: "select-boolean";
|
|
547
|
+
param: string;
|
|
548
|
+
title: string;
|
|
549
|
+
description: string;
|
|
550
|
+
default: boolean | null;
|
|
551
|
+
};
|
|
512
552
|
};
|
|
513
553
|
|
|
514
554
|
declare const GOOGLE_SAFETY_CATEGORIES: readonly ["HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_CIVIC_INTEGRITY"];
|
|
@@ -674,6 +714,16 @@ declare const reasoningEnabled: {
|
|
|
674
714
|
};
|
|
675
715
|
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
676
716
|
};
|
|
717
|
+
declare const googleSearchTool: {
|
|
718
|
+
def: {
|
|
719
|
+
type: "select-boolean";
|
|
720
|
+
param: string;
|
|
721
|
+
title: string;
|
|
722
|
+
description: string;
|
|
723
|
+
default: boolean | null;
|
|
724
|
+
};
|
|
725
|
+
schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
726
|
+
};
|
|
677
727
|
|
|
678
728
|
declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => zod.ZodObject<zod.objectUtil.extendShape<zod.objectUtil.extendShape<{
|
|
679
729
|
temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
@@ -686,6 +736,7 @@ declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTe
|
|
|
686
736
|
}, {
|
|
687
737
|
[x: string]: any;
|
|
688
738
|
}>, "many">>;
|
|
739
|
+
googleSearchTool: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
689
740
|
}, {
|
|
690
741
|
responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
691
742
|
responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
@@ -705,6 +756,7 @@ declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTe
|
|
|
705
756
|
topP?: number | undefined;
|
|
706
757
|
maxTokens?: number | undefined;
|
|
707
758
|
stop?: string[] | undefined;
|
|
759
|
+
googleSearchTool?: boolean | null | undefined;
|
|
708
760
|
responseFormat?: string | null | undefined;
|
|
709
761
|
responseSchema?: {
|
|
710
762
|
[x: string]: any;
|
|
@@ -719,6 +771,7 @@ declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTe
|
|
|
719
771
|
topP?: number | undefined;
|
|
720
772
|
maxTokens?: number | undefined;
|
|
721
773
|
stop?: string[] | undefined;
|
|
774
|
+
googleSearchTool?: boolean | null | undefined;
|
|
722
775
|
responseFormat?: string | null | undefined;
|
|
723
776
|
responseSchema?: {
|
|
724
777
|
[x: string]: any;
|
|
@@ -816,6 +869,13 @@ declare const ChatModelReasoningConfigDef: (maxTemperature: number, defaultTempe
|
|
|
816
869
|
}];
|
|
817
870
|
uniqueByField?: string | undefined;
|
|
818
871
|
};
|
|
872
|
+
googleSearchTool: {
|
|
873
|
+
type: "select-boolean";
|
|
874
|
+
param: string;
|
|
875
|
+
title: string;
|
|
876
|
+
description: string;
|
|
877
|
+
default: boolean | null;
|
|
878
|
+
};
|
|
819
879
|
};
|
|
820
880
|
|
|
821
881
|
declare const GoogleChatModelResponseSchemaConfigDef: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => {
|
|
@@ -903,6 +963,13 @@ declare const GoogleChatModelResponseSchemaConfigDef: (maxTemperature: number, d
|
|
|
903
963
|
}];
|
|
904
964
|
uniqueByField?: string | undefined;
|
|
905
965
|
};
|
|
966
|
+
googleSearchTool: {
|
|
967
|
+
type: "select-boolean";
|
|
968
|
+
param: string;
|
|
969
|
+
title: string;
|
|
970
|
+
description: string;
|
|
971
|
+
default: boolean | null;
|
|
972
|
+
};
|
|
906
973
|
};
|
|
907
974
|
declare const GoogleChatModelResponseSchemaConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => zod.ZodObject<zod.objectUtil.extendShape<{
|
|
908
975
|
temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
|
|
@@ -915,6 +982,7 @@ declare const GoogleChatModelResponseSchemaConfigSchema: (maxTemperature: number
|
|
|
915
982
|
}, {
|
|
916
983
|
[x: string]: any;
|
|
917
984
|
}>, "many">>;
|
|
985
|
+
googleSearchTool: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
|
|
918
986
|
}, {
|
|
919
987
|
responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
|
|
920
988
|
responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
@@ -931,6 +999,7 @@ declare const GoogleChatModelResponseSchemaConfigSchema: (maxTemperature: number
|
|
|
931
999
|
topP?: number | undefined;
|
|
932
1000
|
maxTokens?: number | undefined;
|
|
933
1001
|
stop?: string[] | undefined;
|
|
1002
|
+
googleSearchTool?: boolean | null | undefined;
|
|
934
1003
|
responseFormat?: string | null | undefined;
|
|
935
1004
|
responseSchema?: {
|
|
936
1005
|
[x: string]: any;
|
|
@@ -944,6 +1013,7 @@ declare const GoogleChatModelResponseSchemaConfigSchema: (maxTemperature: number
|
|
|
944
1013
|
topP?: number | undefined;
|
|
945
1014
|
maxTokens?: number | undefined;
|
|
946
1015
|
stop?: string[] | undefined;
|
|
1016
|
+
googleSearchTool?: boolean | null | undefined;
|
|
947
1017
|
responseFormat?: string | null | undefined;
|
|
948
1018
|
responseSchema?: {
|
|
949
1019
|
[x: string]: any;
|
|
@@ -995,7 +1065,7 @@ declare const GoogleChatModelRolesMap: {
|
|
|
995
1065
|
};
|
|
996
1066
|
|
|
997
1067
|
declare const GoogleChatModelModalities: ChatModelSchemaType["modalities"];
|
|
998
|
-
declare const GoogleChatModelModalitiesEnum: z.ZodEnum<["text", "image", "pdf", "tool-call", "tool-response"]>;
|
|
1068
|
+
declare const GoogleChatModelModalitiesEnum: z.ZodEnum<["text", "image", "pdf", "tool-call", "tool-response", "reasoning", "search-result", "error"]>;
|
|
999
1069
|
declare const GoogleChatModelTextModalities: ChatModelSchemaType["modalities"];
|
|
1000
1070
|
declare const GoogleChatModelTextModalitiesEnum: z.ZodEnum<["text"]>;
|
|
1001
1071
|
declare const GoogleChatModelTextVisionModalities: ChatModelSchemaType["modalities"];
|
|
@@ -1003,12 +1073,211 @@ declare const GoogleChatModelTextVisionModalitiesEnum: z.ZodEnum<["text", "image
|
|
|
1003
1073
|
declare const GoogleChatModelTextToolModalities: ChatModelSchemaType["modalities"];
|
|
1004
1074
|
declare const GoogleChatModelTextToolModalitiesEnum: z.ZodEnum<["text", "tool-call", "tool-response"]>;
|
|
1005
1075
|
|
|
1076
|
+
declare const GoogleSearchEntryPoint: z.ZodObject<{
|
|
1077
|
+
renderedContent: z.ZodOptional<z.ZodString>;
|
|
1078
|
+
}, "strip", z.ZodTypeAny, {
|
|
1079
|
+
renderedContent?: string | undefined;
|
|
1080
|
+
}, {
|
|
1081
|
+
renderedContent?: string | undefined;
|
|
1082
|
+
}>;
|
|
1083
|
+
type GoogleSearchEntryPointType = z.infer<typeof GoogleSearchEntryPoint>;
|
|
1084
|
+
declare const GoogleGroundingChunkWeb: z.ZodObject<{
|
|
1085
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1086
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1087
|
+
}, "strip", z.ZodTypeAny, {
|
|
1088
|
+
title?: string | undefined;
|
|
1089
|
+
uri?: string | undefined;
|
|
1090
|
+
}, {
|
|
1091
|
+
title?: string | undefined;
|
|
1092
|
+
uri?: string | undefined;
|
|
1093
|
+
}>;
|
|
1094
|
+
type GoogleGroundingChunkWebType = z.infer<typeof GoogleGroundingChunkWeb>;
|
|
1095
|
+
declare const GoogleGroundingChunk: z.ZodObject<{
|
|
1096
|
+
web: z.ZodOptional<z.ZodObject<{
|
|
1097
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1098
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1099
|
+
}, "strip", z.ZodTypeAny, {
|
|
1100
|
+
title?: string | undefined;
|
|
1101
|
+
uri?: string | undefined;
|
|
1102
|
+
}, {
|
|
1103
|
+
title?: string | undefined;
|
|
1104
|
+
uri?: string | undefined;
|
|
1105
|
+
}>>;
|
|
1106
|
+
}, "strip", z.ZodTypeAny, {
|
|
1107
|
+
web?: {
|
|
1108
|
+
title?: string | undefined;
|
|
1109
|
+
uri?: string | undefined;
|
|
1110
|
+
} | undefined;
|
|
1111
|
+
}, {
|
|
1112
|
+
web?: {
|
|
1113
|
+
title?: string | undefined;
|
|
1114
|
+
uri?: string | undefined;
|
|
1115
|
+
} | undefined;
|
|
1116
|
+
}>;
|
|
1117
|
+
type GoogleGroundingChunkType = z.infer<typeof GoogleGroundingChunk>;
|
|
1118
|
+
declare const GoogleSegment: z.ZodObject<{
|
|
1119
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
1120
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
1121
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
}, "strip", z.ZodTypeAny, {
|
|
1123
|
+
text?: string | undefined;
|
|
1124
|
+
startIndex?: number | undefined;
|
|
1125
|
+
endIndex?: number | undefined;
|
|
1126
|
+
}, {
|
|
1127
|
+
text?: string | undefined;
|
|
1128
|
+
startIndex?: number | undefined;
|
|
1129
|
+
endIndex?: number | undefined;
|
|
1130
|
+
}>;
|
|
1131
|
+
type GoogleSegmentType = z.infer<typeof GoogleSegment>;
|
|
1132
|
+
declare const GoogleGroundingSupport: z.ZodObject<{
|
|
1133
|
+
segment: z.ZodOptional<z.ZodObject<{
|
|
1134
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
1135
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
1136
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
}, "strip", z.ZodTypeAny, {
|
|
1138
|
+
text?: string | undefined;
|
|
1139
|
+
startIndex?: number | undefined;
|
|
1140
|
+
endIndex?: number | undefined;
|
|
1141
|
+
}, {
|
|
1142
|
+
text?: string | undefined;
|
|
1143
|
+
startIndex?: number | undefined;
|
|
1144
|
+
endIndex?: number | undefined;
|
|
1145
|
+
}>>;
|
|
1146
|
+
groundingChunkIndices: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1147
|
+
confidenceScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1148
|
+
}, "strip", z.ZodTypeAny, {
|
|
1149
|
+
segment?: {
|
|
1150
|
+
text?: string | undefined;
|
|
1151
|
+
startIndex?: number | undefined;
|
|
1152
|
+
endIndex?: number | undefined;
|
|
1153
|
+
} | undefined;
|
|
1154
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1155
|
+
confidenceScores?: number[] | undefined;
|
|
1156
|
+
}, {
|
|
1157
|
+
segment?: {
|
|
1158
|
+
text?: string | undefined;
|
|
1159
|
+
startIndex?: number | undefined;
|
|
1160
|
+
endIndex?: number | undefined;
|
|
1161
|
+
} | undefined;
|
|
1162
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1163
|
+
confidenceScores?: number[] | undefined;
|
|
1164
|
+
}>;
|
|
1165
|
+
type GoogleGroundingSupportType = z.infer<typeof GoogleGroundingSupport>;
|
|
1166
|
+
declare const GoogleGroundingMetadata: z.ZodObject<{
|
|
1167
|
+
searchEntryPoint: z.ZodOptional<z.ZodObject<{
|
|
1168
|
+
renderedContent: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
}, "strip", z.ZodTypeAny, {
|
|
1170
|
+
renderedContent?: string | undefined;
|
|
1171
|
+
}, {
|
|
1172
|
+
renderedContent?: string | undefined;
|
|
1173
|
+
}>>;
|
|
1174
|
+
groundingChunks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1175
|
+
web: z.ZodOptional<z.ZodObject<{
|
|
1176
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1177
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1178
|
+
}, "strip", z.ZodTypeAny, {
|
|
1179
|
+
title?: string | undefined;
|
|
1180
|
+
uri?: string | undefined;
|
|
1181
|
+
}, {
|
|
1182
|
+
title?: string | undefined;
|
|
1183
|
+
uri?: string | undefined;
|
|
1184
|
+
}>>;
|
|
1185
|
+
}, "strip", z.ZodTypeAny, {
|
|
1186
|
+
web?: {
|
|
1187
|
+
title?: string | undefined;
|
|
1188
|
+
uri?: string | undefined;
|
|
1189
|
+
} | undefined;
|
|
1190
|
+
}, {
|
|
1191
|
+
web?: {
|
|
1192
|
+
title?: string | undefined;
|
|
1193
|
+
uri?: string | undefined;
|
|
1194
|
+
} | undefined;
|
|
1195
|
+
}>, "many">>;
|
|
1196
|
+
groundingSupports: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1197
|
+
segment: z.ZodOptional<z.ZodObject<{
|
|
1198
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
1199
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
1200
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1201
|
+
}, "strip", z.ZodTypeAny, {
|
|
1202
|
+
text?: string | undefined;
|
|
1203
|
+
startIndex?: number | undefined;
|
|
1204
|
+
endIndex?: number | undefined;
|
|
1205
|
+
}, {
|
|
1206
|
+
text?: string | undefined;
|
|
1207
|
+
startIndex?: number | undefined;
|
|
1208
|
+
endIndex?: number | undefined;
|
|
1209
|
+
}>>;
|
|
1210
|
+
groundingChunkIndices: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1211
|
+
confidenceScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1212
|
+
}, "strip", z.ZodTypeAny, {
|
|
1213
|
+
segment?: {
|
|
1214
|
+
text?: string | undefined;
|
|
1215
|
+
startIndex?: number | undefined;
|
|
1216
|
+
endIndex?: number | undefined;
|
|
1217
|
+
} | undefined;
|
|
1218
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1219
|
+
confidenceScores?: number[] | undefined;
|
|
1220
|
+
}, {
|
|
1221
|
+
segment?: {
|
|
1222
|
+
text?: string | undefined;
|
|
1223
|
+
startIndex?: number | undefined;
|
|
1224
|
+
endIndex?: number | undefined;
|
|
1225
|
+
} | undefined;
|
|
1226
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1227
|
+
confidenceScores?: number[] | undefined;
|
|
1228
|
+
}>, "many">>;
|
|
1229
|
+
webSearchQueries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1230
|
+
}, "strip", z.ZodTypeAny, {
|
|
1231
|
+
searchEntryPoint?: {
|
|
1232
|
+
renderedContent?: string | undefined;
|
|
1233
|
+
} | undefined;
|
|
1234
|
+
groundingChunks?: {
|
|
1235
|
+
web?: {
|
|
1236
|
+
title?: string | undefined;
|
|
1237
|
+
uri?: string | undefined;
|
|
1238
|
+
} | undefined;
|
|
1239
|
+
}[] | undefined;
|
|
1240
|
+
groundingSupports?: {
|
|
1241
|
+
segment?: {
|
|
1242
|
+
text?: string | undefined;
|
|
1243
|
+
startIndex?: number | undefined;
|
|
1244
|
+
endIndex?: number | undefined;
|
|
1245
|
+
} | undefined;
|
|
1246
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1247
|
+
confidenceScores?: number[] | undefined;
|
|
1248
|
+
}[] | undefined;
|
|
1249
|
+
webSearchQueries?: string[] | undefined;
|
|
1250
|
+
}, {
|
|
1251
|
+
searchEntryPoint?: {
|
|
1252
|
+
renderedContent?: string | undefined;
|
|
1253
|
+
} | undefined;
|
|
1254
|
+
groundingChunks?: {
|
|
1255
|
+
web?: {
|
|
1256
|
+
title?: string | undefined;
|
|
1257
|
+
uri?: string | undefined;
|
|
1258
|
+
} | undefined;
|
|
1259
|
+
}[] | undefined;
|
|
1260
|
+
groundingSupports?: {
|
|
1261
|
+
segment?: {
|
|
1262
|
+
text?: string | undefined;
|
|
1263
|
+
startIndex?: number | undefined;
|
|
1264
|
+
endIndex?: number | undefined;
|
|
1265
|
+
} | undefined;
|
|
1266
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1267
|
+
confidenceScores?: number[] | undefined;
|
|
1268
|
+
}[] | undefined;
|
|
1269
|
+
webSearchQueries?: string[] | undefined;
|
|
1270
|
+
}>;
|
|
1271
|
+
type GoogleGroundingMetadataType = z.infer<typeof GoogleGroundingMetadata>;
|
|
1006
1272
|
declare const GoogleCompleteChatTextResponse: z.ZodObject<{
|
|
1007
1273
|
text: z.ZodString;
|
|
1274
|
+
thought: z.ZodOptional<z.ZodBoolean>;
|
|
1008
1275
|
}, "strip", z.ZodTypeAny, {
|
|
1009
1276
|
text: string;
|
|
1277
|
+
thought?: boolean | undefined;
|
|
1010
1278
|
}, {
|
|
1011
1279
|
text: string;
|
|
1280
|
+
thought?: boolean | undefined;
|
|
1012
1281
|
}>;
|
|
1013
1282
|
declare const GoogleCompleteChatToolResponse: z.ZodObject<{
|
|
1014
1283
|
functionCall: z.ZodObject<{
|
|
@@ -1038,10 +1307,13 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1038
1307
|
role: z.ZodString;
|
|
1039
1308
|
parts: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1040
1309
|
text: z.ZodString;
|
|
1310
|
+
thought: z.ZodOptional<z.ZodBoolean>;
|
|
1041
1311
|
}, "strip", z.ZodTypeAny, {
|
|
1042
1312
|
text: string;
|
|
1313
|
+
thought?: boolean | undefined;
|
|
1043
1314
|
}, {
|
|
1044
1315
|
text: string;
|
|
1316
|
+
thought?: boolean | undefined;
|
|
1045
1317
|
}>, z.ZodObject<{
|
|
1046
1318
|
functionCall: z.ZodObject<{
|
|
1047
1319
|
name: z.ZodString;
|
|
@@ -1068,6 +1340,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1068
1340
|
role: string;
|
|
1069
1341
|
parts: ({
|
|
1070
1342
|
text: string;
|
|
1343
|
+
thought?: boolean | undefined;
|
|
1071
1344
|
} | {
|
|
1072
1345
|
functionCall: {
|
|
1073
1346
|
name: string;
|
|
@@ -1078,6 +1351,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1078
1351
|
role: string;
|
|
1079
1352
|
parts: ({
|
|
1080
1353
|
text: string;
|
|
1354
|
+
thought?: boolean | undefined;
|
|
1081
1355
|
} | {
|
|
1082
1356
|
functionCall: {
|
|
1083
1357
|
name: string;
|
|
@@ -1100,12 +1374,118 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1100
1374
|
probability: string;
|
|
1101
1375
|
blocked?: boolean | undefined;
|
|
1102
1376
|
}>, "many">>;
|
|
1377
|
+
groundingMetadata: z.ZodOptional<z.ZodObject<{
|
|
1378
|
+
searchEntryPoint: z.ZodOptional<z.ZodObject<{
|
|
1379
|
+
renderedContent: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
}, "strip", z.ZodTypeAny, {
|
|
1381
|
+
renderedContent?: string | undefined;
|
|
1382
|
+
}, {
|
|
1383
|
+
renderedContent?: string | undefined;
|
|
1384
|
+
}>>;
|
|
1385
|
+
groundingChunks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1386
|
+
web: z.ZodOptional<z.ZodObject<{
|
|
1387
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1389
|
+
}, "strip", z.ZodTypeAny, {
|
|
1390
|
+
title?: string | undefined;
|
|
1391
|
+
uri?: string | undefined;
|
|
1392
|
+
}, {
|
|
1393
|
+
title?: string | undefined;
|
|
1394
|
+
uri?: string | undefined;
|
|
1395
|
+
}>>;
|
|
1396
|
+
}, "strip", z.ZodTypeAny, {
|
|
1397
|
+
web?: {
|
|
1398
|
+
title?: string | undefined;
|
|
1399
|
+
uri?: string | undefined;
|
|
1400
|
+
} | undefined;
|
|
1401
|
+
}, {
|
|
1402
|
+
web?: {
|
|
1403
|
+
title?: string | undefined;
|
|
1404
|
+
uri?: string | undefined;
|
|
1405
|
+
} | undefined;
|
|
1406
|
+
}>, "many">>;
|
|
1407
|
+
groundingSupports: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1408
|
+
segment: z.ZodOptional<z.ZodObject<{
|
|
1409
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
1410
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
1411
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1412
|
+
}, "strip", z.ZodTypeAny, {
|
|
1413
|
+
text?: string | undefined;
|
|
1414
|
+
startIndex?: number | undefined;
|
|
1415
|
+
endIndex?: number | undefined;
|
|
1416
|
+
}, {
|
|
1417
|
+
text?: string | undefined;
|
|
1418
|
+
startIndex?: number | undefined;
|
|
1419
|
+
endIndex?: number | undefined;
|
|
1420
|
+
}>>;
|
|
1421
|
+
groundingChunkIndices: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1422
|
+
confidenceScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1423
|
+
}, "strip", z.ZodTypeAny, {
|
|
1424
|
+
segment?: {
|
|
1425
|
+
text?: string | undefined;
|
|
1426
|
+
startIndex?: number | undefined;
|
|
1427
|
+
endIndex?: number | undefined;
|
|
1428
|
+
} | undefined;
|
|
1429
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1430
|
+
confidenceScores?: number[] | undefined;
|
|
1431
|
+
}, {
|
|
1432
|
+
segment?: {
|
|
1433
|
+
text?: string | undefined;
|
|
1434
|
+
startIndex?: number | undefined;
|
|
1435
|
+
endIndex?: number | undefined;
|
|
1436
|
+
} | undefined;
|
|
1437
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1438
|
+
confidenceScores?: number[] | undefined;
|
|
1439
|
+
}>, "many">>;
|
|
1440
|
+
webSearchQueries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1441
|
+
}, "strip", z.ZodTypeAny, {
|
|
1442
|
+
searchEntryPoint?: {
|
|
1443
|
+
renderedContent?: string | undefined;
|
|
1444
|
+
} | undefined;
|
|
1445
|
+
groundingChunks?: {
|
|
1446
|
+
web?: {
|
|
1447
|
+
title?: string | undefined;
|
|
1448
|
+
uri?: string | undefined;
|
|
1449
|
+
} | undefined;
|
|
1450
|
+
}[] | undefined;
|
|
1451
|
+
groundingSupports?: {
|
|
1452
|
+
segment?: {
|
|
1453
|
+
text?: string | undefined;
|
|
1454
|
+
startIndex?: number | undefined;
|
|
1455
|
+
endIndex?: number | undefined;
|
|
1456
|
+
} | undefined;
|
|
1457
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1458
|
+
confidenceScores?: number[] | undefined;
|
|
1459
|
+
}[] | undefined;
|
|
1460
|
+
webSearchQueries?: string[] | undefined;
|
|
1461
|
+
}, {
|
|
1462
|
+
searchEntryPoint?: {
|
|
1463
|
+
renderedContent?: string | undefined;
|
|
1464
|
+
} | undefined;
|
|
1465
|
+
groundingChunks?: {
|
|
1466
|
+
web?: {
|
|
1467
|
+
title?: string | undefined;
|
|
1468
|
+
uri?: string | undefined;
|
|
1469
|
+
} | undefined;
|
|
1470
|
+
}[] | undefined;
|
|
1471
|
+
groundingSupports?: {
|
|
1472
|
+
segment?: {
|
|
1473
|
+
text?: string | undefined;
|
|
1474
|
+
startIndex?: number | undefined;
|
|
1475
|
+
endIndex?: number | undefined;
|
|
1476
|
+
} | undefined;
|
|
1477
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1478
|
+
confidenceScores?: number[] | undefined;
|
|
1479
|
+
}[] | undefined;
|
|
1480
|
+
webSearchQueries?: string[] | undefined;
|
|
1481
|
+
}>>;
|
|
1103
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1104
1483
|
finishReason: string;
|
|
1105
1484
|
content?: {
|
|
1106
1485
|
role: string;
|
|
1107
1486
|
parts: ({
|
|
1108
1487
|
text: string;
|
|
1488
|
+
thought?: boolean | undefined;
|
|
1109
1489
|
} | {
|
|
1110
1490
|
functionCall: {
|
|
1111
1491
|
name: string;
|
|
@@ -1119,12 +1499,34 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1119
1499
|
probability: string;
|
|
1120
1500
|
blocked?: boolean | undefined;
|
|
1121
1501
|
}[] | undefined;
|
|
1502
|
+
groundingMetadata?: {
|
|
1503
|
+
searchEntryPoint?: {
|
|
1504
|
+
renderedContent?: string | undefined;
|
|
1505
|
+
} | undefined;
|
|
1506
|
+
groundingChunks?: {
|
|
1507
|
+
web?: {
|
|
1508
|
+
title?: string | undefined;
|
|
1509
|
+
uri?: string | undefined;
|
|
1510
|
+
} | undefined;
|
|
1511
|
+
}[] | undefined;
|
|
1512
|
+
groundingSupports?: {
|
|
1513
|
+
segment?: {
|
|
1514
|
+
text?: string | undefined;
|
|
1515
|
+
startIndex?: number | undefined;
|
|
1516
|
+
endIndex?: number | undefined;
|
|
1517
|
+
} | undefined;
|
|
1518
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1519
|
+
confidenceScores?: number[] | undefined;
|
|
1520
|
+
}[] | undefined;
|
|
1521
|
+
webSearchQueries?: string[] | undefined;
|
|
1522
|
+
} | undefined;
|
|
1122
1523
|
}, {
|
|
1123
1524
|
finishReason: string;
|
|
1124
1525
|
content?: {
|
|
1125
1526
|
role: string;
|
|
1126
1527
|
parts: ({
|
|
1127
1528
|
text: string;
|
|
1529
|
+
thought?: boolean | undefined;
|
|
1128
1530
|
} | {
|
|
1129
1531
|
functionCall: {
|
|
1130
1532
|
name: string;
|
|
@@ -1138,6 +1540,27 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1138
1540
|
probability: string;
|
|
1139
1541
|
blocked?: boolean | undefined;
|
|
1140
1542
|
}[] | undefined;
|
|
1543
|
+
groundingMetadata?: {
|
|
1544
|
+
searchEntryPoint?: {
|
|
1545
|
+
renderedContent?: string | undefined;
|
|
1546
|
+
} | undefined;
|
|
1547
|
+
groundingChunks?: {
|
|
1548
|
+
web?: {
|
|
1549
|
+
title?: string | undefined;
|
|
1550
|
+
uri?: string | undefined;
|
|
1551
|
+
} | undefined;
|
|
1552
|
+
}[] | undefined;
|
|
1553
|
+
groundingSupports?: {
|
|
1554
|
+
segment?: {
|
|
1555
|
+
text?: string | undefined;
|
|
1556
|
+
startIndex?: number | undefined;
|
|
1557
|
+
endIndex?: number | undefined;
|
|
1558
|
+
} | undefined;
|
|
1559
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1560
|
+
confidenceScores?: number[] | undefined;
|
|
1561
|
+
}[] | undefined;
|
|
1562
|
+
webSearchQueries?: string[] | undefined;
|
|
1563
|
+
} | undefined;
|
|
1141
1564
|
}>, "many">;
|
|
1142
1565
|
promptFeedback: z.ZodOptional<z.ZodObject<{
|
|
1143
1566
|
safetyRatings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1184,6 +1607,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1184
1607
|
role: string;
|
|
1185
1608
|
parts: ({
|
|
1186
1609
|
text: string;
|
|
1610
|
+
thought?: boolean | undefined;
|
|
1187
1611
|
} | {
|
|
1188
1612
|
functionCall: {
|
|
1189
1613
|
name: string;
|
|
@@ -1197,6 +1621,27 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1197
1621
|
probability: string;
|
|
1198
1622
|
blocked?: boolean | undefined;
|
|
1199
1623
|
}[] | undefined;
|
|
1624
|
+
groundingMetadata?: {
|
|
1625
|
+
searchEntryPoint?: {
|
|
1626
|
+
renderedContent?: string | undefined;
|
|
1627
|
+
} | undefined;
|
|
1628
|
+
groundingChunks?: {
|
|
1629
|
+
web?: {
|
|
1630
|
+
title?: string | undefined;
|
|
1631
|
+
uri?: string | undefined;
|
|
1632
|
+
} | undefined;
|
|
1633
|
+
}[] | undefined;
|
|
1634
|
+
groundingSupports?: {
|
|
1635
|
+
segment?: {
|
|
1636
|
+
text?: string | undefined;
|
|
1637
|
+
startIndex?: number | undefined;
|
|
1638
|
+
endIndex?: number | undefined;
|
|
1639
|
+
} | undefined;
|
|
1640
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1641
|
+
confidenceScores?: number[] | undefined;
|
|
1642
|
+
}[] | undefined;
|
|
1643
|
+
webSearchQueries?: string[] | undefined;
|
|
1644
|
+
} | undefined;
|
|
1200
1645
|
}[];
|
|
1201
1646
|
promptFeedback?: {
|
|
1202
1647
|
safetyRatings?: {
|
|
@@ -1217,6 +1662,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1217
1662
|
role: string;
|
|
1218
1663
|
parts: ({
|
|
1219
1664
|
text: string;
|
|
1665
|
+
thought?: boolean | undefined;
|
|
1220
1666
|
} | {
|
|
1221
1667
|
functionCall: {
|
|
1222
1668
|
name: string;
|
|
@@ -1230,6 +1676,27 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1230
1676
|
probability: string;
|
|
1231
1677
|
blocked?: boolean | undefined;
|
|
1232
1678
|
}[] | undefined;
|
|
1679
|
+
groundingMetadata?: {
|
|
1680
|
+
searchEntryPoint?: {
|
|
1681
|
+
renderedContent?: string | undefined;
|
|
1682
|
+
} | undefined;
|
|
1683
|
+
groundingChunks?: {
|
|
1684
|
+
web?: {
|
|
1685
|
+
title?: string | undefined;
|
|
1686
|
+
uri?: string | undefined;
|
|
1687
|
+
} | undefined;
|
|
1688
|
+
}[] | undefined;
|
|
1689
|
+
groundingSupports?: {
|
|
1690
|
+
segment?: {
|
|
1691
|
+
text?: string | undefined;
|
|
1692
|
+
startIndex?: number | undefined;
|
|
1693
|
+
endIndex?: number | undefined;
|
|
1694
|
+
} | undefined;
|
|
1695
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1696
|
+
confidenceScores?: number[] | undefined;
|
|
1697
|
+
}[] | undefined;
|
|
1698
|
+
webSearchQueries?: string[] | undefined;
|
|
1699
|
+
} | undefined;
|
|
1233
1700
|
}[];
|
|
1234
1701
|
promptFeedback?: {
|
|
1235
1702
|
safetyRatings?: {
|
|
@@ -1247,10 +1714,13 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1247
1714
|
type GoogleCompleteChatResponseType = z.infer<typeof GoogleCompleteChatResponse>;
|
|
1248
1715
|
declare const GoogleStreamChatTextResponse: z.ZodObject<{
|
|
1249
1716
|
text: z.ZodString;
|
|
1717
|
+
thought: z.ZodOptional<z.ZodBoolean>;
|
|
1250
1718
|
}, "strip", z.ZodTypeAny, {
|
|
1251
1719
|
text: string;
|
|
1720
|
+
thought?: boolean | undefined;
|
|
1252
1721
|
}, {
|
|
1253
1722
|
text: string;
|
|
1723
|
+
thought?: boolean | undefined;
|
|
1254
1724
|
}>;
|
|
1255
1725
|
declare const GoogleStreamChatToolResponse: z.ZodObject<{
|
|
1256
1726
|
functionCall: z.ZodObject<{
|
|
@@ -1280,10 +1750,13 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1280
1750
|
role: z.ZodString;
|
|
1281
1751
|
parts: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1282
1752
|
text: z.ZodString;
|
|
1753
|
+
thought: z.ZodOptional<z.ZodBoolean>;
|
|
1283
1754
|
}, "strip", z.ZodTypeAny, {
|
|
1284
1755
|
text: string;
|
|
1756
|
+
thought?: boolean | undefined;
|
|
1285
1757
|
}, {
|
|
1286
1758
|
text: string;
|
|
1759
|
+
thought?: boolean | undefined;
|
|
1287
1760
|
}>, z.ZodObject<{
|
|
1288
1761
|
functionCall: z.ZodObject<{
|
|
1289
1762
|
name: z.ZodString;
|
|
@@ -1310,6 +1783,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1310
1783
|
role: string;
|
|
1311
1784
|
parts: ({
|
|
1312
1785
|
text: string;
|
|
1786
|
+
thought?: boolean | undefined;
|
|
1313
1787
|
} | {
|
|
1314
1788
|
functionCall: {
|
|
1315
1789
|
name: string;
|
|
@@ -1320,6 +1794,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1320
1794
|
role: string;
|
|
1321
1795
|
parts: ({
|
|
1322
1796
|
text: string;
|
|
1797
|
+
thought?: boolean | undefined;
|
|
1323
1798
|
} | {
|
|
1324
1799
|
functionCall: {
|
|
1325
1800
|
name: string;
|
|
@@ -1342,11 +1817,117 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1342
1817
|
probability: string;
|
|
1343
1818
|
blocked?: boolean | undefined;
|
|
1344
1819
|
}>, "many">>;
|
|
1820
|
+
groundingMetadata: z.ZodOptional<z.ZodObject<{
|
|
1821
|
+
searchEntryPoint: z.ZodOptional<z.ZodObject<{
|
|
1822
|
+
renderedContent: z.ZodOptional<z.ZodString>;
|
|
1823
|
+
}, "strip", z.ZodTypeAny, {
|
|
1824
|
+
renderedContent?: string | undefined;
|
|
1825
|
+
}, {
|
|
1826
|
+
renderedContent?: string | undefined;
|
|
1827
|
+
}>>;
|
|
1828
|
+
groundingChunks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1829
|
+
web: z.ZodOptional<z.ZodObject<{
|
|
1830
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1831
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1832
|
+
}, "strip", z.ZodTypeAny, {
|
|
1833
|
+
title?: string | undefined;
|
|
1834
|
+
uri?: string | undefined;
|
|
1835
|
+
}, {
|
|
1836
|
+
title?: string | undefined;
|
|
1837
|
+
uri?: string | undefined;
|
|
1838
|
+
}>>;
|
|
1839
|
+
}, "strip", z.ZodTypeAny, {
|
|
1840
|
+
web?: {
|
|
1841
|
+
title?: string | undefined;
|
|
1842
|
+
uri?: string | undefined;
|
|
1843
|
+
} | undefined;
|
|
1844
|
+
}, {
|
|
1845
|
+
web?: {
|
|
1846
|
+
title?: string | undefined;
|
|
1847
|
+
uri?: string | undefined;
|
|
1848
|
+
} | undefined;
|
|
1849
|
+
}>, "many">>;
|
|
1850
|
+
groundingSupports: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1851
|
+
segment: z.ZodOptional<z.ZodObject<{
|
|
1852
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
1853
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
1854
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1855
|
+
}, "strip", z.ZodTypeAny, {
|
|
1856
|
+
text?: string | undefined;
|
|
1857
|
+
startIndex?: number | undefined;
|
|
1858
|
+
endIndex?: number | undefined;
|
|
1859
|
+
}, {
|
|
1860
|
+
text?: string | undefined;
|
|
1861
|
+
startIndex?: number | undefined;
|
|
1862
|
+
endIndex?: number | undefined;
|
|
1863
|
+
}>>;
|
|
1864
|
+
groundingChunkIndices: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1865
|
+
confidenceScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1866
|
+
}, "strip", z.ZodTypeAny, {
|
|
1867
|
+
segment?: {
|
|
1868
|
+
text?: string | undefined;
|
|
1869
|
+
startIndex?: number | undefined;
|
|
1870
|
+
endIndex?: number | undefined;
|
|
1871
|
+
} | undefined;
|
|
1872
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1873
|
+
confidenceScores?: number[] | undefined;
|
|
1874
|
+
}, {
|
|
1875
|
+
segment?: {
|
|
1876
|
+
text?: string | undefined;
|
|
1877
|
+
startIndex?: number | undefined;
|
|
1878
|
+
endIndex?: number | undefined;
|
|
1879
|
+
} | undefined;
|
|
1880
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1881
|
+
confidenceScores?: number[] | undefined;
|
|
1882
|
+
}>, "many">>;
|
|
1883
|
+
webSearchQueries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1884
|
+
}, "strip", z.ZodTypeAny, {
|
|
1885
|
+
searchEntryPoint?: {
|
|
1886
|
+
renderedContent?: string | undefined;
|
|
1887
|
+
} | undefined;
|
|
1888
|
+
groundingChunks?: {
|
|
1889
|
+
web?: {
|
|
1890
|
+
title?: string | undefined;
|
|
1891
|
+
uri?: string | undefined;
|
|
1892
|
+
} | undefined;
|
|
1893
|
+
}[] | undefined;
|
|
1894
|
+
groundingSupports?: {
|
|
1895
|
+
segment?: {
|
|
1896
|
+
text?: string | undefined;
|
|
1897
|
+
startIndex?: number | undefined;
|
|
1898
|
+
endIndex?: number | undefined;
|
|
1899
|
+
} | undefined;
|
|
1900
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1901
|
+
confidenceScores?: number[] | undefined;
|
|
1902
|
+
}[] | undefined;
|
|
1903
|
+
webSearchQueries?: string[] | undefined;
|
|
1904
|
+
}, {
|
|
1905
|
+
searchEntryPoint?: {
|
|
1906
|
+
renderedContent?: string | undefined;
|
|
1907
|
+
} | undefined;
|
|
1908
|
+
groundingChunks?: {
|
|
1909
|
+
web?: {
|
|
1910
|
+
title?: string | undefined;
|
|
1911
|
+
uri?: string | undefined;
|
|
1912
|
+
} | undefined;
|
|
1913
|
+
}[] | undefined;
|
|
1914
|
+
groundingSupports?: {
|
|
1915
|
+
segment?: {
|
|
1916
|
+
text?: string | undefined;
|
|
1917
|
+
startIndex?: number | undefined;
|
|
1918
|
+
endIndex?: number | undefined;
|
|
1919
|
+
} | undefined;
|
|
1920
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1921
|
+
confidenceScores?: number[] | undefined;
|
|
1922
|
+
}[] | undefined;
|
|
1923
|
+
webSearchQueries?: string[] | undefined;
|
|
1924
|
+
}>>;
|
|
1345
1925
|
}, "strip", z.ZodTypeAny, {
|
|
1346
1926
|
content?: {
|
|
1347
1927
|
role: string;
|
|
1348
1928
|
parts: ({
|
|
1349
1929
|
text: string;
|
|
1930
|
+
thought?: boolean | undefined;
|
|
1350
1931
|
} | {
|
|
1351
1932
|
functionCall: {
|
|
1352
1933
|
name: string;
|
|
@@ -1361,11 +1942,33 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1361
1942
|
probability: string;
|
|
1362
1943
|
blocked?: boolean | undefined;
|
|
1363
1944
|
}[] | undefined;
|
|
1945
|
+
groundingMetadata?: {
|
|
1946
|
+
searchEntryPoint?: {
|
|
1947
|
+
renderedContent?: string | undefined;
|
|
1948
|
+
} | undefined;
|
|
1949
|
+
groundingChunks?: {
|
|
1950
|
+
web?: {
|
|
1951
|
+
title?: string | undefined;
|
|
1952
|
+
uri?: string | undefined;
|
|
1953
|
+
} | undefined;
|
|
1954
|
+
}[] | undefined;
|
|
1955
|
+
groundingSupports?: {
|
|
1956
|
+
segment?: {
|
|
1957
|
+
text?: string | undefined;
|
|
1958
|
+
startIndex?: number | undefined;
|
|
1959
|
+
endIndex?: number | undefined;
|
|
1960
|
+
} | undefined;
|
|
1961
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1962
|
+
confidenceScores?: number[] | undefined;
|
|
1963
|
+
}[] | undefined;
|
|
1964
|
+
webSearchQueries?: string[] | undefined;
|
|
1965
|
+
} | undefined;
|
|
1364
1966
|
}, {
|
|
1365
1967
|
content?: {
|
|
1366
1968
|
role: string;
|
|
1367
1969
|
parts: ({
|
|
1368
1970
|
text: string;
|
|
1971
|
+
thought?: boolean | undefined;
|
|
1369
1972
|
} | {
|
|
1370
1973
|
functionCall: {
|
|
1371
1974
|
name: string;
|
|
@@ -1380,6 +1983,27 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1380
1983
|
probability: string;
|
|
1381
1984
|
blocked?: boolean | undefined;
|
|
1382
1985
|
}[] | undefined;
|
|
1986
|
+
groundingMetadata?: {
|
|
1987
|
+
searchEntryPoint?: {
|
|
1988
|
+
renderedContent?: string | undefined;
|
|
1989
|
+
} | undefined;
|
|
1990
|
+
groundingChunks?: {
|
|
1991
|
+
web?: {
|
|
1992
|
+
title?: string | undefined;
|
|
1993
|
+
uri?: string | undefined;
|
|
1994
|
+
} | undefined;
|
|
1995
|
+
}[] | undefined;
|
|
1996
|
+
groundingSupports?: {
|
|
1997
|
+
segment?: {
|
|
1998
|
+
text?: string | undefined;
|
|
1999
|
+
startIndex?: number | undefined;
|
|
2000
|
+
endIndex?: number | undefined;
|
|
2001
|
+
} | undefined;
|
|
2002
|
+
groundingChunkIndices?: number[] | undefined;
|
|
2003
|
+
confidenceScores?: number[] | undefined;
|
|
2004
|
+
}[] | undefined;
|
|
2005
|
+
webSearchQueries?: string[] | undefined;
|
|
2006
|
+
} | undefined;
|
|
1383
2007
|
}>, "many">;
|
|
1384
2008
|
promptFeedback: z.ZodOptional<z.ZodObject<{
|
|
1385
2009
|
safetyRatings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1425,6 +2049,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1425
2049
|
role: string;
|
|
1426
2050
|
parts: ({
|
|
1427
2051
|
text: string;
|
|
2052
|
+
thought?: boolean | undefined;
|
|
1428
2053
|
} | {
|
|
1429
2054
|
functionCall: {
|
|
1430
2055
|
name: string;
|
|
@@ -1439,6 +2064,27 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1439
2064
|
probability: string;
|
|
1440
2065
|
blocked?: boolean | undefined;
|
|
1441
2066
|
}[] | undefined;
|
|
2067
|
+
groundingMetadata?: {
|
|
2068
|
+
searchEntryPoint?: {
|
|
2069
|
+
renderedContent?: string | undefined;
|
|
2070
|
+
} | undefined;
|
|
2071
|
+
groundingChunks?: {
|
|
2072
|
+
web?: {
|
|
2073
|
+
title?: string | undefined;
|
|
2074
|
+
uri?: string | undefined;
|
|
2075
|
+
} | undefined;
|
|
2076
|
+
}[] | undefined;
|
|
2077
|
+
groundingSupports?: {
|
|
2078
|
+
segment?: {
|
|
2079
|
+
text?: string | undefined;
|
|
2080
|
+
startIndex?: number | undefined;
|
|
2081
|
+
endIndex?: number | undefined;
|
|
2082
|
+
} | undefined;
|
|
2083
|
+
groundingChunkIndices?: number[] | undefined;
|
|
2084
|
+
confidenceScores?: number[] | undefined;
|
|
2085
|
+
}[] | undefined;
|
|
2086
|
+
webSearchQueries?: string[] | undefined;
|
|
2087
|
+
} | undefined;
|
|
1442
2088
|
}[];
|
|
1443
2089
|
promptFeedback?: {
|
|
1444
2090
|
safetyRatings?: {
|
|
@@ -1458,6 +2104,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1458
2104
|
role: string;
|
|
1459
2105
|
parts: ({
|
|
1460
2106
|
text: string;
|
|
2107
|
+
thought?: boolean | undefined;
|
|
1461
2108
|
} | {
|
|
1462
2109
|
functionCall: {
|
|
1463
2110
|
name: string;
|
|
@@ -1472,6 +2119,27 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1472
2119
|
probability: string;
|
|
1473
2120
|
blocked?: boolean | undefined;
|
|
1474
2121
|
}[] | undefined;
|
|
2122
|
+
groundingMetadata?: {
|
|
2123
|
+
searchEntryPoint?: {
|
|
2124
|
+
renderedContent?: string | undefined;
|
|
2125
|
+
} | undefined;
|
|
2126
|
+
groundingChunks?: {
|
|
2127
|
+
web?: {
|
|
2128
|
+
title?: string | undefined;
|
|
2129
|
+
uri?: string | undefined;
|
|
2130
|
+
} | undefined;
|
|
2131
|
+
}[] | undefined;
|
|
2132
|
+
groundingSupports?: {
|
|
2133
|
+
segment?: {
|
|
2134
|
+
text?: string | undefined;
|
|
2135
|
+
startIndex?: number | undefined;
|
|
2136
|
+
endIndex?: number | undefined;
|
|
2137
|
+
} | undefined;
|
|
2138
|
+
groundingChunkIndices?: number[] | undefined;
|
|
2139
|
+
confidenceScores?: number[] | undefined;
|
|
2140
|
+
}[] | undefined;
|
|
2141
|
+
webSearchQueries?: string[] | undefined;
|
|
2142
|
+
} | undefined;
|
|
1475
2143
|
}[];
|
|
1476
2144
|
promptFeedback?: {
|
|
1477
2145
|
safetyRatings?: {
|
|
@@ -1765,6 +2433,29 @@ declare const GoogleChatTool: z.ZodObject<{
|
|
|
1765
2433
|
parameters?: any;
|
|
1766
2434
|
}>;
|
|
1767
2435
|
type GoogleChatToolType = z.infer<typeof GoogleChatTool>;
|
|
2436
|
+
declare const GoogleChatGoogleSearchTool: z.ZodObject<{
|
|
2437
|
+
timeRangeFilter: z.ZodOptional<z.ZodObject<{
|
|
2438
|
+
startTime: z.ZodOptional<z.ZodString>;
|
|
2439
|
+
endTime: z.ZodOptional<z.ZodString>;
|
|
2440
|
+
}, "strip", z.ZodTypeAny, {
|
|
2441
|
+
startTime?: string | undefined;
|
|
2442
|
+
endTime?: string | undefined;
|
|
2443
|
+
}, {
|
|
2444
|
+
startTime?: string | undefined;
|
|
2445
|
+
endTime?: string | undefined;
|
|
2446
|
+
}>>;
|
|
2447
|
+
}, "strip", z.ZodTypeAny, {
|
|
2448
|
+
timeRangeFilter?: {
|
|
2449
|
+
startTime?: string | undefined;
|
|
2450
|
+
endTime?: string | undefined;
|
|
2451
|
+
} | undefined;
|
|
2452
|
+
}, {
|
|
2453
|
+
timeRangeFilter?: {
|
|
2454
|
+
startTime?: string | undefined;
|
|
2455
|
+
endTime?: string | undefined;
|
|
2456
|
+
} | undefined;
|
|
2457
|
+
}>;
|
|
2458
|
+
type GoogleChatGoogleSearchToolType = z.infer<typeof GoogleChatGoogleSearchTool>;
|
|
1768
2459
|
declare const GoogleChatToolConfig: z.ZodObject<{
|
|
1769
2460
|
function_calling_config: z.ZodObject<{
|
|
1770
2461
|
mode: z.ZodEnum<["ANY", "AUTO", "NONE"]>;
|
|
@@ -2098,18 +2789,52 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2098
2789
|
name: string;
|
|
2099
2790
|
parameters?: any;
|
|
2100
2791
|
}>, "many">;
|
|
2792
|
+
google_search: z.ZodOptional<z.ZodObject<{
|
|
2793
|
+
timeRangeFilter: z.ZodOptional<z.ZodObject<{
|
|
2794
|
+
startTime: z.ZodOptional<z.ZodString>;
|
|
2795
|
+
endTime: z.ZodOptional<z.ZodString>;
|
|
2796
|
+
}, "strip", z.ZodTypeAny, {
|
|
2797
|
+
startTime?: string | undefined;
|
|
2798
|
+
endTime?: string | undefined;
|
|
2799
|
+
}, {
|
|
2800
|
+
startTime?: string | undefined;
|
|
2801
|
+
endTime?: string | undefined;
|
|
2802
|
+
}>>;
|
|
2803
|
+
}, "strip", z.ZodTypeAny, {
|
|
2804
|
+
timeRangeFilter?: {
|
|
2805
|
+
startTime?: string | undefined;
|
|
2806
|
+
endTime?: string | undefined;
|
|
2807
|
+
} | undefined;
|
|
2808
|
+
}, {
|
|
2809
|
+
timeRangeFilter?: {
|
|
2810
|
+
startTime?: string | undefined;
|
|
2811
|
+
endTime?: string | undefined;
|
|
2812
|
+
} | undefined;
|
|
2813
|
+
}>>;
|
|
2101
2814
|
}, "strip", z.ZodTypeAny, {
|
|
2102
2815
|
function_declarations: {
|
|
2103
2816
|
description: string;
|
|
2104
2817
|
name: string;
|
|
2105
2818
|
parameters?: any;
|
|
2106
2819
|
}[];
|
|
2820
|
+
google_search?: {
|
|
2821
|
+
timeRangeFilter?: {
|
|
2822
|
+
startTime?: string | undefined;
|
|
2823
|
+
endTime?: string | undefined;
|
|
2824
|
+
} | undefined;
|
|
2825
|
+
} | undefined;
|
|
2107
2826
|
}, {
|
|
2108
2827
|
function_declarations: {
|
|
2109
2828
|
description: string;
|
|
2110
2829
|
name: string;
|
|
2111
2830
|
parameters?: any;
|
|
2112
2831
|
}[];
|
|
2832
|
+
google_search?: {
|
|
2833
|
+
timeRangeFilter?: {
|
|
2834
|
+
startTime?: string | undefined;
|
|
2835
|
+
endTime?: string | undefined;
|
|
2836
|
+
} | undefined;
|
|
2837
|
+
} | undefined;
|
|
2113
2838
|
}>>;
|
|
2114
2839
|
toolConfig: z.ZodOptional<z.ZodObject<{
|
|
2115
2840
|
function_calling_config: z.ZodObject<{
|
|
@@ -2227,6 +2952,12 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2227
2952
|
name: string;
|
|
2228
2953
|
parameters?: any;
|
|
2229
2954
|
}[];
|
|
2955
|
+
google_search?: {
|
|
2956
|
+
timeRangeFilter?: {
|
|
2957
|
+
startTime?: string | undefined;
|
|
2958
|
+
endTime?: string | undefined;
|
|
2959
|
+
} | undefined;
|
|
2960
|
+
} | undefined;
|
|
2230
2961
|
} | undefined;
|
|
2231
2962
|
toolConfig?: {
|
|
2232
2963
|
function_calling_config: {
|
|
@@ -2312,6 +3043,12 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2312
3043
|
name: string;
|
|
2313
3044
|
parameters?: any;
|
|
2314
3045
|
}[];
|
|
3046
|
+
google_search?: {
|
|
3047
|
+
timeRangeFilter?: {
|
|
3048
|
+
startTime?: string | undefined;
|
|
3049
|
+
endTime?: string | undefined;
|
|
3050
|
+
} | undefined;
|
|
3051
|
+
} | undefined;
|
|
2315
3052
|
} | undefined;
|
|
2316
3053
|
toolConfig?: {
|
|
2317
3054
|
function_calling_config: {
|
|
@@ -2379,7 +3116,7 @@ declare class BaseChatModel implements ChatModelV1<ChatModelSchemaType> {
|
|
|
2379
3116
|
* Google's Gemini API does not support this field in function parameters.
|
|
2380
3117
|
*/
|
|
2381
3118
|
private stripAdditionalProperties;
|
|
2382
|
-
transformTools(tools: ToolType[]): ParamsType;
|
|
3119
|
+
transformTools(tools: ToolType[], config?: ConfigType): ParamsType;
|
|
2383
3120
|
getCompleteChatUrl(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise<UrlType>;
|
|
2384
3121
|
getCompleteChatHeaders(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise<HeadersType>;
|
|
2385
3122
|
getCompleteChatData(config: ConfigType, messages: MessageType[], tools?: ToolType[]): Promise<ParamsType>;
|
|
@@ -2408,7 +3145,7 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
2408
3145
|
maxOutputTokens: number;
|
|
2409
3146
|
name: string;
|
|
2410
3147
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2411
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3148
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
2412
3149
|
maxInputTokens: number;
|
|
2413
3150
|
config: {
|
|
2414
3151
|
def: Record<string, {
|
|
@@ -2517,7 +3254,7 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
2517
3254
|
maxOutputTokens: number;
|
|
2518
3255
|
name: string;
|
|
2519
3256
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2520
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3257
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
2521
3258
|
maxInputTokens: number;
|
|
2522
3259
|
config: {
|
|
2523
3260
|
def: Record<string, {
|
|
@@ -2626,7 +3363,7 @@ declare const Gemini1_5FlashLatestSchema: {
|
|
|
2626
3363
|
maxOutputTokens: number;
|
|
2627
3364
|
name: string;
|
|
2628
3365
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2629
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3366
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
2630
3367
|
maxInputTokens: number;
|
|
2631
3368
|
config: {
|
|
2632
3369
|
def: Record<string, {
|
|
@@ -2735,7 +3472,7 @@ declare const Gemini1_5FlashSchema: {
|
|
|
2735
3472
|
maxOutputTokens: number;
|
|
2736
3473
|
name: string;
|
|
2737
3474
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2738
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3475
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
2739
3476
|
maxInputTokens: number;
|
|
2740
3477
|
config: {
|
|
2741
3478
|
def: Record<string, {
|
|
@@ -2844,7 +3581,7 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
2844
3581
|
maxOutputTokens: number;
|
|
2845
3582
|
name: string;
|
|
2846
3583
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2847
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3584
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
2848
3585
|
maxInputTokens: number;
|
|
2849
3586
|
config: {
|
|
2850
3587
|
def: Record<string, {
|
|
@@ -2953,7 +3690,7 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
2953
3690
|
maxOutputTokens: number;
|
|
2954
3691
|
name: string;
|
|
2955
3692
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
2956
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3693
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
2957
3694
|
maxInputTokens: number;
|
|
2958
3695
|
config: {
|
|
2959
3696
|
def: Record<string, {
|
|
@@ -3062,7 +3799,7 @@ declare const Gemini1_5ProLatestSchema: {
|
|
|
3062
3799
|
maxOutputTokens: number;
|
|
3063
3800
|
name: string;
|
|
3064
3801
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3065
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3802
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3066
3803
|
maxInputTokens: number;
|
|
3067
3804
|
config: {
|
|
3068
3805
|
def: Record<string, {
|
|
@@ -3171,7 +3908,7 @@ declare const Gemini1_5ProSchema: {
|
|
|
3171
3908
|
maxOutputTokens: number;
|
|
3172
3909
|
name: string;
|
|
3173
3910
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3174
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3911
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3175
3912
|
maxInputTokens: number;
|
|
3176
3913
|
config: {
|
|
3177
3914
|
def: Record<string, {
|
|
@@ -3280,7 +4017,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
3280
4017
|
maxOutputTokens: number;
|
|
3281
4018
|
name: string;
|
|
3282
4019
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3283
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4020
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3284
4021
|
maxInputTokens: number;
|
|
3285
4022
|
config: {
|
|
3286
4023
|
def: Record<string, {
|
|
@@ -3389,7 +4126,7 @@ declare const Gemini2_0FlashSchema: {
|
|
|
3389
4126
|
maxOutputTokens: number;
|
|
3390
4127
|
name: string;
|
|
3391
4128
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3392
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4129
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3393
4130
|
maxInputTokens: number;
|
|
3394
4131
|
config: {
|
|
3395
4132
|
def: Record<string, {
|
|
@@ -3498,7 +4235,7 @@ declare const Gemini2_5FlashLiteSchema: {
|
|
|
3498
4235
|
maxOutputTokens: number;
|
|
3499
4236
|
name: string;
|
|
3500
4237
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3501
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4238
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3502
4239
|
maxInputTokens: number;
|
|
3503
4240
|
config: {
|
|
3504
4241
|
def: Record<string, {
|
|
@@ -3607,7 +4344,7 @@ declare const Gemini2_5FlashPreview0417Schema: {
|
|
|
3607
4344
|
maxOutputTokens: number;
|
|
3608
4345
|
name: string;
|
|
3609
4346
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3610
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4347
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3611
4348
|
maxInputTokens: number;
|
|
3612
4349
|
config: {
|
|
3613
4350
|
def: Record<string, {
|
|
@@ -3716,7 +4453,7 @@ declare const Gemini2_5FlashSchema: {
|
|
|
3716
4453
|
maxOutputTokens: number;
|
|
3717
4454
|
name: string;
|
|
3718
4455
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3719
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4456
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3720
4457
|
maxInputTokens: number;
|
|
3721
4458
|
config: {
|
|
3722
4459
|
def: Record<string, {
|
|
@@ -3825,7 +4562,7 @@ declare const Gemini2_5ProPreview0325Schema: {
|
|
|
3825
4562
|
maxOutputTokens: number;
|
|
3826
4563
|
name: string;
|
|
3827
4564
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3828
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4565
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3829
4566
|
maxInputTokens: number;
|
|
3830
4567
|
config: {
|
|
3831
4568
|
def: Record<string, {
|
|
@@ -3934,7 +4671,7 @@ declare const Gemini2_5ProSchema: {
|
|
|
3934
4671
|
maxOutputTokens: number;
|
|
3935
4672
|
name: string;
|
|
3936
4673
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3937
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4674
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3938
4675
|
maxInputTokens: number;
|
|
3939
4676
|
config: {
|
|
3940
4677
|
def: Record<string, {
|
|
@@ -4043,7 +4780,7 @@ declare const Gemini3FlashPreviewSchema: {
|
|
|
4043
4780
|
maxOutputTokens: number;
|
|
4044
4781
|
name: string;
|
|
4045
4782
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4046
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4783
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4047
4784
|
maxInputTokens: number;
|
|
4048
4785
|
config: {
|
|
4049
4786
|
def: Record<string, {
|
|
@@ -4152,7 +4889,7 @@ declare const Gemini3ProPreviewSchema: {
|
|
|
4152
4889
|
maxOutputTokens: number;
|
|
4153
4890
|
name: string;
|
|
4154
4891
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4155
|
-
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4892
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4156
4893
|
maxInputTokens: number;
|
|
4157
4894
|
config: {
|
|
4158
4895
|
def: Record<string, {
|
|
@@ -4615,4 +5352,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
4615
5352
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
4616
5353
|
}
|
|
4617
5354
|
|
|
4618
|
-
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, 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, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, 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, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|
|
5355
|
+
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, 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, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatGoogleSearchTool, type GoogleChatGoogleSearchToolType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, 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, GoogleGroundingChunk, type GoogleGroundingChunkType, type GoogleGroundingChunkWebType, GoogleGroundingMetadata, type GoogleGroundingMetadataType, GoogleGroundingSupport, type GoogleGroundingSupportType, GoogleSearchEntryPoint, type GoogleSearchEntryPointType, type GoogleSegmentType, 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, googleSearchTool, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|