mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
support whisper instructions (#1198)
* support whisper instructions * wip * update speech utils and verb specification
This commit is contained in:
@@ -21,6 +21,7 @@ class TtsTask extends Task {
|
||||
this.synthesizer = this.data.synthesizer || {};
|
||||
this.disableTtsCache = this.data.disableTtsCache;
|
||||
this.options = this.synthesizer.options || {};
|
||||
this.instructions = this.data.instructions;
|
||||
}
|
||||
|
||||
async exec(cs) {
|
||||
@@ -262,6 +263,7 @@ class TtsTask extends Task {
|
||||
const {filePath, servedFromCache, rtt} = await synthAudio(stats, {
|
||||
account_sid,
|
||||
text,
|
||||
instructions: this.instructions,
|
||||
vendor,
|
||||
language,
|
||||
voice,
|
||||
|
||||
Reference in New Issue
Block a user