@mastra/voice-deepgram 0.13.1-alpha.0 → 0.13.1
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/README.md +7 -26
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mastra/voice-deepgram
|
|
2
2
|
|
|
3
|
-
Deepgram
|
|
3
|
+
Add Deepgram text-to-speech and speech-to-text to Mastra with configurable models, voices, languages, synthesis, and streaming transcription.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -8,14 +8,6 @@ Deepgram voice integration for Mastra, providing both Text-to-Speech (TTS) and S
|
|
|
8
8
|
npm install @mastra/voice-deepgram
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## Configuration
|
|
12
|
-
|
|
13
|
-
The module requires a Deepgram API key, which can be provided through environment variables or directly in the configuration:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
DEEPGRAM_API_KEY=your_api_key
|
|
17
|
-
```
|
|
18
|
-
|
|
19
11
|
## Usage
|
|
20
12
|
|
|
21
13
|
```typescript
|
|
@@ -50,25 +42,14 @@ const result = await voice.listen(audioStream, {
|
|
|
50
42
|
console.log(result.transcript);
|
|
51
43
|
```
|
|
52
44
|
|
|
53
|
-
##
|
|
54
|
-
|
|
55
|
-
- High-quality Text-to-Speech synthesis
|
|
56
|
-
- Accurate Speech-to-Text transcription
|
|
57
|
-
|
|
58
|
-
## Voice Options
|
|
59
|
-
|
|
60
|
-
Deepgram provides several AI voices with different characteristics:
|
|
45
|
+
## Documentation
|
|
61
46
|
|
|
62
|
-
-
|
|
63
|
-
- aura-athena-en (Female, American)
|
|
64
|
-
- aura-zeus-en (Male, American)
|
|
65
|
-
- aura-hera-en (Female, American)
|
|
66
|
-
- aura-orion-en (Male, American)
|
|
47
|
+
- [Deepgram](https://mastra.ai/integrations/voice/deepgram)
|
|
67
48
|
|
|
68
|
-
|
|
49
|
+
## Changelog
|
|
69
50
|
|
|
70
|
-
|
|
51
|
+
See the [package changelog](https://github.com/mastra-ai/mastra/blob/main/voice/deepgram/CHANGELOG.md) for version history and release notes.
|
|
71
52
|
|
|
72
|
-
|
|
53
|
+
## Support
|
|
73
54
|
|
|
74
|
-
|
|
55
|
+
We have an [open community Discord](https://discord.gg/mastra-ai). Come and say hello and let us know if you have any questions or need any help getting things running.
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-voice-deepgram
|
|
|
3
3
|
description: Documentation for @mastra/voice-deepgram. Use when working with @mastra/voice-deepgram APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/voice-deepgram"
|
|
6
|
-
version: "0.13.1
|
|
6
|
+
version: "0.13.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/voice-deepgram",
|
|
3
|
-
"version": "0.13.1
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"description": "Mastra Deepgram voice integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"tsx": "^4.23.1",
|
|
35
35
|
"typescript": "^7.0.2",
|
|
36
36
|
"vitest": "4.1.10",
|
|
37
|
-
"@internal/lint": "0.0.
|
|
38
|
-
"@internal/
|
|
39
|
-
"@internal/
|
|
37
|
+
"@internal/lint": "0.0.130",
|
|
38
|
+
"@internal/voice": "0.0.28",
|
|
39
|
+
"@internal/types-builder": "0.0.105"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"zod": "^3.25.0 || ^4.0.0"
|