Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Actions on Google v2 list selection event request JSON sample
Change-Id: I780e08f93534f7309396d15bdb7ee1bbee755c5a
- Loading branch information
Matt Carroll
committed
Mar 23, 2018
1 parent
3894a8c
commit a261cee
Showing
3 changed files
with
57 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,57 @@ | ||
{ | ||
"platform": "ACTIONS_ON_GOOGLE", | ||
"query": "actions_intent_OPTION", | ||
"arguments": { | ||
"input": { | ||
"OPTION": "key of selected item" | ||
"responseId": "ea166558-615a-48f3-ae5b-7f55d895784b", | ||
"queryResult": { | ||
"queryText": "actions_intent_OPTION", | ||
"action": "", | ||
"parameters": {}, | ||
"allRequiredParamsPresent": true, | ||
"fulfillmentText": "", | ||
"fulfillmentMessages": [], | ||
"outputContexts": [ | ||
{ | ||
"name": "projects/${PROJECTID}/agent/sessions/${SESSIONID}/contexts/actions_intent_option", | ||
"parameters": { | ||
"OPTION": "key of selected item" | ||
} | ||
} | ||
], | ||
"intent": { | ||
"name": "projects/${PROJECTID}/agent/intents/1777d616-a5f7-4838-a9a9-870f2956bd14", | ||
"displayName": "Dialogflow intent name of matched intent" | ||
}, | ||
"list": [ | ||
"key of selected item" | ||
] | ||
} | ||
} | ||
"intentDetectionConfidence": 1, | ||
"diagnosticInfo": {}, | ||
"languageCode": "en-us" | ||
}, | ||
"originalDetectIntentRequest": { | ||
"source": "google", | ||
"version": "2", | ||
"payload": { | ||
"isInSandbox": true, | ||
"surface": { | ||
"capabilities": [] | ||
}, | ||
"inputs": [ | ||
{ | ||
"rawInputs": [ | ||
{ | ||
"query": "Title of selected item", | ||
"inputType": "TOUCH" | ||
} | ||
], | ||
"arguments": [ | ||
{ | ||
"textValue": "Key of selected item", | ||
"name": "OPTION" | ||
} | ||
], | ||
"intent": "actions.intent.OPTION" | ||
} | ||
], | ||
"user": {}, | ||
"conversation": {}, | ||
"availableSurfaces": [] | ||
} | ||
}, | ||
"session": "projects/${PROJECTID}/agent/sessions/${SESSIONID}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters