dialogflow

manipulating a specific context using output context response

荒凉一梦 提交于 2020-06-29 06:44:52
问题 I'm currently trying to change a specific value of one of my context using webhook response and from what I found, the following should work: { "fulfillmentText": ${textToSpeech}, "fulfillmentMessages": [{ "text": { "text": [${text}] } }], "payload": { "google": { "expectUserResponse": true, "richResponse": { "items": [ { "simpleResponse": { "textToSpeech": ${textToSpeech}, "displayText": ${text} } } ], "suggestions": ${suggestions}, "linkOutSuggestion": { "destinationName": "Feedback", "url"

manipulating a specific context using output context response

拟墨画扇 提交于 2020-06-29 06:44:37
问题 I'm currently trying to change a specific value of one of my context using webhook response and from what I found, the following should work: { "fulfillmentText": ${textToSpeech}, "fulfillmentMessages": [{ "text": { "text": [${text}] } }], "payload": { "google": { "expectUserResponse": true, "richResponse": { "items": [ { "simpleResponse": { "textToSpeech": ${textToSpeech}, "displayText": ${text} } } ], "suggestions": ${suggestions}, "linkOutSuggestion": { "destinationName": "Feedback", "url"

How to use google assistant link out suggestion in DialogFlow?

自作多情 提交于 2020-06-29 05:17:19
问题 I have two google assistant responses: simple response, cause I must to make it for google assistant link out suggestion response, which I need to display When I test it, a have just simple response. Can you prompt please, what should I do to get linked out suggestion response? 回答1: You have sent a screenshot of the speech interactions of your conversation. Suggestion chips are only shown in the visual display section of the simulator. This can be found on the left side of the web page,

Dialogflow Messenger V1 not rendering rich response messages

放肆的年华 提交于 2020-06-29 05:05:16
问题 How can I get Dialogflow Messenger v1 to display moch response messages, specifically Quick Replies (a button that sends text when clicked)? When provided with the below WebhookResponse (v2), the Dialogflow Console debugger correctly displays text_1, quick_reply_1, quick_reply_2, text_2 However, Dialogflow Messenger only displays the plain text, i.e. 'text_1 text_2' See screenshot { "responseId": "XXX", "queryResult": { "queryText": "cancel", "parameters": {}, "allRequiredParamsPresent": true

slot filling triggers different intent in dialogflow

两盒软妹~` 提交于 2020-06-29 04:09:06
问题 I have two intents pizzaSelected and burgerSelected in both intents I am asking for required parameters I have below entities @pizza [pepperoni, farmhouse, country special, cheese] @pizzaSize [small, medium, large] @burger [veg, beef, ham] @burgerToppings [onion, tomato, lettuce, pepper] expected conversation user: order 2 burgers bot: which burger? user: cheese bot: sorry but we have veg, beef and ham burgers. please select one from this. user: veg bot: toppings? user: tomato and lettuce bot

Unlinking the Google account from DialogFlow conversation

邮差的信 提交于 2020-06-29 03:50:33
问题 How can we Unlink the google account from the particular intent in inline code? There are no built-in actions to trigger sign out like there are for sign in (actions_intent_SIGN_IN). Suppose user by mistaken logged in via some another account and now he wants to switch. How we can provide this facility? 回答1: Currently it is not possible to unlink the Account via Voice. But the user can reset the Account at the Action Directory on the bottom of the side. 来源: https://stackoverflow.com/questions

Triggering next intent without user input in Dialogflow

拥有回忆 提交于 2020-06-26 14:45:11
问题 I'm building my first chatbot using Dialogflow. During my chat sessions, I would like to move on from one intent to another, without having user input in between. This can be seen in this image on Imgur. The layout of the chat so far can be seen here. I'm supposed to move from showing the video or article directly to "allright has your car..." without any user input, but I don't seem to be able to. How do I solve this? I've tried using in and output contexts, but that didn't seem to work.

Triggering next intent without user input in Dialogflow

大兔子大兔子 提交于 2020-06-26 14:44:25
问题 I'm building my first chatbot using Dialogflow. During my chat sessions, I would like to move on from one intent to another, without having user input in between. This can be seen in this image on Imgur. The layout of the chat so far can be seen here. I'm supposed to move from showing the video or article directly to "allright has your car..." without any user input, but I don't seem to be able to. How do I solve this? I've tried using in and output contexts, but that didn't seem to work.

Dialogflow Slack Events

我是研究僧i 提交于 2020-06-16 05:21:32
问题 Building a chatbot for Slack with Dialoglow and a custom fulfillment. I want to receive and handle the Slack event when the user opens a dialog with Bot. Event is im_created I've checked on the custom subscription URL (without Dialoglow) and I'm able to receive this event. But inside Dialoglow I don't get any events. I suppose the problem is with the naming of events (attached as a link). Did somebody encounter this? Plus, I don't receive any other events. Request URL inside Slack is valid

Convert Dialogfow duration system entity from minutes to seconds in JavaScript

萝らか妹 提交于 2020-06-09 06:46:42
问题 I am looking for ways to convert a Duration (@sys.duration) system entity from Dialogflow in JavaScript code from minutes to seconds. I ask the user for a certain duration, where the user can answer, e.g.: 20 minutes 5 minutes etc. that input is saved into a variable the_duration. Now to do certain calculations, I need to convert this into seconds. How can I achieve this? EDIT: Perhaps it would help if I need to extract the number from the string? I've tried looking for this way, but provided