@adaline/google 1.14.0 → 1.14.1
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 +48 -1
- package/dist/index.d.ts +48 -1
- package/dist/index.js +29 -28
- 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,17 @@ declare const GoogleChatContentPartFunctionResponse: z.ZodObject<{
|
|
|
2256
2256
|
};
|
|
2257
2257
|
}>;
|
|
2258
2258
|
type GoogleChatContentPartFunctionResponseType = z.infer<typeof GoogleChatContentPartFunctionResponse>;
|
|
2259
|
+
declare const GoogleChatContentPartThinking: z.ZodObject<{
|
|
2260
|
+
thought: z.ZodBoolean;
|
|
2261
|
+
thought_signature: z.ZodString;
|
|
2262
|
+
}, "strip", z.ZodTypeAny, {
|
|
2263
|
+
thought: boolean;
|
|
2264
|
+
thought_signature: string;
|
|
2265
|
+
}, {
|
|
2266
|
+
thought: boolean;
|
|
2267
|
+
thought_signature: string;
|
|
2268
|
+
}>;
|
|
2269
|
+
type GoogleChatContentPartThinkingType = z.infer<typeof GoogleChatContentPartThinking>;
|
|
2259
2270
|
declare const GoogleChatContent: z.ZodObject<{
|
|
2260
2271
|
role: z.ZodEnum<["user", "model", "function"]>;
|
|
2261
2272
|
parts: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2348,6 +2359,15 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2348
2359
|
name: string;
|
|
2349
2360
|
response: Record<string, string>;
|
|
2350
2361
|
};
|
|
2362
|
+
}>, z.ZodObject<{
|
|
2363
|
+
thought: z.ZodBoolean;
|
|
2364
|
+
thought_signature: z.ZodString;
|
|
2365
|
+
}, "strip", z.ZodTypeAny, {
|
|
2366
|
+
thought: boolean;
|
|
2367
|
+
thought_signature: string;
|
|
2368
|
+
}, {
|
|
2369
|
+
thought: boolean;
|
|
2370
|
+
thought_signature: string;
|
|
2351
2371
|
}>]>, "many">;
|
|
2352
2372
|
}, "strip", z.ZodTypeAny, {
|
|
2353
2373
|
role: "function" | "user" | "model";
|
|
@@ -2373,6 +2393,9 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2373
2393
|
name: string;
|
|
2374
2394
|
response: Record<string, string>;
|
|
2375
2395
|
};
|
|
2396
|
+
} | {
|
|
2397
|
+
thought: boolean;
|
|
2398
|
+
thought_signature: string;
|
|
2376
2399
|
})[];
|
|
2377
2400
|
}, {
|
|
2378
2401
|
role: "function" | "user" | "model";
|
|
@@ -2398,6 +2421,9 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2398
2421
|
name: string;
|
|
2399
2422
|
response: Record<string, string>;
|
|
2400
2423
|
};
|
|
2424
|
+
} | {
|
|
2425
|
+
thought: boolean;
|
|
2426
|
+
thought_signature: string;
|
|
2401
2427
|
})[];
|
|
2402
2428
|
}>;
|
|
2403
2429
|
type GoogleChatContentType = z.infer<typeof GoogleChatContent>;
|
|
@@ -2613,6 +2639,15 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2613
2639
|
name: string;
|
|
2614
2640
|
response: Record<string, string>;
|
|
2615
2641
|
};
|
|
2642
|
+
}>, z.ZodObject<{
|
|
2643
|
+
thought: z.ZodBoolean;
|
|
2644
|
+
thought_signature: z.ZodString;
|
|
2645
|
+
}, "strip", z.ZodTypeAny, {
|
|
2646
|
+
thought: boolean;
|
|
2647
|
+
thought_signature: string;
|
|
2648
|
+
}, {
|
|
2649
|
+
thought: boolean;
|
|
2650
|
+
thought_signature: string;
|
|
2616
2651
|
}>]>, "many">;
|
|
2617
2652
|
}, "strip", z.ZodTypeAny, {
|
|
2618
2653
|
role: "function" | "user" | "model";
|
|
@@ -2638,6 +2673,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2638
2673
|
name: string;
|
|
2639
2674
|
response: Record<string, string>;
|
|
2640
2675
|
};
|
|
2676
|
+
} | {
|
|
2677
|
+
thought: boolean;
|
|
2678
|
+
thought_signature: string;
|
|
2641
2679
|
})[];
|
|
2642
2680
|
}, {
|
|
2643
2681
|
role: "function" | "user" | "model";
|
|
@@ -2663,6 +2701,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2663
2701
|
name: string;
|
|
2664
2702
|
response: Record<string, string>;
|
|
2665
2703
|
};
|
|
2704
|
+
} | {
|
|
2705
|
+
thought: boolean;
|
|
2706
|
+
thought_signature: string;
|
|
2666
2707
|
})[];
|
|
2667
2708
|
}>, "many">;
|
|
2668
2709
|
systemInstruction: z.ZodOptional<z.ZodObject<{
|
|
@@ -2905,6 +2946,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2905
2946
|
name: string;
|
|
2906
2947
|
response: Record<string, string>;
|
|
2907
2948
|
};
|
|
2949
|
+
} | {
|
|
2950
|
+
thought: boolean;
|
|
2951
|
+
thought_signature: string;
|
|
2908
2952
|
})[];
|
|
2909
2953
|
}[];
|
|
2910
2954
|
safetySettings?: {
|
|
@@ -2996,6 +3040,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2996
3040
|
name: string;
|
|
2997
3041
|
response: Record<string, string>;
|
|
2998
3042
|
};
|
|
3043
|
+
} | {
|
|
3044
|
+
thought: boolean;
|
|
3045
|
+
thought_signature: string;
|
|
2999
3046
|
})[];
|
|
3000
3047
|
}[];
|
|
3001
3048
|
safetySettings?: {
|
|
@@ -5352,4 +5399,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
5352
5399
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
5353
5400
|
}
|
|
5354
5401
|
|
|
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 };
|
|
5402
|
+
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,17 @@ declare const GoogleChatContentPartFunctionResponse: z.ZodObject<{
|
|
|
2256
2256
|
};
|
|
2257
2257
|
}>;
|
|
2258
2258
|
type GoogleChatContentPartFunctionResponseType = z.infer<typeof GoogleChatContentPartFunctionResponse>;
|
|
2259
|
+
declare const GoogleChatContentPartThinking: z.ZodObject<{
|
|
2260
|
+
thought: z.ZodBoolean;
|
|
2261
|
+
thought_signature: z.ZodString;
|
|
2262
|
+
}, "strip", z.ZodTypeAny, {
|
|
2263
|
+
thought: boolean;
|
|
2264
|
+
thought_signature: string;
|
|
2265
|
+
}, {
|
|
2266
|
+
thought: boolean;
|
|
2267
|
+
thought_signature: string;
|
|
2268
|
+
}>;
|
|
2269
|
+
type GoogleChatContentPartThinkingType = z.infer<typeof GoogleChatContentPartThinking>;
|
|
2259
2270
|
declare const GoogleChatContent: z.ZodObject<{
|
|
2260
2271
|
role: z.ZodEnum<["user", "model", "function"]>;
|
|
2261
2272
|
parts: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2348,6 +2359,15 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2348
2359
|
name: string;
|
|
2349
2360
|
response: Record<string, string>;
|
|
2350
2361
|
};
|
|
2362
|
+
}>, z.ZodObject<{
|
|
2363
|
+
thought: z.ZodBoolean;
|
|
2364
|
+
thought_signature: z.ZodString;
|
|
2365
|
+
}, "strip", z.ZodTypeAny, {
|
|
2366
|
+
thought: boolean;
|
|
2367
|
+
thought_signature: string;
|
|
2368
|
+
}, {
|
|
2369
|
+
thought: boolean;
|
|
2370
|
+
thought_signature: string;
|
|
2351
2371
|
}>]>, "many">;
|
|
2352
2372
|
}, "strip", z.ZodTypeAny, {
|
|
2353
2373
|
role: "function" | "user" | "model";
|
|
@@ -2373,6 +2393,9 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2373
2393
|
name: string;
|
|
2374
2394
|
response: Record<string, string>;
|
|
2375
2395
|
};
|
|
2396
|
+
} | {
|
|
2397
|
+
thought: boolean;
|
|
2398
|
+
thought_signature: string;
|
|
2376
2399
|
})[];
|
|
2377
2400
|
}, {
|
|
2378
2401
|
role: "function" | "user" | "model";
|
|
@@ -2398,6 +2421,9 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2398
2421
|
name: string;
|
|
2399
2422
|
response: Record<string, string>;
|
|
2400
2423
|
};
|
|
2424
|
+
} | {
|
|
2425
|
+
thought: boolean;
|
|
2426
|
+
thought_signature: string;
|
|
2401
2427
|
})[];
|
|
2402
2428
|
}>;
|
|
2403
2429
|
type GoogleChatContentType = z.infer<typeof GoogleChatContent>;
|
|
@@ -2613,6 +2639,15 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2613
2639
|
name: string;
|
|
2614
2640
|
response: Record<string, string>;
|
|
2615
2641
|
};
|
|
2642
|
+
}>, z.ZodObject<{
|
|
2643
|
+
thought: z.ZodBoolean;
|
|
2644
|
+
thought_signature: z.ZodString;
|
|
2645
|
+
}, "strip", z.ZodTypeAny, {
|
|
2646
|
+
thought: boolean;
|
|
2647
|
+
thought_signature: string;
|
|
2648
|
+
}, {
|
|
2649
|
+
thought: boolean;
|
|
2650
|
+
thought_signature: string;
|
|
2616
2651
|
}>]>, "many">;
|
|
2617
2652
|
}, "strip", z.ZodTypeAny, {
|
|
2618
2653
|
role: "function" | "user" | "model";
|
|
@@ -2638,6 +2673,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2638
2673
|
name: string;
|
|
2639
2674
|
response: Record<string, string>;
|
|
2640
2675
|
};
|
|
2676
|
+
} | {
|
|
2677
|
+
thought: boolean;
|
|
2678
|
+
thought_signature: string;
|
|
2641
2679
|
})[];
|
|
2642
2680
|
}, {
|
|
2643
2681
|
role: "function" | "user" | "model";
|
|
@@ -2663,6 +2701,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2663
2701
|
name: string;
|
|
2664
2702
|
response: Record<string, string>;
|
|
2665
2703
|
};
|
|
2704
|
+
} | {
|
|
2705
|
+
thought: boolean;
|
|
2706
|
+
thought_signature: string;
|
|
2666
2707
|
})[];
|
|
2667
2708
|
}>, "many">;
|
|
2668
2709
|
systemInstruction: z.ZodOptional<z.ZodObject<{
|
|
@@ -2905,6 +2946,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2905
2946
|
name: string;
|
|
2906
2947
|
response: Record<string, string>;
|
|
2907
2948
|
};
|
|
2949
|
+
} | {
|
|
2950
|
+
thought: boolean;
|
|
2951
|
+
thought_signature: string;
|
|
2908
2952
|
})[];
|
|
2909
2953
|
}[];
|
|
2910
2954
|
safetySettings?: {
|
|
@@ -2996,6 +3040,9 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2996
3040
|
name: string;
|
|
2997
3041
|
response: Record<string, string>;
|
|
2998
3042
|
};
|
|
3043
|
+
} | {
|
|
3044
|
+
thought: boolean;
|
|
3045
|
+
thought_signature: string;
|
|
2999
3046
|
})[];
|
|
3000
3047
|
}[];
|
|
3001
3048
|
safetySettings?: {
|
|
@@ -5352,4 +5399,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
5352
5399
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
5353
5400
|
}
|
|
5354
5401
|
|
|
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 };
|
|
5402
|
+
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 };
|