I created Intents, entities so and so using \'Dialogflow chat-bot\', Now,I\'m trying to integrate dialogflow with my website(html), I followed the documented instructions from
As per all response, my own conclusion also says that web demo is not a right way...
Our main interest in this method : projects.agent.sessions.detectIntent
Check out this link first : https://cloud.google.com/dialogflow-enterprise/docs/reference/rest/v2/projects.agent.sessions/detectIntent#QueryInput
On this page, check out Request body and it's param QueryInput
. In query input you can pass text. And then check out Response body. In response queryResult
is what we are looking for.
One more thing is, we must use gRPC
API rather then rest
API.