@adaline/google 1.8.1 → 1.10.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 +89 -1
- package/dist/index.d.ts +89 -1
- package/dist/index.js +78 -72
- 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
|
@@ -443,6 +443,8 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
|
|
|
443
443
|
};
|
|
444
444
|
};
|
|
445
445
|
|
|
446
|
+
declare const GOOGLE_SAFETY_CATEGORIES: readonly ["HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_CIVIC_INTEGRITY"];
|
|
447
|
+
declare const GOOGLE_SAFETY_THRESHOLDS: readonly ["HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", "OFF"];
|
|
446
448
|
declare const temperature: (max: number, _default: number) => {
|
|
447
449
|
def: {
|
|
448
450
|
type: "range";
|
|
@@ -3558,6 +3560,92 @@ declare class Gemini2_5Pro extends BaseChatModel {
|
|
|
3558
3560
|
constructor(options: Gemini2_5ProOptionsType);
|
|
3559
3561
|
}
|
|
3560
3562
|
|
|
3563
|
+
declare const Gemini3ProPreviewLiteral = "gemini-3-pro-preview";
|
|
3564
|
+
declare const Gemini3ProPreviewSchema: {
|
|
3565
|
+
description: string;
|
|
3566
|
+
maxOutputTokens: number;
|
|
3567
|
+
name: string;
|
|
3568
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3569
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3570
|
+
maxInputTokens: number;
|
|
3571
|
+
config: {
|
|
3572
|
+
def: Record<string, {
|
|
3573
|
+
type: "multi-string";
|
|
3574
|
+
param: string;
|
|
3575
|
+
title: string;
|
|
3576
|
+
description: string;
|
|
3577
|
+
max: number;
|
|
3578
|
+
} | {
|
|
3579
|
+
type: "object-schema";
|
|
3580
|
+
param: string;
|
|
3581
|
+
title: string;
|
|
3582
|
+
description: string;
|
|
3583
|
+
objectSchema?: any;
|
|
3584
|
+
} | {
|
|
3585
|
+
type: "range";
|
|
3586
|
+
param: string;
|
|
3587
|
+
title: string;
|
|
3588
|
+
description: string;
|
|
3589
|
+
max: number;
|
|
3590
|
+
default: number;
|
|
3591
|
+
min: number;
|
|
3592
|
+
step: number;
|
|
3593
|
+
} | {
|
|
3594
|
+
type: "select-boolean";
|
|
3595
|
+
param: string;
|
|
3596
|
+
title: string;
|
|
3597
|
+
description: string;
|
|
3598
|
+
default: boolean | null;
|
|
3599
|
+
} | {
|
|
3600
|
+
type: "select-string";
|
|
3601
|
+
param: string;
|
|
3602
|
+
title: string;
|
|
3603
|
+
description: string;
|
|
3604
|
+
default: string;
|
|
3605
|
+
choices: string[];
|
|
3606
|
+
}>;
|
|
3607
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3608
|
+
};
|
|
3609
|
+
price: {
|
|
3610
|
+
modelName: string;
|
|
3611
|
+
currency: string;
|
|
3612
|
+
tokenRanges: {
|
|
3613
|
+
minTokens: number;
|
|
3614
|
+
prices: {
|
|
3615
|
+
base: {
|
|
3616
|
+
inputPricePerMillion: number;
|
|
3617
|
+
outputPricePerMillion: number;
|
|
3618
|
+
};
|
|
3619
|
+
};
|
|
3620
|
+
maxTokens?: number | null | undefined;
|
|
3621
|
+
}[];
|
|
3622
|
+
};
|
|
3623
|
+
maxReasoningTokens?: number | undefined;
|
|
3624
|
+
};
|
|
3625
|
+
declare const Gemini3ProPreviewOptions: z.ZodObject<{
|
|
3626
|
+
modelName: z.ZodString;
|
|
3627
|
+
apiKey: z.ZodString;
|
|
3628
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3629
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
3630
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
3631
|
+
}, "strip", z.ZodTypeAny, {
|
|
3632
|
+
modelName: string;
|
|
3633
|
+
apiKey: string;
|
|
3634
|
+
baseUrl?: string | undefined;
|
|
3635
|
+
completeChatUrl?: string | undefined;
|
|
3636
|
+
streamChatUrl?: string | undefined;
|
|
3637
|
+
}, {
|
|
3638
|
+
modelName: string;
|
|
3639
|
+
apiKey: string;
|
|
3640
|
+
baseUrl?: string | undefined;
|
|
3641
|
+
completeChatUrl?: string | undefined;
|
|
3642
|
+
streamChatUrl?: string | undefined;
|
|
3643
|
+
}>;
|
|
3644
|
+
type Gemini3ProPreviewOptionsType = z.infer<typeof Gemini3ProPreviewOptions>;
|
|
3645
|
+
declare class Gemini3ProPreview extends BaseChatModel {
|
|
3646
|
+
constructor(options: Gemini3ProPreviewOptionsType);
|
|
3647
|
+
}
|
|
3648
|
+
|
|
3561
3649
|
declare const GoogleEmbeddingModelModalities: EmbeddingModelSchemaType["modalities"];
|
|
3562
3650
|
declare const GoogleEmbeddingModelModalitiesEnum: z.ZodEnum<["text"]>;
|
|
3563
3651
|
|
|
@@ -3872,4 +3960,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
3872
3960
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
3873
3961
|
}
|
|
3874
3962
|
|
|
3875
|
-
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, 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, 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 };
|
|
3963
|
+
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_THRESHOLDS, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -443,6 +443,8 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
|
|
|
443
443
|
};
|
|
444
444
|
};
|
|
445
445
|
|
|
446
|
+
declare const GOOGLE_SAFETY_CATEGORIES: readonly ["HARM_CATEGORY_UNSPECIFIED", "HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_CIVIC_INTEGRITY"];
|
|
447
|
+
declare const GOOGLE_SAFETY_THRESHOLDS: readonly ["HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", "OFF"];
|
|
446
448
|
declare const temperature: (max: number, _default: number) => {
|
|
447
449
|
def: {
|
|
448
450
|
type: "range";
|
|
@@ -3558,6 +3560,92 @@ declare class Gemini2_5Pro extends BaseChatModel {
|
|
|
3558
3560
|
constructor(options: Gemini2_5ProOptionsType);
|
|
3559
3561
|
}
|
|
3560
3562
|
|
|
3563
|
+
declare const Gemini3ProPreviewLiteral = "gemini-3-pro-preview";
|
|
3564
|
+
declare const Gemini3ProPreviewSchema: {
|
|
3565
|
+
description: string;
|
|
3566
|
+
maxOutputTokens: number;
|
|
3567
|
+
name: string;
|
|
3568
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3569
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
3570
|
+
maxInputTokens: number;
|
|
3571
|
+
config: {
|
|
3572
|
+
def: Record<string, {
|
|
3573
|
+
type: "multi-string";
|
|
3574
|
+
param: string;
|
|
3575
|
+
title: string;
|
|
3576
|
+
description: string;
|
|
3577
|
+
max: number;
|
|
3578
|
+
} | {
|
|
3579
|
+
type: "object-schema";
|
|
3580
|
+
param: string;
|
|
3581
|
+
title: string;
|
|
3582
|
+
description: string;
|
|
3583
|
+
objectSchema?: any;
|
|
3584
|
+
} | {
|
|
3585
|
+
type: "range";
|
|
3586
|
+
param: string;
|
|
3587
|
+
title: string;
|
|
3588
|
+
description: string;
|
|
3589
|
+
max: number;
|
|
3590
|
+
default: number;
|
|
3591
|
+
min: number;
|
|
3592
|
+
step: number;
|
|
3593
|
+
} | {
|
|
3594
|
+
type: "select-boolean";
|
|
3595
|
+
param: string;
|
|
3596
|
+
title: string;
|
|
3597
|
+
description: string;
|
|
3598
|
+
default: boolean | null;
|
|
3599
|
+
} | {
|
|
3600
|
+
type: "select-string";
|
|
3601
|
+
param: string;
|
|
3602
|
+
title: string;
|
|
3603
|
+
description: string;
|
|
3604
|
+
default: string;
|
|
3605
|
+
choices: string[];
|
|
3606
|
+
}>;
|
|
3607
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3608
|
+
};
|
|
3609
|
+
price: {
|
|
3610
|
+
modelName: string;
|
|
3611
|
+
currency: string;
|
|
3612
|
+
tokenRanges: {
|
|
3613
|
+
minTokens: number;
|
|
3614
|
+
prices: {
|
|
3615
|
+
base: {
|
|
3616
|
+
inputPricePerMillion: number;
|
|
3617
|
+
outputPricePerMillion: number;
|
|
3618
|
+
};
|
|
3619
|
+
};
|
|
3620
|
+
maxTokens?: number | null | undefined;
|
|
3621
|
+
}[];
|
|
3622
|
+
};
|
|
3623
|
+
maxReasoningTokens?: number | undefined;
|
|
3624
|
+
};
|
|
3625
|
+
declare const Gemini3ProPreviewOptions: z.ZodObject<{
|
|
3626
|
+
modelName: z.ZodString;
|
|
3627
|
+
apiKey: z.ZodString;
|
|
3628
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3629
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
3630
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
3631
|
+
}, "strip", z.ZodTypeAny, {
|
|
3632
|
+
modelName: string;
|
|
3633
|
+
apiKey: string;
|
|
3634
|
+
baseUrl?: string | undefined;
|
|
3635
|
+
completeChatUrl?: string | undefined;
|
|
3636
|
+
streamChatUrl?: string | undefined;
|
|
3637
|
+
}, {
|
|
3638
|
+
modelName: string;
|
|
3639
|
+
apiKey: string;
|
|
3640
|
+
baseUrl?: string | undefined;
|
|
3641
|
+
completeChatUrl?: string | undefined;
|
|
3642
|
+
streamChatUrl?: string | undefined;
|
|
3643
|
+
}>;
|
|
3644
|
+
type Gemini3ProPreviewOptionsType = z.infer<typeof Gemini3ProPreviewOptions>;
|
|
3645
|
+
declare class Gemini3ProPreview extends BaseChatModel {
|
|
3646
|
+
constructor(options: Gemini3ProPreviewOptionsType);
|
|
3647
|
+
}
|
|
3648
|
+
|
|
3561
3649
|
declare const GoogleEmbeddingModelModalities: EmbeddingModelSchemaType["modalities"];
|
|
3562
3650
|
declare const GoogleEmbeddingModelModalitiesEnum: z.ZodEnum<["text"]>;
|
|
3563
3651
|
|
|
@@ -3872,4 +3960,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
3872
3960
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
3873
3961
|
}
|
|
3874
3962
|
|
|
3875
|
-
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, 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, 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 };
|
|
3963
|
+
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_THRESHOLDS, 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 };
|