@adaline/google 1.14.0 → 1.14.2
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 +87 -1
- package/dist/index.d.ts +87 -1
- package/dist/index.js +57 -56
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2256,6 +2256,20 @@ declare const GoogleChatContentPartFunctionResponse: z.ZodObject<{
|
|
|
2256
2256
|
};
|
|
2257
2257
|
}>;
|
|
2258
2258
|
type GoogleChatContentPartFunctionResponseType = z.infer<typeof GoogleChatContentPartFunctionResponse>;
|
|
2259
|
+
declare const GoogleChatContentPartThinking: z.ZodObject<{
|
|
2260
|
+
text: z.ZodString;
|
|
2261
|
+
thought: z.ZodLiteral<true>;
|
|
2262
|
+
thought_signature: z.ZodString;
|
|
2263
|
+
}, "strip", z.ZodTypeAny, {
|
|
2264
|
+
text: string;
|
|
2265
|
+
thought: true;
|
|
2266
|
+
thought_signature: string;
|
|
2267
|
+
}, {
|
|
2268
|
+
text: string;
|
|
2269
|
+
thought: true;
|
|
2270
|
+
thought_signature: string;
|
|
2271
|
+
}>;
|
|
2272
|
+
type GoogleChatContentPartThinkingType = z.infer<typeof GoogleChatContentPartThinking>;
|
|
2259
2273
|
declare const GoogleChatContent: z.ZodObject<{
|
|
2260
2274
|
role: z.ZodEnum<["user", "model", "function"]>;
|
|
2261
2275
|
parts: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2348,6 +2362,30 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2348
2362
|
name: string;
|
|
2349
2363
|
response: Record<string, string>;
|
|
2350
2364
|
};
|
|
2365
|
+
}>, z.ZodObject<{
|
|
2366
|
+
text: z.ZodString;
|
|
2367
|
+
thought: z.ZodLiteral<true>;
|
|
2368
|
+
thought_signature: z.ZodString;
|
|
2369
|
+
}, "strip", z.ZodTypeAny, {
|
|
2370
|
+
text: string;
|
|
2371
|
+
thought: true;
|
|
2372
|
+
thought_signature: string;
|
|
2373
|
+
}, {
|
|
2374
|
+
text: string;
|
|
2375
|
+
thought: true;
|
|
2376
|
+
thought_signature: string;
|
|
2377
|
+
}>, z.ZodObject<{
|
|
2378
|
+
text: z.ZodString;
|
|
2379
|
+
thought: z.ZodLiteral<true>;
|
|
2380
|
+
thought_signature: z.ZodString;
|
|
2381
|
+
}, "strip", z.ZodTypeAny, {
|
|
2382
|
+
text: string;
|
|
2383
|
+
thought: true;
|
|
2384
|
+
thought_signature: string;
|
|
2385
|
+
}, {
|
|
2386
|
+
text: string;
|
|
2387
|
+
thought: true;
|
|
2388
|
+
thought_signature: string;
|
|
2351
2389
|
}>]>, "many">;
|
|
2352
2390
|
}, "strip", z.ZodTypeAny, {
|
|
2353
2391
|
role: "function" | "user" | "model";
|
|
@@ -2373,6 +2411,10 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2373
2411
|
name: string;
|
|
2374
2412
|
response: Record<string, string>;
|
|
2375
2413
|
};
|
|
2414
|
+
} | {
|
|
2415
|
+
text: string;
|
|
2416
|
+
thought: true;
|
|
2417
|
+
thought_signature: string;
|
|
2376
2418
|
})[];
|
|
2377
2419
|
}, {
|
|
2378
2420
|
role: "function" | "user" | "model";
|
|
@@ -2398,6 +2440,10 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2398
2440
|
name: string;
|
|
2399
2441
|
response: Record<string, string>;
|
|
2400
2442
|
};
|
|
2443
|
+
} | {
|
|
2444
|
+
text: string;
|
|
2445
|
+
thought: true;
|
|
2446
|
+
thought_signature: string;
|
|
2401
2447
|
})[];
|
|
2402
2448
|
}>;
|
|
2403
2449
|
type GoogleChatContentType = z.infer<typeof GoogleChatContent>;
|
|
@@ -2613,6 +2659,30 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2613
2659
|
name: string;
|
|
2614
2660
|
response: Record<string, string>;
|
|
2615
2661
|
};
|
|
2662
|
+
}>, z.ZodObject<{
|
|
2663
|
+
text: z.ZodString;
|
|
2664
|
+
thought: z.ZodLiteral<true>;
|
|
2665
|
+
thought_signature: z.ZodString;
|
|
2666
|
+
}, "strip", z.ZodTypeAny, {
|
|
2667
|
+
text: string;
|
|
2668
|
+
thought: true;
|
|
2669
|
+
thought_signature: string;
|
|
2670
|
+
}, {
|
|
2671
|
+
text: string;
|
|
2672
|
+
thought: true;
|
|
2673
|
+
thought_signature: string;
|
|
2674
|
+
}>, z.ZodObject<{
|
|
2675
|
+
text: z.ZodString;
|
|
2676
|
+
thought: z.ZodLiteral<true>;
|
|
2677
|
+
thought_signature: z.ZodString;
|
|
2678
|
+
}, "strip", z.ZodTypeAny, {
|
|
2679
|
+
text: string;
|
|
2680
|
+
thought: true;
|
|
2681
|
+
thought_signature: string;
|
|
2682
|
+
}, {
|
|
2683
|
+
text: string;
|
|
2684
|
+
thought: true;
|
|
2685
|
+
thought_signature: string;
|
|
2616
2686
|
}>]>, "many">;
|
|
2617
2687
|
}, "strip", z.ZodTypeAny, {
|
|
2618
2688
|
role: "function" | "user" | "model";
|
|
@@ -2638,6 +2708,10 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2638
2708
|
name: string;
|
|
2639
2709
|
response: Record<string, string>;
|
|
2640
2710
|
};
|
|
2711
|
+
} | {
|
|
2712
|
+
text: string;
|
|
2713
|
+
thought: true;
|
|
2714
|
+
thought_signature: string;
|
|
2641
2715
|
})[];
|
|
2642
2716
|
}, {
|
|
2643
2717
|
role: "function" | "user" | "model";
|
|
@@ -2663,6 +2737,10 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2663
2737
|
name: string;
|
|
2664
2738
|
response: Record<string, string>;
|
|
2665
2739
|
};
|
|
2740
|
+
} | {
|
|
2741
|
+
text: string;
|
|
2742
|
+
thought: true;
|
|
2743
|
+
thought_signature: string;
|
|
2666
2744
|
})[];
|
|
2667
2745
|
}>, "many">;
|
|
2668
2746
|
systemInstruction: z.ZodOptional<z.ZodObject<{
|
|
@@ -2905,6 +2983,10 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2905
2983
|
name: string;
|
|
2906
2984
|
response: Record<string, string>;
|
|
2907
2985
|
};
|
|
2986
|
+
} | {
|
|
2987
|
+
text: string;
|
|
2988
|
+
thought: true;
|
|
2989
|
+
thought_signature: string;
|
|
2908
2990
|
})[];
|
|
2909
2991
|
}[];
|
|
2910
2992
|
safetySettings?: {
|
|
@@ -2996,6 +3078,10 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2996
3078
|
name: string;
|
|
2997
3079
|
response: Record<string, string>;
|
|
2998
3080
|
};
|
|
3081
|
+
} | {
|
|
3082
|
+
text: string;
|
|
3083
|
+
thought: true;
|
|
3084
|
+
thought_signature: string;
|
|
2999
3085
|
})[];
|
|
3000
3086
|
}[];
|
|
3001
3087
|
safetySettings?: {
|
|
@@ -5352,4 +5438,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
5352
5438
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
5353
5439
|
}
|
|
5354
5440
|
|
|
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 };
|
|
5441
|
+
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, GoogleChatContentPartThinking, type GoogleChatContentPartThinkingType, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -2256,6 +2256,20 @@ declare const GoogleChatContentPartFunctionResponse: z.ZodObject<{
|
|
|
2256
2256
|
};
|
|
2257
2257
|
}>;
|
|
2258
2258
|
type GoogleChatContentPartFunctionResponseType = z.infer<typeof GoogleChatContentPartFunctionResponse>;
|
|
2259
|
+
declare const GoogleChatContentPartThinking: z.ZodObject<{
|
|
2260
|
+
text: z.ZodString;
|
|
2261
|
+
thought: z.ZodLiteral<true>;
|
|
2262
|
+
thought_signature: z.ZodString;
|
|
2263
|
+
}, "strip", z.ZodTypeAny, {
|
|
2264
|
+
text: string;
|
|
2265
|
+
thought: true;
|
|
2266
|
+
thought_signature: string;
|
|
2267
|
+
}, {
|
|
2268
|
+
text: string;
|
|
2269
|
+
thought: true;
|
|
2270
|
+
thought_signature: string;
|
|
2271
|
+
}>;
|
|
2272
|
+
type GoogleChatContentPartThinkingType = z.infer<typeof GoogleChatContentPartThinking>;
|
|
2259
2273
|
declare const GoogleChatContent: z.ZodObject<{
|
|
2260
2274
|
role: z.ZodEnum<["user", "model", "function"]>;
|
|
2261
2275
|
parts: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2348,6 +2362,30 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2348
2362
|
name: string;
|
|
2349
2363
|
response: Record<string, string>;
|
|
2350
2364
|
};
|
|
2365
|
+
}>, z.ZodObject<{
|
|
2366
|
+
text: z.ZodString;
|
|
2367
|
+
thought: z.ZodLiteral<true>;
|
|
2368
|
+
thought_signature: z.ZodString;
|
|
2369
|
+
}, "strip", z.ZodTypeAny, {
|
|
2370
|
+
text: string;
|
|
2371
|
+
thought: true;
|
|
2372
|
+
thought_signature: string;
|
|
2373
|
+
}, {
|
|
2374
|
+
text: string;
|
|
2375
|
+
thought: true;
|
|
2376
|
+
thought_signature: string;
|
|
2377
|
+
}>, z.ZodObject<{
|
|
2378
|
+
text: z.ZodString;
|
|
2379
|
+
thought: z.ZodLiteral<true>;
|
|
2380
|
+
thought_signature: z.ZodString;
|
|
2381
|
+
}, "strip", z.ZodTypeAny, {
|
|
2382
|
+
text: string;
|
|
2383
|
+
thought: true;
|
|
2384
|
+
thought_signature: string;
|
|
2385
|
+
}, {
|
|
2386
|
+
text: string;
|
|
2387
|
+
thought: true;
|
|
2388
|
+
thought_signature: string;
|
|
2351
2389
|
}>]>, "many">;
|
|
2352
2390
|
}, "strip", z.ZodTypeAny, {
|
|
2353
2391
|
role: "function" | "user" | "model";
|
|
@@ -2373,6 +2411,10 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2373
2411
|
name: string;
|
|
2374
2412
|
response: Record<string, string>;
|
|
2375
2413
|
};
|
|
2414
|
+
} | {
|
|
2415
|
+
text: string;
|
|
2416
|
+
thought: true;
|
|
2417
|
+
thought_signature: string;
|
|
2376
2418
|
})[];
|
|
2377
2419
|
}, {
|
|
2378
2420
|
role: "function" | "user" | "model";
|
|
@@ -2398,6 +2440,10 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2398
2440
|
name: string;
|
|
2399
2441
|
response: Record<string, string>;
|
|
2400
2442
|
};
|
|
2443
|
+
} | {
|
|
2444
|
+
text: string;
|
|
2445
|
+
thought: true;
|
|
2446
|
+
thought_signature: string;
|
|
2401
2447
|
})[];
|
|
2402
2448
|
}>;
|
|
2403
2449
|
type GoogleChatContentType = z.infer<typeof GoogleChatContent>;
|
|
@@ -2613,6 +2659,30 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2613
2659
|
name: string;
|
|
2614
2660
|
response: Record<string, string>;
|
|
2615
2661
|
};
|
|
2662
|
+
}>, z.ZodObject<{
|
|
2663
|
+
text: z.ZodString;
|
|
2664
|
+
thought: z.ZodLiteral<true>;
|
|
2665
|
+
thought_signature: z.ZodString;
|
|
2666
|
+
}, "strip", z.ZodTypeAny, {
|
|
2667
|
+
text: string;
|
|
2668
|
+
thought: true;
|
|
2669
|
+
thought_signature: string;
|
|
2670
|
+
}, {
|
|
2671
|
+
text: string;
|
|
2672
|
+
thought: true;
|
|
2673
|
+
thought_signature: string;
|
|
2674
|
+
}>, z.ZodObject<{
|
|
2675
|
+
text: z.ZodString;
|
|
2676
|
+
thought: z.ZodLiteral<true>;
|
|
2677
|
+
thought_signature: z.ZodString;
|
|
2678
|
+
}, "strip", z.ZodTypeAny, {
|
|
2679
|
+
text: string;
|
|
2680
|
+
thought: true;
|
|
2681
|
+
thought_signature: string;
|
|
2682
|
+
}, {
|
|
2683
|
+
text: string;
|
|
2684
|
+
thought: true;
|
|
2685
|
+
thought_signature: string;
|
|
2616
2686
|
}>]>, "many">;
|
|
2617
2687
|
}, "strip", z.ZodTypeAny, {
|
|
2618
2688
|
role: "function" | "user" | "model";
|
|
@@ -2638,6 +2708,10 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2638
2708
|
name: string;
|
|
2639
2709
|
response: Record<string, string>;
|
|
2640
2710
|
};
|
|
2711
|
+
} | {
|
|
2712
|
+
text: string;
|
|
2713
|
+
thought: true;
|
|
2714
|
+
thought_signature: string;
|
|
2641
2715
|
})[];
|
|
2642
2716
|
}, {
|
|
2643
2717
|
role: "function" | "user" | "model";
|
|
@@ -2663,6 +2737,10 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2663
2737
|
name: string;
|
|
2664
2738
|
response: Record<string, string>;
|
|
2665
2739
|
};
|
|
2740
|
+
} | {
|
|
2741
|
+
text: string;
|
|
2742
|
+
thought: true;
|
|
2743
|
+
thought_signature: string;
|
|
2666
2744
|
})[];
|
|
2667
2745
|
}>, "many">;
|
|
2668
2746
|
systemInstruction: z.ZodOptional<z.ZodObject<{
|
|
@@ -2905,6 +2983,10 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2905
2983
|
name: string;
|
|
2906
2984
|
response: Record<string, string>;
|
|
2907
2985
|
};
|
|
2986
|
+
} | {
|
|
2987
|
+
text: string;
|
|
2988
|
+
thought: true;
|
|
2989
|
+
thought_signature: string;
|
|
2908
2990
|
})[];
|
|
2909
2991
|
}[];
|
|
2910
2992
|
safetySettings?: {
|
|
@@ -2996,6 +3078,10 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2996
3078
|
name: string;
|
|
2997
3079
|
response: Record<string, string>;
|
|
2998
3080
|
};
|
|
3081
|
+
} | {
|
|
3082
|
+
text: string;
|
|
3083
|
+
thought: true;
|
|
3084
|
+
thought_signature: string;
|
|
2999
3085
|
})[];
|
|
3000
3086
|
}[];
|
|
3001
3087
|
safetySettings?: {
|
|
@@ -5352,4 +5438,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
5352
5438
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
5353
5439
|
}
|
|
5354
5440
|
|
|
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 };
|
|
5441
|
+
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, GoogleChatContentPartThinking, type GoogleChatContentPartThinkingType, 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 };
|