You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#session number, must be unique per session, if u plan to use intents in api.ai
session=Utils.randomNumber(0, 100000)
printfunc=(data)->
#data - is JSON response we get from apiai when we send string of text, you can check structure of response here -https://docs.api.ai/docs/query#response
#resolvedQuery is our string, speech - is the answer from the bot in api.ai