@adaline/google 1.12.1 → 1.13.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 +824 -2
- package/dist/index.d.ts +824 -2
- package/dist/index.js +159 -149
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- 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;
|
|
@@ -1003,6 +1073,202 @@ 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;
|
|
1008
1274
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1100,6 +1366,111 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1100
1366
|
probability: string;
|
|
1101
1367
|
blocked?: boolean | undefined;
|
|
1102
1368
|
}>, "many">>;
|
|
1369
|
+
groundingMetadata: z.ZodOptional<z.ZodObject<{
|
|
1370
|
+
searchEntryPoint: z.ZodOptional<z.ZodObject<{
|
|
1371
|
+
renderedContent: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
}, "strip", z.ZodTypeAny, {
|
|
1373
|
+
renderedContent?: string | undefined;
|
|
1374
|
+
}, {
|
|
1375
|
+
renderedContent?: string | undefined;
|
|
1376
|
+
}>>;
|
|
1377
|
+
groundingChunks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1378
|
+
web: z.ZodOptional<z.ZodObject<{
|
|
1379
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
}, "strip", z.ZodTypeAny, {
|
|
1382
|
+
title?: string | undefined;
|
|
1383
|
+
uri?: string | undefined;
|
|
1384
|
+
}, {
|
|
1385
|
+
title?: string | undefined;
|
|
1386
|
+
uri?: string | undefined;
|
|
1387
|
+
}>>;
|
|
1388
|
+
}, "strip", z.ZodTypeAny, {
|
|
1389
|
+
web?: {
|
|
1390
|
+
title?: string | undefined;
|
|
1391
|
+
uri?: string | undefined;
|
|
1392
|
+
} | undefined;
|
|
1393
|
+
}, {
|
|
1394
|
+
web?: {
|
|
1395
|
+
title?: string | undefined;
|
|
1396
|
+
uri?: string | undefined;
|
|
1397
|
+
} | undefined;
|
|
1398
|
+
}>, "many">>;
|
|
1399
|
+
groundingSupports: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1400
|
+
segment: z.ZodOptional<z.ZodObject<{
|
|
1401
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
1402
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
1403
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1404
|
+
}, "strip", z.ZodTypeAny, {
|
|
1405
|
+
text?: string | undefined;
|
|
1406
|
+
startIndex?: number | undefined;
|
|
1407
|
+
endIndex?: number | undefined;
|
|
1408
|
+
}, {
|
|
1409
|
+
text?: string | undefined;
|
|
1410
|
+
startIndex?: number | undefined;
|
|
1411
|
+
endIndex?: number | undefined;
|
|
1412
|
+
}>>;
|
|
1413
|
+
groundingChunkIndices: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1414
|
+
confidenceScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1415
|
+
}, "strip", z.ZodTypeAny, {
|
|
1416
|
+
segment?: {
|
|
1417
|
+
text?: string | undefined;
|
|
1418
|
+
startIndex?: number | undefined;
|
|
1419
|
+
endIndex?: number | undefined;
|
|
1420
|
+
} | undefined;
|
|
1421
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1422
|
+
confidenceScores?: number[] | undefined;
|
|
1423
|
+
}, {
|
|
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
|
+
}>, "many">>;
|
|
1432
|
+
webSearchQueries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1433
|
+
}, "strip", z.ZodTypeAny, {
|
|
1434
|
+
searchEntryPoint?: {
|
|
1435
|
+
renderedContent?: string | undefined;
|
|
1436
|
+
} | undefined;
|
|
1437
|
+
groundingChunks?: {
|
|
1438
|
+
web?: {
|
|
1439
|
+
title?: string | undefined;
|
|
1440
|
+
uri?: string | undefined;
|
|
1441
|
+
} | undefined;
|
|
1442
|
+
}[] | undefined;
|
|
1443
|
+
groundingSupports?: {
|
|
1444
|
+
segment?: {
|
|
1445
|
+
text?: string | undefined;
|
|
1446
|
+
startIndex?: number | undefined;
|
|
1447
|
+
endIndex?: number | undefined;
|
|
1448
|
+
} | undefined;
|
|
1449
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1450
|
+
confidenceScores?: number[] | undefined;
|
|
1451
|
+
}[] | undefined;
|
|
1452
|
+
webSearchQueries?: string[] | undefined;
|
|
1453
|
+
}, {
|
|
1454
|
+
searchEntryPoint?: {
|
|
1455
|
+
renderedContent?: string | undefined;
|
|
1456
|
+
} | undefined;
|
|
1457
|
+
groundingChunks?: {
|
|
1458
|
+
web?: {
|
|
1459
|
+
title?: string | undefined;
|
|
1460
|
+
uri?: string | undefined;
|
|
1461
|
+
} | undefined;
|
|
1462
|
+
}[] | undefined;
|
|
1463
|
+
groundingSupports?: {
|
|
1464
|
+
segment?: {
|
|
1465
|
+
text?: string | undefined;
|
|
1466
|
+
startIndex?: number | undefined;
|
|
1467
|
+
endIndex?: number | undefined;
|
|
1468
|
+
} | undefined;
|
|
1469
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1470
|
+
confidenceScores?: number[] | undefined;
|
|
1471
|
+
}[] | undefined;
|
|
1472
|
+
webSearchQueries?: string[] | undefined;
|
|
1473
|
+
}>>;
|
|
1103
1474
|
}, "strip", z.ZodTypeAny, {
|
|
1104
1475
|
finishReason: string;
|
|
1105
1476
|
content?: {
|
|
@@ -1119,6 +1490,27 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1119
1490
|
probability: string;
|
|
1120
1491
|
blocked?: boolean | undefined;
|
|
1121
1492
|
}[] | undefined;
|
|
1493
|
+
groundingMetadata?: {
|
|
1494
|
+
searchEntryPoint?: {
|
|
1495
|
+
renderedContent?: string | undefined;
|
|
1496
|
+
} | undefined;
|
|
1497
|
+
groundingChunks?: {
|
|
1498
|
+
web?: {
|
|
1499
|
+
title?: string | undefined;
|
|
1500
|
+
uri?: string | undefined;
|
|
1501
|
+
} | undefined;
|
|
1502
|
+
}[] | undefined;
|
|
1503
|
+
groundingSupports?: {
|
|
1504
|
+
segment?: {
|
|
1505
|
+
text?: string | undefined;
|
|
1506
|
+
startIndex?: number | undefined;
|
|
1507
|
+
endIndex?: number | undefined;
|
|
1508
|
+
} | undefined;
|
|
1509
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1510
|
+
confidenceScores?: number[] | undefined;
|
|
1511
|
+
}[] | undefined;
|
|
1512
|
+
webSearchQueries?: string[] | undefined;
|
|
1513
|
+
} | undefined;
|
|
1122
1514
|
}, {
|
|
1123
1515
|
finishReason: string;
|
|
1124
1516
|
content?: {
|
|
@@ -1138,6 +1530,27 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1138
1530
|
probability: string;
|
|
1139
1531
|
blocked?: boolean | undefined;
|
|
1140
1532
|
}[] | undefined;
|
|
1533
|
+
groundingMetadata?: {
|
|
1534
|
+
searchEntryPoint?: {
|
|
1535
|
+
renderedContent?: string | undefined;
|
|
1536
|
+
} | undefined;
|
|
1537
|
+
groundingChunks?: {
|
|
1538
|
+
web?: {
|
|
1539
|
+
title?: string | undefined;
|
|
1540
|
+
uri?: string | undefined;
|
|
1541
|
+
} | undefined;
|
|
1542
|
+
}[] | undefined;
|
|
1543
|
+
groundingSupports?: {
|
|
1544
|
+
segment?: {
|
|
1545
|
+
text?: string | undefined;
|
|
1546
|
+
startIndex?: number | undefined;
|
|
1547
|
+
endIndex?: number | undefined;
|
|
1548
|
+
} | undefined;
|
|
1549
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1550
|
+
confidenceScores?: number[] | undefined;
|
|
1551
|
+
}[] | undefined;
|
|
1552
|
+
webSearchQueries?: string[] | undefined;
|
|
1553
|
+
} | undefined;
|
|
1141
1554
|
}>, "many">;
|
|
1142
1555
|
promptFeedback: z.ZodOptional<z.ZodObject<{
|
|
1143
1556
|
safetyRatings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1197,6 +1610,27 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1197
1610
|
probability: string;
|
|
1198
1611
|
blocked?: boolean | undefined;
|
|
1199
1612
|
}[] | undefined;
|
|
1613
|
+
groundingMetadata?: {
|
|
1614
|
+
searchEntryPoint?: {
|
|
1615
|
+
renderedContent?: string | undefined;
|
|
1616
|
+
} | undefined;
|
|
1617
|
+
groundingChunks?: {
|
|
1618
|
+
web?: {
|
|
1619
|
+
title?: string | undefined;
|
|
1620
|
+
uri?: string | undefined;
|
|
1621
|
+
} | undefined;
|
|
1622
|
+
}[] | undefined;
|
|
1623
|
+
groundingSupports?: {
|
|
1624
|
+
segment?: {
|
|
1625
|
+
text?: string | undefined;
|
|
1626
|
+
startIndex?: number | undefined;
|
|
1627
|
+
endIndex?: number | undefined;
|
|
1628
|
+
} | undefined;
|
|
1629
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1630
|
+
confidenceScores?: number[] | undefined;
|
|
1631
|
+
}[] | undefined;
|
|
1632
|
+
webSearchQueries?: string[] | undefined;
|
|
1633
|
+
} | undefined;
|
|
1200
1634
|
}[];
|
|
1201
1635
|
promptFeedback?: {
|
|
1202
1636
|
safetyRatings?: {
|
|
@@ -1230,6 +1664,27 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1230
1664
|
probability: string;
|
|
1231
1665
|
blocked?: boolean | undefined;
|
|
1232
1666
|
}[] | undefined;
|
|
1667
|
+
groundingMetadata?: {
|
|
1668
|
+
searchEntryPoint?: {
|
|
1669
|
+
renderedContent?: string | undefined;
|
|
1670
|
+
} | undefined;
|
|
1671
|
+
groundingChunks?: {
|
|
1672
|
+
web?: {
|
|
1673
|
+
title?: string | undefined;
|
|
1674
|
+
uri?: string | undefined;
|
|
1675
|
+
} | undefined;
|
|
1676
|
+
}[] | undefined;
|
|
1677
|
+
groundingSupports?: {
|
|
1678
|
+
segment?: {
|
|
1679
|
+
text?: string | undefined;
|
|
1680
|
+
startIndex?: number | undefined;
|
|
1681
|
+
endIndex?: number | undefined;
|
|
1682
|
+
} | undefined;
|
|
1683
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1684
|
+
confidenceScores?: number[] | undefined;
|
|
1685
|
+
}[] | undefined;
|
|
1686
|
+
webSearchQueries?: string[] | undefined;
|
|
1687
|
+
} | undefined;
|
|
1233
1688
|
}[];
|
|
1234
1689
|
promptFeedback?: {
|
|
1235
1690
|
safetyRatings?: {
|
|
@@ -1342,6 +1797,111 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1342
1797
|
probability: string;
|
|
1343
1798
|
blocked?: boolean | undefined;
|
|
1344
1799
|
}>, "many">>;
|
|
1800
|
+
groundingMetadata: z.ZodOptional<z.ZodObject<{
|
|
1801
|
+
searchEntryPoint: z.ZodOptional<z.ZodObject<{
|
|
1802
|
+
renderedContent: z.ZodOptional<z.ZodString>;
|
|
1803
|
+
}, "strip", z.ZodTypeAny, {
|
|
1804
|
+
renderedContent?: string | undefined;
|
|
1805
|
+
}, {
|
|
1806
|
+
renderedContent?: string | undefined;
|
|
1807
|
+
}>>;
|
|
1808
|
+
groundingChunks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1809
|
+
web: z.ZodOptional<z.ZodObject<{
|
|
1810
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1811
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1812
|
+
}, "strip", z.ZodTypeAny, {
|
|
1813
|
+
title?: string | undefined;
|
|
1814
|
+
uri?: string | undefined;
|
|
1815
|
+
}, {
|
|
1816
|
+
title?: string | undefined;
|
|
1817
|
+
uri?: string | undefined;
|
|
1818
|
+
}>>;
|
|
1819
|
+
}, "strip", z.ZodTypeAny, {
|
|
1820
|
+
web?: {
|
|
1821
|
+
title?: string | undefined;
|
|
1822
|
+
uri?: string | undefined;
|
|
1823
|
+
} | undefined;
|
|
1824
|
+
}, {
|
|
1825
|
+
web?: {
|
|
1826
|
+
title?: string | undefined;
|
|
1827
|
+
uri?: string | undefined;
|
|
1828
|
+
} | undefined;
|
|
1829
|
+
}>, "many">>;
|
|
1830
|
+
groundingSupports: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1831
|
+
segment: z.ZodOptional<z.ZodObject<{
|
|
1832
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
1833
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
1834
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1835
|
+
}, "strip", z.ZodTypeAny, {
|
|
1836
|
+
text?: string | undefined;
|
|
1837
|
+
startIndex?: number | undefined;
|
|
1838
|
+
endIndex?: number | undefined;
|
|
1839
|
+
}, {
|
|
1840
|
+
text?: string | undefined;
|
|
1841
|
+
startIndex?: number | undefined;
|
|
1842
|
+
endIndex?: number | undefined;
|
|
1843
|
+
}>>;
|
|
1844
|
+
groundingChunkIndices: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1845
|
+
confidenceScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1846
|
+
}, "strip", z.ZodTypeAny, {
|
|
1847
|
+
segment?: {
|
|
1848
|
+
text?: string | undefined;
|
|
1849
|
+
startIndex?: number | undefined;
|
|
1850
|
+
endIndex?: number | undefined;
|
|
1851
|
+
} | undefined;
|
|
1852
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1853
|
+
confidenceScores?: number[] | undefined;
|
|
1854
|
+
}, {
|
|
1855
|
+
segment?: {
|
|
1856
|
+
text?: string | undefined;
|
|
1857
|
+
startIndex?: number | undefined;
|
|
1858
|
+
endIndex?: number | undefined;
|
|
1859
|
+
} | undefined;
|
|
1860
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1861
|
+
confidenceScores?: number[] | undefined;
|
|
1862
|
+
}>, "many">>;
|
|
1863
|
+
webSearchQueries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1864
|
+
}, "strip", z.ZodTypeAny, {
|
|
1865
|
+
searchEntryPoint?: {
|
|
1866
|
+
renderedContent?: string | undefined;
|
|
1867
|
+
} | undefined;
|
|
1868
|
+
groundingChunks?: {
|
|
1869
|
+
web?: {
|
|
1870
|
+
title?: string | undefined;
|
|
1871
|
+
uri?: string | undefined;
|
|
1872
|
+
} | undefined;
|
|
1873
|
+
}[] | undefined;
|
|
1874
|
+
groundingSupports?: {
|
|
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
|
+
}[] | undefined;
|
|
1883
|
+
webSearchQueries?: string[] | undefined;
|
|
1884
|
+
}, {
|
|
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
|
+
}>>;
|
|
1345
1905
|
}, "strip", z.ZodTypeAny, {
|
|
1346
1906
|
content?: {
|
|
1347
1907
|
role: string;
|
|
@@ -1361,6 +1921,27 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1361
1921
|
probability: string;
|
|
1362
1922
|
blocked?: boolean | undefined;
|
|
1363
1923
|
}[] | undefined;
|
|
1924
|
+
groundingMetadata?: {
|
|
1925
|
+
searchEntryPoint?: {
|
|
1926
|
+
renderedContent?: string | undefined;
|
|
1927
|
+
} | undefined;
|
|
1928
|
+
groundingChunks?: {
|
|
1929
|
+
web?: {
|
|
1930
|
+
title?: string | undefined;
|
|
1931
|
+
uri?: string | undefined;
|
|
1932
|
+
} | undefined;
|
|
1933
|
+
}[] | undefined;
|
|
1934
|
+
groundingSupports?: {
|
|
1935
|
+
segment?: {
|
|
1936
|
+
text?: string | undefined;
|
|
1937
|
+
startIndex?: number | undefined;
|
|
1938
|
+
endIndex?: number | undefined;
|
|
1939
|
+
} | undefined;
|
|
1940
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1941
|
+
confidenceScores?: number[] | undefined;
|
|
1942
|
+
}[] | undefined;
|
|
1943
|
+
webSearchQueries?: string[] | undefined;
|
|
1944
|
+
} | undefined;
|
|
1364
1945
|
}, {
|
|
1365
1946
|
content?: {
|
|
1366
1947
|
role: string;
|
|
@@ -1380,6 +1961,27 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1380
1961
|
probability: string;
|
|
1381
1962
|
blocked?: boolean | undefined;
|
|
1382
1963
|
}[] | undefined;
|
|
1964
|
+
groundingMetadata?: {
|
|
1965
|
+
searchEntryPoint?: {
|
|
1966
|
+
renderedContent?: string | undefined;
|
|
1967
|
+
} | undefined;
|
|
1968
|
+
groundingChunks?: {
|
|
1969
|
+
web?: {
|
|
1970
|
+
title?: string | undefined;
|
|
1971
|
+
uri?: string | undefined;
|
|
1972
|
+
} | undefined;
|
|
1973
|
+
}[] | undefined;
|
|
1974
|
+
groundingSupports?: {
|
|
1975
|
+
segment?: {
|
|
1976
|
+
text?: string | undefined;
|
|
1977
|
+
startIndex?: number | undefined;
|
|
1978
|
+
endIndex?: number | undefined;
|
|
1979
|
+
} | undefined;
|
|
1980
|
+
groundingChunkIndices?: number[] | undefined;
|
|
1981
|
+
confidenceScores?: number[] | undefined;
|
|
1982
|
+
}[] | undefined;
|
|
1983
|
+
webSearchQueries?: string[] | undefined;
|
|
1984
|
+
} | undefined;
|
|
1383
1985
|
}>, "many">;
|
|
1384
1986
|
promptFeedback: z.ZodOptional<z.ZodObject<{
|
|
1385
1987
|
safetyRatings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1439,6 +2041,27 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1439
2041
|
probability: string;
|
|
1440
2042
|
blocked?: boolean | undefined;
|
|
1441
2043
|
}[] | undefined;
|
|
2044
|
+
groundingMetadata?: {
|
|
2045
|
+
searchEntryPoint?: {
|
|
2046
|
+
renderedContent?: string | undefined;
|
|
2047
|
+
} | undefined;
|
|
2048
|
+
groundingChunks?: {
|
|
2049
|
+
web?: {
|
|
2050
|
+
title?: string | undefined;
|
|
2051
|
+
uri?: string | undefined;
|
|
2052
|
+
} | undefined;
|
|
2053
|
+
}[] | undefined;
|
|
2054
|
+
groundingSupports?: {
|
|
2055
|
+
segment?: {
|
|
2056
|
+
text?: string | undefined;
|
|
2057
|
+
startIndex?: number | undefined;
|
|
2058
|
+
endIndex?: number | undefined;
|
|
2059
|
+
} | undefined;
|
|
2060
|
+
groundingChunkIndices?: number[] | undefined;
|
|
2061
|
+
confidenceScores?: number[] | undefined;
|
|
2062
|
+
}[] | undefined;
|
|
2063
|
+
webSearchQueries?: string[] | undefined;
|
|
2064
|
+
} | undefined;
|
|
1442
2065
|
}[];
|
|
1443
2066
|
promptFeedback?: {
|
|
1444
2067
|
safetyRatings?: {
|
|
@@ -1472,6 +2095,27 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1472
2095
|
probability: string;
|
|
1473
2096
|
blocked?: boolean | undefined;
|
|
1474
2097
|
}[] | undefined;
|
|
2098
|
+
groundingMetadata?: {
|
|
2099
|
+
searchEntryPoint?: {
|
|
2100
|
+
renderedContent?: string | undefined;
|
|
2101
|
+
} | undefined;
|
|
2102
|
+
groundingChunks?: {
|
|
2103
|
+
web?: {
|
|
2104
|
+
title?: string | undefined;
|
|
2105
|
+
uri?: string | undefined;
|
|
2106
|
+
} | undefined;
|
|
2107
|
+
}[] | undefined;
|
|
2108
|
+
groundingSupports?: {
|
|
2109
|
+
segment?: {
|
|
2110
|
+
text?: string | undefined;
|
|
2111
|
+
startIndex?: number | undefined;
|
|
2112
|
+
endIndex?: number | undefined;
|
|
2113
|
+
} | undefined;
|
|
2114
|
+
groundingChunkIndices?: number[] | undefined;
|
|
2115
|
+
confidenceScores?: number[] | undefined;
|
|
2116
|
+
}[] | undefined;
|
|
2117
|
+
webSearchQueries?: string[] | undefined;
|
|
2118
|
+
} | undefined;
|
|
1475
2119
|
}[];
|
|
1476
2120
|
promptFeedback?: {
|
|
1477
2121
|
safetyRatings?: {
|
|
@@ -1765,6 +2409,29 @@ declare const GoogleChatTool: z.ZodObject<{
|
|
|
1765
2409
|
parameters?: any;
|
|
1766
2410
|
}>;
|
|
1767
2411
|
type GoogleChatToolType = z.infer<typeof GoogleChatTool>;
|
|
2412
|
+
declare const GoogleChatGoogleSearchTool: z.ZodObject<{
|
|
2413
|
+
timeRangeFilter: z.ZodOptional<z.ZodObject<{
|
|
2414
|
+
startTime: z.ZodOptional<z.ZodString>;
|
|
2415
|
+
endTime: z.ZodOptional<z.ZodString>;
|
|
2416
|
+
}, "strip", z.ZodTypeAny, {
|
|
2417
|
+
startTime?: string | undefined;
|
|
2418
|
+
endTime?: string | undefined;
|
|
2419
|
+
}, {
|
|
2420
|
+
startTime?: string | undefined;
|
|
2421
|
+
endTime?: string | undefined;
|
|
2422
|
+
}>>;
|
|
2423
|
+
}, "strip", z.ZodTypeAny, {
|
|
2424
|
+
timeRangeFilter?: {
|
|
2425
|
+
startTime?: string | undefined;
|
|
2426
|
+
endTime?: string | undefined;
|
|
2427
|
+
} | undefined;
|
|
2428
|
+
}, {
|
|
2429
|
+
timeRangeFilter?: {
|
|
2430
|
+
startTime?: string | undefined;
|
|
2431
|
+
endTime?: string | undefined;
|
|
2432
|
+
} | undefined;
|
|
2433
|
+
}>;
|
|
2434
|
+
type GoogleChatGoogleSearchToolType = z.infer<typeof GoogleChatGoogleSearchTool>;
|
|
1768
2435
|
declare const GoogleChatToolConfig: z.ZodObject<{
|
|
1769
2436
|
function_calling_config: z.ZodObject<{
|
|
1770
2437
|
mode: z.ZodEnum<["ANY", "AUTO", "NONE"]>;
|
|
@@ -2098,18 +2765,52 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2098
2765
|
name: string;
|
|
2099
2766
|
parameters?: any;
|
|
2100
2767
|
}>, "many">;
|
|
2768
|
+
google_search: z.ZodOptional<z.ZodObject<{
|
|
2769
|
+
timeRangeFilter: z.ZodOptional<z.ZodObject<{
|
|
2770
|
+
startTime: z.ZodOptional<z.ZodString>;
|
|
2771
|
+
endTime: z.ZodOptional<z.ZodString>;
|
|
2772
|
+
}, "strip", z.ZodTypeAny, {
|
|
2773
|
+
startTime?: string | undefined;
|
|
2774
|
+
endTime?: string | undefined;
|
|
2775
|
+
}, {
|
|
2776
|
+
startTime?: string | undefined;
|
|
2777
|
+
endTime?: string | undefined;
|
|
2778
|
+
}>>;
|
|
2779
|
+
}, "strip", z.ZodTypeAny, {
|
|
2780
|
+
timeRangeFilter?: {
|
|
2781
|
+
startTime?: string | undefined;
|
|
2782
|
+
endTime?: string | undefined;
|
|
2783
|
+
} | undefined;
|
|
2784
|
+
}, {
|
|
2785
|
+
timeRangeFilter?: {
|
|
2786
|
+
startTime?: string | undefined;
|
|
2787
|
+
endTime?: string | undefined;
|
|
2788
|
+
} | undefined;
|
|
2789
|
+
}>>;
|
|
2101
2790
|
}, "strip", z.ZodTypeAny, {
|
|
2102
2791
|
function_declarations: {
|
|
2103
2792
|
description: string;
|
|
2104
2793
|
name: string;
|
|
2105
2794
|
parameters?: any;
|
|
2106
2795
|
}[];
|
|
2796
|
+
google_search?: {
|
|
2797
|
+
timeRangeFilter?: {
|
|
2798
|
+
startTime?: string | undefined;
|
|
2799
|
+
endTime?: string | undefined;
|
|
2800
|
+
} | undefined;
|
|
2801
|
+
} | undefined;
|
|
2107
2802
|
}, {
|
|
2108
2803
|
function_declarations: {
|
|
2109
2804
|
description: string;
|
|
2110
2805
|
name: string;
|
|
2111
2806
|
parameters?: any;
|
|
2112
2807
|
}[];
|
|
2808
|
+
google_search?: {
|
|
2809
|
+
timeRangeFilter?: {
|
|
2810
|
+
startTime?: string | undefined;
|
|
2811
|
+
endTime?: string | undefined;
|
|
2812
|
+
} | undefined;
|
|
2813
|
+
} | undefined;
|
|
2113
2814
|
}>>;
|
|
2114
2815
|
toolConfig: z.ZodOptional<z.ZodObject<{
|
|
2115
2816
|
function_calling_config: z.ZodObject<{
|
|
@@ -2227,6 +2928,12 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2227
2928
|
name: string;
|
|
2228
2929
|
parameters?: any;
|
|
2229
2930
|
}[];
|
|
2931
|
+
google_search?: {
|
|
2932
|
+
timeRangeFilter?: {
|
|
2933
|
+
startTime?: string | undefined;
|
|
2934
|
+
endTime?: string | undefined;
|
|
2935
|
+
} | undefined;
|
|
2936
|
+
} | undefined;
|
|
2230
2937
|
} | undefined;
|
|
2231
2938
|
toolConfig?: {
|
|
2232
2939
|
function_calling_config: {
|
|
@@ -2312,6 +3019,12 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2312
3019
|
name: string;
|
|
2313
3020
|
parameters?: any;
|
|
2314
3021
|
}[];
|
|
3022
|
+
google_search?: {
|
|
3023
|
+
timeRangeFilter?: {
|
|
3024
|
+
startTime?: string | undefined;
|
|
3025
|
+
endTime?: string | undefined;
|
|
3026
|
+
} | undefined;
|
|
3027
|
+
} | undefined;
|
|
2315
3028
|
} | undefined;
|
|
2316
3029
|
toolConfig?: {
|
|
2317
3030
|
function_calling_config: {
|
|
@@ -2379,7 +3092,7 @@ declare class BaseChatModel implements ChatModelV1<ChatModelSchemaType> {
|
|
|
2379
3092
|
* Google's Gemini API does not support this field in function parameters.
|
|
2380
3093
|
*/
|
|
2381
3094
|
private stripAdditionalProperties;
|
|
2382
|
-
transformTools(tools: ToolType[]): ParamsType;
|
|
3095
|
+
transformTools(tools: ToolType[], config?: ConfigType): ParamsType;
|
|
2383
3096
|
getCompleteChatUrl(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise<UrlType>;
|
|
2384
3097
|
getCompleteChatHeaders(config?: ConfigType, messages?: MessageType[], tools?: ToolType[]): Promise<HeadersType>;
|
|
2385
3098
|
getCompleteChatData(config: ConfigType, messages: MessageType[], tools?: ToolType[]): Promise<ParamsType>;
|
|
@@ -4037,6 +4750,115 @@ declare class Gemini2_5Pro extends BaseChatModel {
|
|
|
4037
4750
|
constructor(options: Gemini2_5ProOptionsType);
|
|
4038
4751
|
}
|
|
4039
4752
|
|
|
4753
|
+
declare const Gemini3FlashPreviewLiteral = "gemini-3-flash-preview";
|
|
4754
|
+
declare const Gemini3FlashPreviewSchema: {
|
|
4755
|
+
description: string;
|
|
4756
|
+
maxOutputTokens: number;
|
|
4757
|
+
name: string;
|
|
4758
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4759
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4760
|
+
maxInputTokens: number;
|
|
4761
|
+
config: {
|
|
4762
|
+
def: Record<string, {
|
|
4763
|
+
type: "multi-string";
|
|
4764
|
+
param: string;
|
|
4765
|
+
title: string;
|
|
4766
|
+
description: string;
|
|
4767
|
+
max: number;
|
|
4768
|
+
} | {
|
|
4769
|
+
type: "object-schema";
|
|
4770
|
+
param: string;
|
|
4771
|
+
title: string;
|
|
4772
|
+
description: string;
|
|
4773
|
+
objectSchema?: any;
|
|
4774
|
+
} | {
|
|
4775
|
+
type: "paired-select";
|
|
4776
|
+
param: string;
|
|
4777
|
+
title: string;
|
|
4778
|
+
description: string;
|
|
4779
|
+
fields: [{
|
|
4780
|
+
label: string;
|
|
4781
|
+
key: string;
|
|
4782
|
+
choices: {
|
|
4783
|
+
value: string;
|
|
4784
|
+
label: string;
|
|
4785
|
+
}[];
|
|
4786
|
+
description?: string | undefined;
|
|
4787
|
+
}, {
|
|
4788
|
+
label: string;
|
|
4789
|
+
key: string;
|
|
4790
|
+
choices: {
|
|
4791
|
+
value: string;
|
|
4792
|
+
label: string;
|
|
4793
|
+
}[];
|
|
4794
|
+
description?: string | undefined;
|
|
4795
|
+
}];
|
|
4796
|
+
uniqueByField?: string | undefined;
|
|
4797
|
+
} | {
|
|
4798
|
+
type: "range";
|
|
4799
|
+
param: string;
|
|
4800
|
+
title: string;
|
|
4801
|
+
description: string;
|
|
4802
|
+
max: number;
|
|
4803
|
+
default: number;
|
|
4804
|
+
min: number;
|
|
4805
|
+
step: number;
|
|
4806
|
+
} | {
|
|
4807
|
+
type: "select-boolean";
|
|
4808
|
+
param: string;
|
|
4809
|
+
title: string;
|
|
4810
|
+
description: string;
|
|
4811
|
+
default: boolean | null;
|
|
4812
|
+
} | {
|
|
4813
|
+
type: "select-string";
|
|
4814
|
+
param: string;
|
|
4815
|
+
title: string;
|
|
4816
|
+
description: string;
|
|
4817
|
+
default: string;
|
|
4818
|
+
choices: string[];
|
|
4819
|
+
}>;
|
|
4820
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4821
|
+
};
|
|
4822
|
+
price: {
|
|
4823
|
+
modelName: string;
|
|
4824
|
+
currency: string;
|
|
4825
|
+
tokenRanges: {
|
|
4826
|
+
minTokens: number;
|
|
4827
|
+
prices: {
|
|
4828
|
+
base: {
|
|
4829
|
+
inputPricePerMillion: number;
|
|
4830
|
+
outputPricePerMillion: number;
|
|
4831
|
+
};
|
|
4832
|
+
};
|
|
4833
|
+
maxTokens?: number | null | undefined;
|
|
4834
|
+
}[];
|
|
4835
|
+
};
|
|
4836
|
+
maxReasoningTokens?: number | undefined;
|
|
4837
|
+
};
|
|
4838
|
+
declare const Gemini3FlashPreviewOptions: z.ZodObject<{
|
|
4839
|
+
modelName: z.ZodString;
|
|
4840
|
+
apiKey: z.ZodString;
|
|
4841
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4842
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
4843
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
4844
|
+
}, "strip", z.ZodTypeAny, {
|
|
4845
|
+
modelName: string;
|
|
4846
|
+
apiKey: string;
|
|
4847
|
+
baseUrl?: string | undefined;
|
|
4848
|
+
completeChatUrl?: string | undefined;
|
|
4849
|
+
streamChatUrl?: string | undefined;
|
|
4850
|
+
}, {
|
|
4851
|
+
modelName: string;
|
|
4852
|
+
apiKey: string;
|
|
4853
|
+
baseUrl?: string | undefined;
|
|
4854
|
+
completeChatUrl?: string | undefined;
|
|
4855
|
+
streamChatUrl?: string | undefined;
|
|
4856
|
+
}>;
|
|
4857
|
+
type Gemini3FlashPreviewOptionsType = z.infer<typeof Gemini3FlashPreviewOptions>;
|
|
4858
|
+
declare class Gemini3FlashPreview extends BaseChatModel {
|
|
4859
|
+
constructor(options: Gemini3FlashPreviewOptionsType);
|
|
4860
|
+
}
|
|
4861
|
+
|
|
4040
4862
|
declare const Gemini3ProPreviewLiteral = "gemini-3-pro-preview";
|
|
4041
4863
|
declare const Gemini3ProPreviewSchema: {
|
|
4042
4864
|
description: string;
|
|
@@ -4506,4 +5328,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
4506
5328
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
4507
5329
|
}
|
|
4508
5330
|
|
|
4509
|
-
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, 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 };
|
|
5331
|
+
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 };
|