@adaline/google 1.12.1 → 1.12.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 +110 -1
- package/dist/index.d.ts +110 -1
- package/dist/index.js +121 -117
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4037,6 +4037,115 @@ declare class Gemini2_5Pro extends BaseChatModel {
|
|
|
4037
4037
|
constructor(options: Gemini2_5ProOptionsType);
|
|
4038
4038
|
}
|
|
4039
4039
|
|
|
4040
|
+
declare const Gemini3FlashPreviewLiteral = "gemini-3-flash-preview";
|
|
4041
|
+
declare const Gemini3FlashPreviewSchema: {
|
|
4042
|
+
description: string;
|
|
4043
|
+
maxOutputTokens: number;
|
|
4044
|
+
name: string;
|
|
4045
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4046
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4047
|
+
maxInputTokens: number;
|
|
4048
|
+
config: {
|
|
4049
|
+
def: Record<string, {
|
|
4050
|
+
type: "multi-string";
|
|
4051
|
+
param: string;
|
|
4052
|
+
title: string;
|
|
4053
|
+
description: string;
|
|
4054
|
+
max: number;
|
|
4055
|
+
} | {
|
|
4056
|
+
type: "object-schema";
|
|
4057
|
+
param: string;
|
|
4058
|
+
title: string;
|
|
4059
|
+
description: string;
|
|
4060
|
+
objectSchema?: any;
|
|
4061
|
+
} | {
|
|
4062
|
+
type: "paired-select";
|
|
4063
|
+
param: string;
|
|
4064
|
+
title: string;
|
|
4065
|
+
description: string;
|
|
4066
|
+
fields: [{
|
|
4067
|
+
label: string;
|
|
4068
|
+
key: string;
|
|
4069
|
+
choices: {
|
|
4070
|
+
value: string;
|
|
4071
|
+
label: string;
|
|
4072
|
+
}[];
|
|
4073
|
+
description?: string | undefined;
|
|
4074
|
+
}, {
|
|
4075
|
+
label: string;
|
|
4076
|
+
key: string;
|
|
4077
|
+
choices: {
|
|
4078
|
+
value: string;
|
|
4079
|
+
label: string;
|
|
4080
|
+
}[];
|
|
4081
|
+
description?: string | undefined;
|
|
4082
|
+
}];
|
|
4083
|
+
uniqueByField?: string | undefined;
|
|
4084
|
+
} | {
|
|
4085
|
+
type: "range";
|
|
4086
|
+
param: string;
|
|
4087
|
+
title: string;
|
|
4088
|
+
description: string;
|
|
4089
|
+
max: number;
|
|
4090
|
+
default: number;
|
|
4091
|
+
min: number;
|
|
4092
|
+
step: number;
|
|
4093
|
+
} | {
|
|
4094
|
+
type: "select-boolean";
|
|
4095
|
+
param: string;
|
|
4096
|
+
title: string;
|
|
4097
|
+
description: string;
|
|
4098
|
+
default: boolean | null;
|
|
4099
|
+
} | {
|
|
4100
|
+
type: "select-string";
|
|
4101
|
+
param: string;
|
|
4102
|
+
title: string;
|
|
4103
|
+
description: string;
|
|
4104
|
+
default: string;
|
|
4105
|
+
choices: string[];
|
|
4106
|
+
}>;
|
|
4107
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4108
|
+
};
|
|
4109
|
+
price: {
|
|
4110
|
+
modelName: string;
|
|
4111
|
+
currency: string;
|
|
4112
|
+
tokenRanges: {
|
|
4113
|
+
minTokens: number;
|
|
4114
|
+
prices: {
|
|
4115
|
+
base: {
|
|
4116
|
+
inputPricePerMillion: number;
|
|
4117
|
+
outputPricePerMillion: number;
|
|
4118
|
+
};
|
|
4119
|
+
};
|
|
4120
|
+
maxTokens?: number | null | undefined;
|
|
4121
|
+
}[];
|
|
4122
|
+
};
|
|
4123
|
+
maxReasoningTokens?: number | undefined;
|
|
4124
|
+
};
|
|
4125
|
+
declare const Gemini3FlashPreviewOptions: z.ZodObject<{
|
|
4126
|
+
modelName: z.ZodString;
|
|
4127
|
+
apiKey: z.ZodString;
|
|
4128
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4129
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
4130
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
4131
|
+
}, "strip", z.ZodTypeAny, {
|
|
4132
|
+
modelName: string;
|
|
4133
|
+
apiKey: string;
|
|
4134
|
+
baseUrl?: string | undefined;
|
|
4135
|
+
completeChatUrl?: string | undefined;
|
|
4136
|
+
streamChatUrl?: string | undefined;
|
|
4137
|
+
}, {
|
|
4138
|
+
modelName: string;
|
|
4139
|
+
apiKey: string;
|
|
4140
|
+
baseUrl?: string | undefined;
|
|
4141
|
+
completeChatUrl?: string | undefined;
|
|
4142
|
+
streamChatUrl?: string | undefined;
|
|
4143
|
+
}>;
|
|
4144
|
+
type Gemini3FlashPreviewOptionsType = z.infer<typeof Gemini3FlashPreviewOptions>;
|
|
4145
|
+
declare class Gemini3FlashPreview extends BaseChatModel {
|
|
4146
|
+
constructor(options: Gemini3FlashPreviewOptionsType);
|
|
4147
|
+
}
|
|
4148
|
+
|
|
4040
4149
|
declare const Gemini3ProPreviewLiteral = "gemini-3-pro-preview";
|
|
4041
4150
|
declare const Gemini3ProPreviewSchema: {
|
|
4042
4151
|
description: string;
|
|
@@ -4506,4 +4615,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
4506
4615
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
4507
4616
|
}
|
|
4508
4617
|
|
|
4509
|
-
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLiteSchema, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|
|
4618
|
+
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, 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
|
@@ -4037,6 +4037,115 @@ declare class Gemini2_5Pro extends BaseChatModel {
|
|
|
4037
4037
|
constructor(options: Gemini2_5ProOptionsType);
|
|
4038
4038
|
}
|
|
4039
4039
|
|
|
4040
|
+
declare const Gemini3FlashPreviewLiteral = "gemini-3-flash-preview";
|
|
4041
|
+
declare const Gemini3FlashPreviewSchema: {
|
|
4042
|
+
description: string;
|
|
4043
|
+
maxOutputTokens: number;
|
|
4044
|
+
name: string;
|
|
4045
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4046
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
4047
|
+
maxInputTokens: number;
|
|
4048
|
+
config: {
|
|
4049
|
+
def: Record<string, {
|
|
4050
|
+
type: "multi-string";
|
|
4051
|
+
param: string;
|
|
4052
|
+
title: string;
|
|
4053
|
+
description: string;
|
|
4054
|
+
max: number;
|
|
4055
|
+
} | {
|
|
4056
|
+
type: "object-schema";
|
|
4057
|
+
param: string;
|
|
4058
|
+
title: string;
|
|
4059
|
+
description: string;
|
|
4060
|
+
objectSchema?: any;
|
|
4061
|
+
} | {
|
|
4062
|
+
type: "paired-select";
|
|
4063
|
+
param: string;
|
|
4064
|
+
title: string;
|
|
4065
|
+
description: string;
|
|
4066
|
+
fields: [{
|
|
4067
|
+
label: string;
|
|
4068
|
+
key: string;
|
|
4069
|
+
choices: {
|
|
4070
|
+
value: string;
|
|
4071
|
+
label: string;
|
|
4072
|
+
}[];
|
|
4073
|
+
description?: string | undefined;
|
|
4074
|
+
}, {
|
|
4075
|
+
label: string;
|
|
4076
|
+
key: string;
|
|
4077
|
+
choices: {
|
|
4078
|
+
value: string;
|
|
4079
|
+
label: string;
|
|
4080
|
+
}[];
|
|
4081
|
+
description?: string | undefined;
|
|
4082
|
+
}];
|
|
4083
|
+
uniqueByField?: string | undefined;
|
|
4084
|
+
} | {
|
|
4085
|
+
type: "range";
|
|
4086
|
+
param: string;
|
|
4087
|
+
title: string;
|
|
4088
|
+
description: string;
|
|
4089
|
+
max: number;
|
|
4090
|
+
default: number;
|
|
4091
|
+
min: number;
|
|
4092
|
+
step: number;
|
|
4093
|
+
} | {
|
|
4094
|
+
type: "select-boolean";
|
|
4095
|
+
param: string;
|
|
4096
|
+
title: string;
|
|
4097
|
+
description: string;
|
|
4098
|
+
default: boolean | null;
|
|
4099
|
+
} | {
|
|
4100
|
+
type: "select-string";
|
|
4101
|
+
param: string;
|
|
4102
|
+
title: string;
|
|
4103
|
+
description: string;
|
|
4104
|
+
default: string;
|
|
4105
|
+
choices: string[];
|
|
4106
|
+
}>;
|
|
4107
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4108
|
+
};
|
|
4109
|
+
price: {
|
|
4110
|
+
modelName: string;
|
|
4111
|
+
currency: string;
|
|
4112
|
+
tokenRanges: {
|
|
4113
|
+
minTokens: number;
|
|
4114
|
+
prices: {
|
|
4115
|
+
base: {
|
|
4116
|
+
inputPricePerMillion: number;
|
|
4117
|
+
outputPricePerMillion: number;
|
|
4118
|
+
};
|
|
4119
|
+
};
|
|
4120
|
+
maxTokens?: number | null | undefined;
|
|
4121
|
+
}[];
|
|
4122
|
+
};
|
|
4123
|
+
maxReasoningTokens?: number | undefined;
|
|
4124
|
+
};
|
|
4125
|
+
declare const Gemini3FlashPreviewOptions: z.ZodObject<{
|
|
4126
|
+
modelName: z.ZodString;
|
|
4127
|
+
apiKey: z.ZodString;
|
|
4128
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4129
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
4130
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
4131
|
+
}, "strip", z.ZodTypeAny, {
|
|
4132
|
+
modelName: string;
|
|
4133
|
+
apiKey: string;
|
|
4134
|
+
baseUrl?: string | undefined;
|
|
4135
|
+
completeChatUrl?: string | undefined;
|
|
4136
|
+
streamChatUrl?: string | undefined;
|
|
4137
|
+
}, {
|
|
4138
|
+
modelName: string;
|
|
4139
|
+
apiKey: string;
|
|
4140
|
+
baseUrl?: string | undefined;
|
|
4141
|
+
completeChatUrl?: string | undefined;
|
|
4142
|
+
streamChatUrl?: string | undefined;
|
|
4143
|
+
}>;
|
|
4144
|
+
type Gemini3FlashPreviewOptionsType = z.infer<typeof Gemini3FlashPreviewOptions>;
|
|
4145
|
+
declare class Gemini3FlashPreview extends BaseChatModel {
|
|
4146
|
+
constructor(options: Gemini3FlashPreviewOptionsType);
|
|
4147
|
+
}
|
|
4148
|
+
|
|
4040
4149
|
declare const Gemini3ProPreviewLiteral = "gemini-3-pro-preview";
|
|
4041
4150
|
declare const Gemini3ProPreviewSchema: {
|
|
4042
4151
|
description: string;
|
|
@@ -4506,4 +4615,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
4506
4615
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
4507
4616
|
}
|
|
4508
4617
|
|
|
4509
|
-
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLiteSchema, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|
|
4618
|
+
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, 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 };
|