deepgram: endpointing support number

This commit is contained in:
Quan HL
2023-04-28 11:32:15 +07:00
parent 8ae7419b7a
commit 017b8cd0c3
2 changed files with 24 additions and 2 deletions

View File

@@ -627,7 +627,7 @@
"search": "array",
"replace": "array",
"keywords": "array",
"endpointing": "boolean",
"endpointing": "boolean | number",
"vadTurnoff": "number",
"tag": "string"
}

View File

@@ -110,7 +110,10 @@ test("validate correct verbs", async (t) => {
"vendor": "google",
"language": "en-US",
"hints": ["sales", "support"],
"hintsBoost": 10
"hintsBoost": 10,
"deepgramOptions": {
"endpointing": 500
}
},
"say": {
"text": "To speak to Sales press 1 or say Sales. To speak to customer support press 2 or say Support",
@@ -120,6 +123,25 @@ test("validate correct verbs", async (t) => {
}
}
},
{
"verb": "gather",
"actionHook": "http://example.com/collect",
"input": ["digits", "speech"],
"bargein": true,
"dtmfBargein": true,
"finishOnKey": "#",
"numDigits": 5,
"timeout": 8,
"recognizer": {
"vendor": "google",
"language": "en-US",
"hints": ["sales", "support"],
"hintsBoost": 10,
"deepgramOptions": {
"endpointing": true
}
},
},
{
"verb": "hangup",
"headers": {