@ai-sdk/azure 4.0.0-canary.74 → 4.0.0-canary.75
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 +11 -0
- package/dist/index.js +1 -1
- package/docs/04-azure.mdx +3 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @ai-sdk/azure
|
|
2
2
|
|
|
3
|
+
## 4.0.0-canary.75
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [aeda373]
|
|
8
|
+
- Updated dependencies [375fdd7]
|
|
9
|
+
- Updated dependencies [b4507d5]
|
|
10
|
+
- @ai-sdk/provider-utils@5.0.0-canary.48
|
|
11
|
+
- @ai-sdk/deepseek@3.0.0-canary.54
|
|
12
|
+
- @ai-sdk/openai@4.0.0-canary.73
|
|
13
|
+
|
|
3
14
|
## 4.0.0-canary.74
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/dist/index.js
CHANGED
package/docs/04-azure.mdx
CHANGED
|
@@ -1056,7 +1056,7 @@ When using useDeploymentBasedUrls, the default api-version is not valid. You mus
|
|
|
1056
1056
|
You can also pass additional provider-specific options using the `providerOptions` argument. For example, supplying the input language in ISO-639-1 (e.g. `en`) format will improve accuracy and latency.
|
|
1057
1057
|
|
|
1058
1058
|
```ts highlight="6"
|
|
1059
|
-
import {
|
|
1059
|
+
import { transcribe } from 'ai';
|
|
1060
1060
|
import { azure, type OpenAITranscriptionModelOptions } from '@ai-sdk/azure';
|
|
1061
1061
|
import { readFile } from 'fs/promises';
|
|
1062
1062
|
|
|
@@ -1117,7 +1117,7 @@ const model = azure.speech('your-tts-deployment-name');
|
|
|
1117
1117
|
|
|
1118
1118
|
```ts
|
|
1119
1119
|
import { azure } from '@ai-sdk/azure';
|
|
1120
|
-
import {
|
|
1120
|
+
import { generateSpeech } from 'ai';
|
|
1121
1121
|
|
|
1122
1122
|
const result = await generateSpeech({
|
|
1123
1123
|
model: azure.speech('your-tts-deployment-name'),
|
|
@@ -1130,7 +1130,7 @@ You can also pass additional provider-specific options using the `providerOption
|
|
|
1130
1130
|
|
|
1131
1131
|
```ts
|
|
1132
1132
|
import { azure, type OpenAISpeechModelOptions } from '@ai-sdk/azure';
|
|
1133
|
-
import {
|
|
1133
|
+
import { generateSpeech } from 'ai';
|
|
1134
1134
|
|
|
1135
1135
|
const result = await generateSpeech({
|
|
1136
1136
|
model: azure.speech('your-tts-deployment-name'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/azure",
|
|
3
|
-
"version": "4.0.0-canary.
|
|
3
|
+
"version": "4.0.0-canary.75",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@ai-sdk/deepseek": "3.0.0-canary.
|
|
33
|
-
"@ai-sdk/openai": "4.0.0-canary.
|
|
32
|
+
"@ai-sdk/deepseek": "3.0.0-canary.54",
|
|
33
|
+
"@ai-sdk/openai": "4.0.0-canary.73",
|
|
34
34
|
"@ai-sdk/provider": "4.0.0-canary.18",
|
|
35
|
-
"@ai-sdk/provider-utils": "5.0.0-canary.
|
|
35
|
+
"@ai-sdk/provider-utils": "5.0.0-canary.48"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "22.19.19",
|