Created
July 13, 2019 08:07
-
-
Save anchetaWern/d98177266aaba98e982e972b267b3b35 to your computer and use it in GitHub Desktop.
Pokedex Bot: sample fulfillment server request body from Dialogflow
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":"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