Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pokedex Bot: sample Dialogflow response
{
"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