Created
July 13, 2019 08:10
-
-
Save anchetaWern/da0d7698bbdffe93da3bdc0c58888e09 to your computer and use it in GitHub Desktop.
Pokedex Bot: sample Dialogflow response
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
{ | |
"responseId":"xxxxx-xxx-xx-xxx-xxxxx-xxxxxxx", | |
"queryResult":{ | |
"queryText":"Image of pikachu", | |
"parameters":{ | |
"specs":"photo", | |
"pokemon":"Pikachu" | |
}, | |
"allRequiredParamsPresent":true, | |
"fulfillmentText":"pikachu", | |
"fulfillmentMessages":[ | |
{ | |
"text":{ | |
"text":[ | |
"pikachu" | |
] | |
} | |
} | |
], | |
"webhookPayload":{ | |
"is_image":true, | |
"url":"https://www.pkparaiso.com/imagenes/xy/sprites/global_link/025.png" | |
}, | |
"outputContexts":[ | |
{ | |
"name":"projects/newagent-xxxx/agent/sessions/xxx-xxxx-xxx-xxx-xxxxxxxx/contexts/type_effectiveness", | |
"lifespanCount":4, | |
"parameters":{ | |
"pokemon.original":"pikachu", | |
"pokemon_types.original":"ice", | |
"specs":"photo", | |
"pokemon_types":"ice", | |
"type_effectiveness.original":"super effective against", | |
"pokemon":"Pikachu", | |
"type_effectiveness":"double_damage_from", | |
"specs.original":"Image" | |
} | |
} | |
], | |
"intent":{ | |
"name":"projects/newagent-xxxx/agent/intents/xxxxxx-739a-xxx-xxx-xxxxxxxx", | |
"displayName":"basic_data" | |
}, | |
"intentDetectionConfidence":1, | |
"diagnosticInfo":{ | |
"webhook_latency_ms":818 | |
}, | |
"languageCode":"en" | |
}, | |
"webhookStatus":{ | |
"message":"Webhook execution successful" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment