From 38d1d04c4a56cc39ce3709b0f92243034482c725 Mon Sep 17 00:00:00 2001 From: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com> Date: Tue, 13 May 2025 18:49:16 +0700 Subject: [PATCH] support whisper say verb instructions (#95) --- specs.json | 1 + test/jambonz-verb-test.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/specs.json b/specs.json index c20a6bd..c86727e 100644 --- a/specs.json +++ b/specs.json @@ -213,6 +213,7 @@ "properties": { "id": "string", "text": "string|array", + "instructions": "string", "stream": "boolean", "loop": "number|string", "synthesizer": "#synthesizer", diff --git a/test/jambonz-verb-test.js b/test/jambonz-verb-test.js index b838f48..39ab116 100644 --- a/test/jambonz-verb-test.js +++ b/test/jambonz-verb-test.js @@ -221,6 +221,10 @@ test("validate correct verbs", async (t) => { "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": { "text": "To speak to Sales press 1 or say Sales. To speak to customer support press 2 or say Support", "synthesizer": {