Skip to content

Commit

Permalink
support deepgram (#579)
Browse files Browse the repository at this point in the history
* support deepgram

* update speech utils
  • Loading branch information
xquanluu authored Dec 26, 2023
1 parent 9eb315e commit 3e84748
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions lib/tasks/say.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ class TaskSay extends Task {
voice = arr[1];
model = arr[2];
}
} else if (vendor === 'deepgram') {
model = voice;
}

/* allow for microsoft custom region voice and api_key to be specified as an override */
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@jambonz/http-health-check": "^0.0.1",
"@jambonz/mw-registrar": "^0.2.4",
"@jambonz/realtimedb-helpers": "^0.8.7",
"@jambonz/speech-utils": "^0.0.31",
"@jambonz/speech-utils": "^0.0.33",
"@jambonz/stats-collector": "^0.1.9",
"@jambonz/time-series": "^0.2.8",
"@jambonz/verb-specifications": "^0.0.46",
Expand Down

0 comments on commit 3e84748

Please sign in to comment.