mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-03-22 03:08:00 +00:00
support dialogflow ces prompt
This commit is contained in:
@@ -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": [
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user