@adaline/google 0.14.0 → 0.15.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 +22 -22
- package/dist/index.d.ts +22 -22
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -48,7 +48,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
48
48
|
param: string;
|
|
49
49
|
title: string;
|
|
50
50
|
description: string;
|
|
51
|
-
default: string
|
|
51
|
+
default: string;
|
|
52
52
|
choices: string[];
|
|
53
53
|
};
|
|
54
54
|
readonly safetySettings: {
|
|
@@ -174,7 +174,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
174
174
|
param: string;
|
|
175
175
|
title: string;
|
|
176
176
|
description: string;
|
|
177
|
-
default: string
|
|
177
|
+
default: string;
|
|
178
178
|
choices: string[];
|
|
179
179
|
};
|
|
180
180
|
readonly safetySettings: {
|
|
@@ -360,7 +360,7 @@ declare const toolChoice: {
|
|
|
360
360
|
param: string;
|
|
361
361
|
title: string;
|
|
362
362
|
description: string;
|
|
363
|
-
default: string
|
|
363
|
+
default: string;
|
|
364
364
|
choices: string[];
|
|
365
365
|
};
|
|
366
366
|
schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
|
|
@@ -453,7 +453,7 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
|
|
|
453
453
|
param: string;
|
|
454
454
|
title: string;
|
|
455
455
|
description: string;
|
|
456
|
-
default: string
|
|
456
|
+
default: string;
|
|
457
457
|
choices: string[];
|
|
458
458
|
};
|
|
459
459
|
readonly safetySettings: {
|
|
@@ -590,7 +590,7 @@ declare const ChatModelC1ConfigDef: (maxTemperature: number, defaultTemperature:
|
|
|
590
590
|
param: string;
|
|
591
591
|
title: string;
|
|
592
592
|
description: string;
|
|
593
|
-
default: string
|
|
593
|
+
default: string;
|
|
594
594
|
choices: string[];
|
|
595
595
|
};
|
|
596
596
|
readonly safetySettings: {
|
|
@@ -1997,7 +1997,7 @@ declare const Gemini1_0Pro_001Schema: {
|
|
|
1997
1997
|
param: string;
|
|
1998
1998
|
title: string;
|
|
1999
1999
|
description: string;
|
|
2000
|
-
default: string
|
|
2000
|
+
default: string;
|
|
2001
2001
|
choices: string[];
|
|
2002
2002
|
}>;
|
|
2003
2003
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2068,7 +2068,7 @@ declare const Gemini1_0ProLatestSchema: {
|
|
|
2068
2068
|
param: string;
|
|
2069
2069
|
title: string;
|
|
2070
2070
|
description: string;
|
|
2071
|
-
default: string
|
|
2071
|
+
default: string;
|
|
2072
2072
|
choices: string[];
|
|
2073
2073
|
}>;
|
|
2074
2074
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2139,7 +2139,7 @@ declare const Gemini1_0ProVisionSchema: {
|
|
|
2139
2139
|
param: string;
|
|
2140
2140
|
title: string;
|
|
2141
2141
|
description: string;
|
|
2142
|
-
default: string
|
|
2142
|
+
default: string;
|
|
2143
2143
|
choices: string[];
|
|
2144
2144
|
}>;
|
|
2145
2145
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2210,7 +2210,7 @@ declare const Gemini1_0ProSchema: {
|
|
|
2210
2210
|
param: string;
|
|
2211
2211
|
title: string;
|
|
2212
2212
|
description: string;
|
|
2213
|
-
default: string
|
|
2213
|
+
default: string;
|
|
2214
2214
|
choices: string[];
|
|
2215
2215
|
}>;
|
|
2216
2216
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2281,7 +2281,7 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
2281
2281
|
param: string;
|
|
2282
2282
|
title: string;
|
|
2283
2283
|
description: string;
|
|
2284
|
-
default: string
|
|
2284
|
+
default: string;
|
|
2285
2285
|
choices: string[];
|
|
2286
2286
|
}>;
|
|
2287
2287
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2352,7 +2352,7 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
2352
2352
|
param: string;
|
|
2353
2353
|
title: string;
|
|
2354
2354
|
description: string;
|
|
2355
|
-
default: string
|
|
2355
|
+
default: string;
|
|
2356
2356
|
choices: string[];
|
|
2357
2357
|
}>;
|
|
2358
2358
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2423,7 +2423,7 @@ declare const Gemini1_5FlashLatestSchema: {
|
|
|
2423
2423
|
param: string;
|
|
2424
2424
|
title: string;
|
|
2425
2425
|
description: string;
|
|
2426
|
-
default: string
|
|
2426
|
+
default: string;
|
|
2427
2427
|
choices: string[];
|
|
2428
2428
|
}>;
|
|
2429
2429
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2494,7 +2494,7 @@ declare const Gemini1_5FlashSchema: {
|
|
|
2494
2494
|
param: string;
|
|
2495
2495
|
title: string;
|
|
2496
2496
|
description: string;
|
|
2497
|
-
default: string
|
|
2497
|
+
default: string;
|
|
2498
2498
|
choices: string[];
|
|
2499
2499
|
}>;
|
|
2500
2500
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2565,7 +2565,7 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
2565
2565
|
param: string;
|
|
2566
2566
|
title: string;
|
|
2567
2567
|
description: string;
|
|
2568
|
-
default: string
|
|
2568
|
+
default: string;
|
|
2569
2569
|
choices: string[];
|
|
2570
2570
|
}>;
|
|
2571
2571
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2636,7 +2636,7 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
2636
2636
|
param: string;
|
|
2637
2637
|
title: string;
|
|
2638
2638
|
description: string;
|
|
2639
|
-
default: string
|
|
2639
|
+
default: string;
|
|
2640
2640
|
choices: string[];
|
|
2641
2641
|
}>;
|
|
2642
2642
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2707,7 +2707,7 @@ declare const Gemini1_5ProLatestSchema: {
|
|
|
2707
2707
|
param: string;
|
|
2708
2708
|
title: string;
|
|
2709
2709
|
description: string;
|
|
2710
|
-
default: string
|
|
2710
|
+
default: string;
|
|
2711
2711
|
choices: string[];
|
|
2712
2712
|
}>;
|
|
2713
2713
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2778,7 +2778,7 @@ declare const Gemini1_5ProSchema: {
|
|
|
2778
2778
|
param: string;
|
|
2779
2779
|
title: string;
|
|
2780
2780
|
description: string;
|
|
2781
|
-
default: string
|
|
2781
|
+
default: string;
|
|
2782
2782
|
choices: string[];
|
|
2783
2783
|
}>;
|
|
2784
2784
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2849,7 +2849,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
2849
2849
|
param: string;
|
|
2850
2850
|
title: string;
|
|
2851
2851
|
description: string;
|
|
2852
|
-
default: string
|
|
2852
|
+
default: string;
|
|
2853
2853
|
choices: string[];
|
|
2854
2854
|
}>;
|
|
2855
2855
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2920,7 +2920,7 @@ declare const GeminiProVisionSchema: {
|
|
|
2920
2920
|
param: string;
|
|
2921
2921
|
title: string;
|
|
2922
2922
|
description: string;
|
|
2923
|
-
default: string
|
|
2923
|
+
default: string;
|
|
2924
2924
|
choices: string[];
|
|
2925
2925
|
}>;
|
|
2926
2926
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2991,7 +2991,7 @@ declare const GeminiProSchema: {
|
|
|
2991
2991
|
param: string;
|
|
2992
2992
|
title: string;
|
|
2993
2993
|
description: string;
|
|
2994
|
-
default: string
|
|
2994
|
+
default: string;
|
|
2995
2995
|
choices: string[];
|
|
2996
2996
|
}>;
|
|
2997
2997
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -3226,7 +3226,7 @@ declare const Text_Embedding_001Schema: {
|
|
|
3226
3226
|
param: string;
|
|
3227
3227
|
title: string;
|
|
3228
3228
|
description: string;
|
|
3229
|
-
default: string
|
|
3229
|
+
default: string;
|
|
3230
3230
|
choices: string[];
|
|
3231
3231
|
}>;
|
|
3232
3232
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -3293,7 +3293,7 @@ declare const Text_Embedding_004Schema: {
|
|
|
3293
3293
|
param: string;
|
|
3294
3294
|
title: string;
|
|
3295
3295
|
description: string;
|
|
3296
|
-
default: string
|
|
3296
|
+
default: string;
|
|
3297
3297
|
choices: string[];
|
|
3298
3298
|
}>;
|
|
3299
3299
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
48
48
|
param: string;
|
|
49
49
|
title: string;
|
|
50
50
|
description: string;
|
|
51
|
-
default: string
|
|
51
|
+
default: string;
|
|
52
52
|
choices: string[];
|
|
53
53
|
};
|
|
54
54
|
readonly safetySettings: {
|
|
@@ -174,7 +174,7 @@ declare const GoogleChatModelConfigs: {
|
|
|
174
174
|
param: string;
|
|
175
175
|
title: string;
|
|
176
176
|
description: string;
|
|
177
|
-
default: string
|
|
177
|
+
default: string;
|
|
178
178
|
choices: string[];
|
|
179
179
|
};
|
|
180
180
|
readonly safetySettings: {
|
|
@@ -360,7 +360,7 @@ declare const toolChoice: {
|
|
|
360
360
|
param: string;
|
|
361
361
|
title: string;
|
|
362
362
|
description: string;
|
|
363
|
-
default: string
|
|
363
|
+
default: string;
|
|
364
364
|
choices: string[];
|
|
365
365
|
};
|
|
366
366
|
schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
|
|
@@ -453,7 +453,7 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
|
|
|
453
453
|
param: string;
|
|
454
454
|
title: string;
|
|
455
455
|
description: string;
|
|
456
|
-
default: string
|
|
456
|
+
default: string;
|
|
457
457
|
choices: string[];
|
|
458
458
|
};
|
|
459
459
|
readonly safetySettings: {
|
|
@@ -590,7 +590,7 @@ declare const ChatModelC1ConfigDef: (maxTemperature: number, defaultTemperature:
|
|
|
590
590
|
param: string;
|
|
591
591
|
title: string;
|
|
592
592
|
description: string;
|
|
593
|
-
default: string
|
|
593
|
+
default: string;
|
|
594
594
|
choices: string[];
|
|
595
595
|
};
|
|
596
596
|
readonly safetySettings: {
|
|
@@ -1997,7 +1997,7 @@ declare const Gemini1_0Pro_001Schema: {
|
|
|
1997
1997
|
param: string;
|
|
1998
1998
|
title: string;
|
|
1999
1999
|
description: string;
|
|
2000
|
-
default: string
|
|
2000
|
+
default: string;
|
|
2001
2001
|
choices: string[];
|
|
2002
2002
|
}>;
|
|
2003
2003
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2068,7 +2068,7 @@ declare const Gemini1_0ProLatestSchema: {
|
|
|
2068
2068
|
param: string;
|
|
2069
2069
|
title: string;
|
|
2070
2070
|
description: string;
|
|
2071
|
-
default: string
|
|
2071
|
+
default: string;
|
|
2072
2072
|
choices: string[];
|
|
2073
2073
|
}>;
|
|
2074
2074
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2139,7 +2139,7 @@ declare const Gemini1_0ProVisionSchema: {
|
|
|
2139
2139
|
param: string;
|
|
2140
2140
|
title: string;
|
|
2141
2141
|
description: string;
|
|
2142
|
-
default: string
|
|
2142
|
+
default: string;
|
|
2143
2143
|
choices: string[];
|
|
2144
2144
|
}>;
|
|
2145
2145
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2210,7 +2210,7 @@ declare const Gemini1_0ProSchema: {
|
|
|
2210
2210
|
param: string;
|
|
2211
2211
|
title: string;
|
|
2212
2212
|
description: string;
|
|
2213
|
-
default: string
|
|
2213
|
+
default: string;
|
|
2214
2214
|
choices: string[];
|
|
2215
2215
|
}>;
|
|
2216
2216
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2281,7 +2281,7 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
2281
2281
|
param: string;
|
|
2282
2282
|
title: string;
|
|
2283
2283
|
description: string;
|
|
2284
|
-
default: string
|
|
2284
|
+
default: string;
|
|
2285
2285
|
choices: string[];
|
|
2286
2286
|
}>;
|
|
2287
2287
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2352,7 +2352,7 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
2352
2352
|
param: string;
|
|
2353
2353
|
title: string;
|
|
2354
2354
|
description: string;
|
|
2355
|
-
default: string
|
|
2355
|
+
default: string;
|
|
2356
2356
|
choices: string[];
|
|
2357
2357
|
}>;
|
|
2358
2358
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2423,7 +2423,7 @@ declare const Gemini1_5FlashLatestSchema: {
|
|
|
2423
2423
|
param: string;
|
|
2424
2424
|
title: string;
|
|
2425
2425
|
description: string;
|
|
2426
|
-
default: string
|
|
2426
|
+
default: string;
|
|
2427
2427
|
choices: string[];
|
|
2428
2428
|
}>;
|
|
2429
2429
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2494,7 +2494,7 @@ declare const Gemini1_5FlashSchema: {
|
|
|
2494
2494
|
param: string;
|
|
2495
2495
|
title: string;
|
|
2496
2496
|
description: string;
|
|
2497
|
-
default: string
|
|
2497
|
+
default: string;
|
|
2498
2498
|
choices: string[];
|
|
2499
2499
|
}>;
|
|
2500
2500
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2565,7 +2565,7 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
2565
2565
|
param: string;
|
|
2566
2566
|
title: string;
|
|
2567
2567
|
description: string;
|
|
2568
|
-
default: string
|
|
2568
|
+
default: string;
|
|
2569
2569
|
choices: string[];
|
|
2570
2570
|
}>;
|
|
2571
2571
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2636,7 +2636,7 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
2636
2636
|
param: string;
|
|
2637
2637
|
title: string;
|
|
2638
2638
|
description: string;
|
|
2639
|
-
default: string
|
|
2639
|
+
default: string;
|
|
2640
2640
|
choices: string[];
|
|
2641
2641
|
}>;
|
|
2642
2642
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2707,7 +2707,7 @@ declare const Gemini1_5ProLatestSchema: {
|
|
|
2707
2707
|
param: string;
|
|
2708
2708
|
title: string;
|
|
2709
2709
|
description: string;
|
|
2710
|
-
default: string
|
|
2710
|
+
default: string;
|
|
2711
2711
|
choices: string[];
|
|
2712
2712
|
}>;
|
|
2713
2713
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2778,7 +2778,7 @@ declare const Gemini1_5ProSchema: {
|
|
|
2778
2778
|
param: string;
|
|
2779
2779
|
title: string;
|
|
2780
2780
|
description: string;
|
|
2781
|
-
default: string
|
|
2781
|
+
default: string;
|
|
2782
2782
|
choices: string[];
|
|
2783
2783
|
}>;
|
|
2784
2784
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2849,7 +2849,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
2849
2849
|
param: string;
|
|
2850
2850
|
title: string;
|
|
2851
2851
|
description: string;
|
|
2852
|
-
default: string
|
|
2852
|
+
default: string;
|
|
2853
2853
|
choices: string[];
|
|
2854
2854
|
}>;
|
|
2855
2855
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2920,7 +2920,7 @@ declare const GeminiProVisionSchema: {
|
|
|
2920
2920
|
param: string;
|
|
2921
2921
|
title: string;
|
|
2922
2922
|
description: string;
|
|
2923
|
-
default: string
|
|
2923
|
+
default: string;
|
|
2924
2924
|
choices: string[];
|
|
2925
2925
|
}>;
|
|
2926
2926
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -2991,7 +2991,7 @@ declare const GeminiProSchema: {
|
|
|
2991
2991
|
param: string;
|
|
2992
2992
|
title: string;
|
|
2993
2993
|
description: string;
|
|
2994
|
-
default: string
|
|
2994
|
+
default: string;
|
|
2995
2995
|
choices: string[];
|
|
2996
2996
|
}>;
|
|
2997
2997
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -3226,7 +3226,7 @@ declare const Text_Embedding_001Schema: {
|
|
|
3226
3226
|
param: string;
|
|
3227
3227
|
title: string;
|
|
3228
3228
|
description: string;
|
|
3229
|
-
default: string
|
|
3229
|
+
default: string;
|
|
3230
3230
|
choices: string[];
|
|
3231
3231
|
}>;
|
|
3232
3232
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
@@ -3293,7 +3293,7 @@ declare const Text_Embedding_004Schema: {
|
|
|
3293
3293
|
param: string;
|
|
3294
3294
|
title: string;
|
|
3295
3295
|
description: string;
|
|
3296
|
-
default: string
|
|
3296
|
+
default: string;
|
|
3297
3297
|
choices: string[];
|
|
3298
3298
|
}>;
|
|
3299
3299
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaline/google",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"private": false,
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"zod": "^3.23.8",
|
|
49
|
-
"@adaline/provider": "0.
|
|
50
|
-
"@adaline/types": "0.
|
|
49
|
+
"@adaline/provider": "0.23.0",
|
|
50
|
+
"@adaline/types": "0.21.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@adaline/tsconfig": "0.11.0",
|