Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pokedex Bot: sample fulfillment server request body from Dialogflow
{
"responseId":"xxxx-xxx-xxx-xx-xxxxxx-xxxxx",
"queryResult":{
"queryText":"What is super effective against ice type?",
"parameters":{
"pokemon_types":"ice",
"type_effectiveness":"double_damage_from"
},
"allRequiredParamsPresent":true,
"fulfillmentMessages":[
{
"text":{
"text":[
""
]
}
}
],
"outputContexts":[
{
"name":"projects/newagent-xxxxx/agent/sessions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx/contexts/type_effectiveness",
"lifespanCount":5,
"parameters":{
"pokemon_types":"ice",
"pokemon_types.original":"ice",
"type_effectiveness":"double_damage_from",
"type_effectiveness.original":"super effective against"
}
}
],
"intent":{
"name":"projects/newagent-xxxxx/agent/intents/xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
"displayName":"get_type_effectiveness"
},
"intentDetectionConfidence":1,
"languageCode":"en"
},
"originalDetectIntentRequest":{
"payload":{
}
},
"session":"projects/newagent-xxxxx/agent/sessions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment