@ai-sdk/google-vertex 5.0.65 → 5.0.67
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/CHANGELOG.md +15 -0
- package/dist/anthropic/edge/index.js +1 -1
- package/dist/edge/index.d.ts +7 -1
- package/dist/edge/index.js +571 -45
- package/dist/edge/index.js.map +1 -1
- package/dist/index.d.ts +67 -3
- package/dist/index.js +572 -45
- package/dist/index.js.map +1 -1
- package/dist/maas/edge/index.js +1 -1
- package/dist/xai/edge/index.js +1 -1
- package/package.json +2 -2
- package/src/gemini-transcription/google-vertex-gemini-transcription-model-options.ts +51 -0
- package/src/gemini-transcription/google-vertex-gemini-transcription-model.ts +709 -0
- package/src/google-vertex-provider-base.ts +25 -0
- package/src/index.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @ai-sdk/google-vertex
|
|
2
2
|
|
|
3
|
+
## 5.0.67
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [56d492f]
|
|
8
|
+
- @ai-sdk/google@4.0.55
|
|
9
|
+
|
|
10
|
+
## 5.0.66
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 1f7835c: feat (provider/google, provider/google-vertex): Gemini 3.5 Transcribe support — unary transcription (`gemini-3.5-transcribe`) via generateContent with language detection, speaker diarization, word timestamps, and custom vocabulary, plus streaming transcription (`gemini-3.5-transcribe-live`) over the Live API WebSocket with `mode: 'VERBATIM' | 'SMART'` transcription formatting
|
|
15
|
+
- Updated dependencies [1f7835c]
|
|
16
|
+
- @ai-sdk/google@4.0.54
|
|
17
|
+
|
|
3
18
|
## 5.0.65
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/edge/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { GoogleInteractionsModelId, GoogleInteractionsAgentName } from '@ai-sdk/
|
|
|
2
2
|
import * as _ai_sdk_provider from '@ai-sdk/provider';
|
|
3
3
|
import { EmbeddingModelV4, ProviderV4, LanguageModelV4, ImageModelV4, Experimental_VideoModelV4, SpeechModelV4, TranscriptionModelV4 } from '@ai-sdk/provider';
|
|
4
4
|
import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils';
|
|
5
|
-
import { Resolvable, FetchFunction, WORKFLOW_SERIALIZE, WORKFLOW_DESERIALIZE } from '@ai-sdk/provider-utils';
|
|
5
|
+
import { Resolvable, FetchFunction, WORKFLOW_SERIALIZE, WORKFLOW_DESERIALIZE, WebSocketConstructor } from '@ai-sdk/provider-utils';
|
|
6
6
|
|
|
7
7
|
type GoogleVertexEmbeddingModelId = 'textembedding-gecko' | 'textembedding-gecko@001' | 'textembedding-gecko@003' | 'textembedding-gecko-multilingual' | 'textembedding-gecko-multilingual@001' | 'text-multilingual-embedding-002' | 'text-embedding-004' | 'text-embedding-005' | 'gemini-embedding-001' | 'gemini-embedding-2' | 'gemini-embedding-2-preview' | (string & {});
|
|
8
8
|
|
|
@@ -164,6 +164,12 @@ interface GoogleVertexProviderSettings$1 {
|
|
|
164
164
|
* Base URL for the Google Vertex API calls.
|
|
165
165
|
*/
|
|
166
166
|
baseURL?: string;
|
|
167
|
+
/**
|
|
168
|
+
* Custom WebSocket implementation for streaming transcription. Useful for
|
|
169
|
+
* runtimes that need a WebSocket constructor with header support (e.g. the
|
|
170
|
+
* `ws` package in Node.js, which Vertex's OAuth Bearer header requires).
|
|
171
|
+
*/
|
|
172
|
+
webSocket?: WebSocketConstructor;
|
|
167
173
|
}
|
|
168
174
|
|
|
169
175
|
interface GoogleCredentials {
|