You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@ai-sdk/google

Package Overview
Dependencies
Maintainers
3
Versions
407
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/google - npm Package Compare versions

Comparing version
2.0.60
to
2.0.61
+6
-0
CHANGELOG.md
# @ai-sdk/google
## 2.0.61
### Patch Changes
- 3399b61: feat(provider/google): support multimodal content parts in embedding provider options
## 2.0.60

@@ -4,0 +10,0 @@

@@ -187,2 +187,10 @@ import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils';

taskType?: "SEMANTIC_SIMILARITY" | "CLASSIFICATION" | "CLUSTERING" | "RETRIEVAL_DOCUMENT" | "RETRIEVAL_QUERY" | "QUESTION_ANSWERING" | "FACT_VERIFICATION" | "CODE_RETRIEVAL_QUERY" | undefined;
content?: ({
text: string;
} | {
inlineData: {
mimeType: string;
data: string;
};
})[] | undefined;
}>;

@@ -189,0 +197,0 @@ type GoogleGenerativeAIEmbeddingProviderOptions = InferValidator<typeof googleGenerativeAIEmbeddingProviderOptions>;

@@ -187,2 +187,10 @@ import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils';

taskType?: "SEMANTIC_SIMILARITY" | "CLASSIFICATION" | "CLUSTERING" | "RETRIEVAL_DOCUMENT" | "RETRIEVAL_QUERY" | "QUESTION_ANSWERING" | "FACT_VERIFICATION" | "CODE_RETRIEVAL_QUERY" | undefined;
content?: ({
text: string;
} | {
inlineData: {
mimeType: string;
data: string;
};
})[] | undefined;
}>;

@@ -189,0 +197,0 @@ type GoogleGenerativeAIEmbeddingProviderOptions = InferValidator<typeof googleGenerativeAIEmbeddingProviderOptions>;

+3
-3
{
"name": "@ai-sdk/google",
"version": "2.0.60",
"version": "2.0.61",
"license": "Apache-2.0",

@@ -29,4 +29,4 @@ "sideEffects": false,

"dependencies": {
"@ai-sdk/provider-utils": "3.0.22",
"@ai-sdk/provider": "2.0.1"
"@ai-sdk/provider": "2.0.1",
"@ai-sdk/provider-utils": "3.0.22"
},

@@ -33,0 +33,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display