support dialogflow ces prompt

This commit is contained in:
Hoan HL
2026-03-09 14:57:28 +07:00
parent f29b214208
commit 321d45c444
2 changed files with 15 additions and 0 deletions

View File

@@ -329,6 +329,7 @@
"project": "string",
"agent": "string",
"environment": "string",
"deployment": "string",
"region": "string",
"model": {
"type": "string",
@@ -346,6 +347,7 @@
"thinkingMusic": "string",
"tts": "#synthesizer",
"bargein": "boolean",
"prompt": "string",
"queryInput": "#queryInput"
},
"required": [

View File

@@ -183,6 +183,19 @@ test("validate correct verbs", async (t) => {
"eventHook": "/dialogflow-event",
"actionHook": "/dialogflow-action"
},
{
"verb": "dialogflow",
"model": "ces",
"project": "my-ces-project",
"agent": "c22738db-87ac-432a-91ea-6d1fb98cbaad",
"region": "us",
"deployment": "my-deployment",
"lang": "en-US",
"credentials": "{\"type\": \"service_account\",\"project_id\": \"prj..",
"prompt": "hello",
"eventHook": "/dialogflow-event",
"actionHook": "/dialogflow-action"
},
{
"verb": "dtmf",
"dtmf": "0276",