support whisper say verb instructions

This commit is contained in:
Quan HL
2025-05-13 15:55:35 +07:00
parent 5cbd3886d1
commit 03551a8608
2 changed files with 5 additions and 0 deletions

View File

@@ -213,6 +213,7 @@
"properties": { "properties": {
"id": "string", "id": "string",
"text": "string|array", "text": "string|array",
"instructions": "string",
"stream": "boolean", "stream": "boolean",
"loop": "number|string", "loop": "number|string",
"synthesizer": "#synthesizer", "synthesizer": "#synthesizer",

View File

@@ -221,6 +221,10 @@ test("validate correct verbs", async (t) => {
"fallbackVoice": "voice" "fallbackVoice": "voice"
} }
}, },
"say": {
"text": "To speak to Sales press 1 or say Sales. To speak to customer support press 2 or say Support",
"instructions": "Voice: High-energy, upbeat, and encouraging, projecting enthusiasm and motivation."
},
"say": { "say": {
"text": "To speak to Sales press 1 or say Sales. To speak to customer support press 2 or say Support", "text": "To speak to Sales press 1 or say Sales. To speak to customer support press 2 or say Support",
"synthesizer": { "synthesizer": {