@jambonz/schema 0.4.8 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -32,11 +32,15 @@
|
|
|
32
32
|
},
|
|
33
33
|
"agent": {
|
|
34
34
|
"type": "string",
|
|
35
|
-
"description": "The Dialogflow agent ID. Required for
|
|
35
|
+
"description": "The Dialogflow agent ID for CX, or the app ID for CES. Required for both."
|
|
36
36
|
},
|
|
37
37
|
"environment": {
|
|
38
38
|
"type": "string",
|
|
39
|
-
"description": "The Dialogflow environment to use."
|
|
39
|
+
"description": "The Dialogflow environment to use (CX)."
|
|
40
|
+
},
|
|
41
|
+
"deployment": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "The deployment to use (CES). Omit to use the app's default."
|
|
40
44
|
},
|
|
41
45
|
"region": {
|
|
42
46
|
"type": "string",
|
|
@@ -65,7 +69,7 @@
|
|
|
65
69
|
},
|
|
66
70
|
"toolHook": {
|
|
67
71
|
"$ref": "../components/actionHook",
|
|
68
|
-
"description": "A webhook invoked when the agent requests a client-side tool call (CX). Respond with {outputParameters} (or {error}) to resume the conversation."
|
|
72
|
+
"description": "A webhook invoked when the agent requests a client-side tool call (CX and CES). Respond with {outputParameters} (or {error}) to resume the conversation. The posted tool_call is each model's native shape: CX sends {tool, action, input_parameters}; CES sends {id, display_name, tool, args}. CES echoes its per-call id automatically, so you need not return it."
|
|
69
73
|
},
|
|
70
74
|
"events": {
|
|
71
75
|
"type": "array",
|