dialogflow-es

Google chat custom cards using dialogflow fulfilment webhook

社会主义新天地 提交于 2020-12-26 09:08:53
问题 I am trying to integrate DialogFlow bot with Hangouts Chat (for G Suite). I have enabled the integration on DialogFlow and the basic intents are working fine. In order to perform backend operations using fulfillment, I have created a firebase cloud function and added this as the webhook URL on DialogFlow fulfillment page. I have written the cloud function code to identify the intent, and to generate the Webhook response format for a simple text response. This is working, and I am seeing the

Google chat custom cards using dialogflow fulfilment webhook

荒凉一梦 提交于 2020-12-26 09:08:10
问题 I am trying to integrate DialogFlow bot with Hangouts Chat (for G Suite). I have enabled the integration on DialogFlow and the basic intents are working fine. In order to perform backend operations using fulfillment, I have created a firebase cloud function and added this as the webhook URL on DialogFlow fulfillment page. I have written the cloud function code to identify the intent, and to generate the Webhook response format for a simple text response. This is working, and I am seeing the

Sending a button response to fb messenger via api.ai

别来无恙 提交于 2020-12-16 08:05:20
问题 I have started playing with diaglofFlow a.k.a api.ai with fb messenger integration. I defined an intent which current returns 3 responses. 2 text responses and 1 custom payload. the 2 text responses comes just fine but the custom payload which is suppose to return a button is not. the custom payload looks like { "recipient": { "id": "1234" }, "message": { "attachment": { "type": "template", "payload": { "template_type": "button", "text": "What do you want to do next?", "buttons": [ { "type":

How to get parameters from DialogFlow in Java (Android Studio)

爷,独闯天下 提交于 2020-12-15 03:27:08
问题 I need to get parameters from DialogFlow to my Android app. I tried using getQueryResult().getParameters().getFieldsMap() but the result is the following. {type=list_value { values { string_value: "pizza" } } , ristorante=string_value: "" } I would like to get just the string value "pizza" and not the entire FieldMap. I have already seen this topic, but it didn't help me, because I don't know what protobuf is and seems a bit complicated. Is there a simple way to get a parameter's value? 回答1:

Google Action and DialogFlow error “Sorry, this action is not available for your app”

一世执手 提交于 2020-12-01 09:21:48
问题 I created a DialogFlow app that works perfectly in my developer account. But I need to test it as another user, so in my Google Action simulator, I added another test account as a OWNER to the project. I verified this user has OWNER status in both the DialogFlow and Google Action UI. They are able to edit both projects with full access. However, when the test account tries to use the simulator it says: Sorry, this action is not available for your app. Sorry, this action is not available for