From 0fde4189a21bfe83c7897046fbcd66234e7f3709 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Tue, 9 Sep 2025 17:55:57 -0400 Subject: [PATCH] wip --- specs.json | 47 +++++++++++++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/specs.json b/specs.json index c3a400c..bada20b 100644 --- a/specs.json +++ b/specs.json @@ -1,19 +1,4 @@ { - "pipeline": { - "properties": { - "id": "string", - "stt": "#recognizer", - "tts": "#synthesizer", - "vad": "#vad", - "llm": "#llm", - "preflightLlm": "boolean", - "actionHook": "object|string" - }, - "required": [ - "stt", - "tts" - ] - }, "alert" : { "properties": { "id": "string", @@ -480,7 +465,6 @@ }, "required": [ "vendor", - "auth", "llmOptions" ] }, @@ -1309,5 +1293,36 @@ "streaming": "boolean", "sampleRate": "number" } + }, + "pipeline": { + "properties": { + "id": "string", + "stt": "#recognizer", + "tts": "#synthesizer", + "vad": "#vad", + "turnDetection": "#turnDetectionPipeline", + "llm": "#llm", + "preflightLlm": "boolean", + "actionHook": "object|string", + "eventHook": "object|string" + }, + "required": [ + "stt", + "llm", + "tts" + ] + }, + "turnDetectionPipeline": { + "properties": { + "vendor": { + "type": "string", + "enum": ["krisp"] + }, + "threshold": "number", + "preflightThreshold": "number" + }, + "required": [ + "vendor" + ] } }