@ai-sdk/deepgram 3.0.0-canary.47 → 3.0.0-canary.49
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 +16 -0
- package/README.md +3 -3
- package/dist/index.js +1 -1
- package/docs/110-deepgram.mdx +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @ai-sdk/deepgram
|
|
2
2
|
|
|
3
|
+
## 3.0.0-canary.49
|
|
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
|
+
|
|
12
|
+
## 3.0.0-canary.48
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [bae5e2b]
|
|
17
|
+
- @ai-sdk/provider-utils@5.0.0-canary.47
|
|
18
|
+
|
|
3
19
|
## 3.0.0-canary.47
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ import { deepgram } from '@ai-sdk/deepgram';
|
|
|
35
35
|
|
|
36
36
|
```ts
|
|
37
37
|
import { deepgram } from '@ai-sdk/deepgram';
|
|
38
|
-
import {
|
|
38
|
+
import { transcribe } from 'ai';
|
|
39
39
|
|
|
40
40
|
const { text } = await transcribe({
|
|
41
41
|
model: deepgram.transcription('nova-3'),
|
|
@@ -49,7 +49,7 @@ const { text } = await transcribe({
|
|
|
49
49
|
|
|
50
50
|
```ts
|
|
51
51
|
import { deepgram } from '@ai-sdk/deepgram';
|
|
52
|
-
import {
|
|
52
|
+
import { transcribe } from 'ai';
|
|
53
53
|
|
|
54
54
|
const { text, language } = await transcribe({
|
|
55
55
|
model: deepgram.transcription('nova-3'),
|
|
@@ -68,7 +68,7 @@ const { text, language } = await transcribe({
|
|
|
68
68
|
|
|
69
69
|
```ts
|
|
70
70
|
import { deepgram } from '@ai-sdk/deepgram';
|
|
71
|
-
import {
|
|
71
|
+
import { generateSpeech } from 'ai';
|
|
72
72
|
|
|
73
73
|
const { audio } = await generateSpeech({
|
|
74
74
|
model: deepgram.speech('aura-2-helena-en'),
|
package/dist/index.js
CHANGED
|
@@ -610,7 +610,7 @@ var DeepgramSpeechModel = class _DeepgramSpeechModel {
|
|
|
610
610
|
};
|
|
611
611
|
|
|
612
612
|
// src/version.ts
|
|
613
|
-
var VERSION = true ? "3.0.0-canary.
|
|
613
|
+
var VERSION = true ? "3.0.0-canary.49" : "0.0.0-test";
|
|
614
614
|
|
|
615
615
|
// src/deepgram-provider.ts
|
|
616
616
|
function createDeepgram(options = {}) {
|
package/docs/110-deepgram.mdx
CHANGED
|
@@ -78,7 +78,7 @@ const model = deepgram.speech('aura-2-helena-en');
|
|
|
78
78
|
You can use the model with the `generateSpeech` function:
|
|
79
79
|
|
|
80
80
|
```ts
|
|
81
|
-
import {
|
|
81
|
+
import { generateSpeech } from 'ai';
|
|
82
82
|
import { deepgram } from '@ai-sdk/deepgram';
|
|
83
83
|
|
|
84
84
|
const result = await generateSpeech({
|
|
@@ -90,7 +90,7 @@ const result = await generateSpeech({
|
|
|
90
90
|
You can also pass additional provider-specific options using the `providerOptions` argument:
|
|
91
91
|
|
|
92
92
|
```ts highlight="7-11"
|
|
93
|
-
import {
|
|
93
|
+
import { generateSpeech } from 'ai';
|
|
94
94
|
import { deepgram, type DeepgramSpeechModelOptions } from '@ai-sdk/deepgram';
|
|
95
95
|
|
|
96
96
|
const result = await generateSpeech({
|
|
@@ -182,7 +182,7 @@ const model = deepgram.transcription('nova-3');
|
|
|
182
182
|
You can also pass additional provider-specific options using the `providerOptions` argument. For example, supplying the `summarize` option will enable summaries for sections of content.
|
|
183
183
|
|
|
184
184
|
```ts highlight="6"
|
|
185
|
-
import {
|
|
185
|
+
import { transcribe } from 'ai';
|
|
186
186
|
import {
|
|
187
187
|
deepgram,
|
|
188
188
|
type DeepgramTranscriptionModelOptions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/deepgram",
|
|
3
|
-
"version": "3.0.0-canary.
|
|
3
|
+
"version": "3.0.0-canary.49",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ai-sdk/provider": "4.0.0-canary.18",
|
|
33
|
-
"@ai-sdk/provider-utils": "5.0.0-canary.
|
|
33
|
+
"@ai-sdk/provider-utils": "5.0.0-canary.48"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "22.19.19",
|