dialogflow

Webhook call failed. Error: DEADLINE_EXCEEDED | Request timed out

半腔热情 提交于 2020-03-21 06:38:10
问题 I'm using ASP.Net for back-end webhook. Some of requests are executed successfully and few are receiving this error: Webhook call failed. Error: DEADLINE_EXCEEDED But when I added a slightly big operation which takes least 2 seconds to complete and responds in around 3 seconds I'm continuously receiving this error. The issue I think is only request time out. I can't speed up my response as it routes between 2-3 3rd party servers. So in someway I need to increase the response wait time in

How to throw a custom message using Dialogflow after three times of fallback

冷暖自知 提交于 2020-03-16 06:58:30
问题 I am developing a chatbot using Dialogflow, I would like to throw a message to user when the chatbot doesn't understand the user input for three times in a row and for the forth time respond with a custom message (not the one of the options declared on the dialogflow interface) One idea that I have is to make a counter within the input unknown action like this: var counter = 1; // The default fallback intent has been matched, try to recover (https://dialogflow.com/docs/intents#fallback

How to throw a custom message using Dialogflow after three times of fallback

房东的猫 提交于 2020-03-16 06:57:09
问题 I am developing a chatbot using Dialogflow, I would like to throw a message to user when the chatbot doesn't understand the user input for three times in a row and for the forth time respond with a custom message (not the one of the options declared on the dialogflow interface) One idea that I have is to make a counter within the input unknown action like this: var counter = 1; // The default fallback intent has been matched, try to recover (https://dialogflow.com/docs/intents#fallback

actions on google userStorage only during session

一曲冷凌霜 提交于 2020-03-05 06:58:05
问题 For certain users, the actions on google userStorage object lives only during sessions. When the next launch request comes, it disappears (it's not in the incoming json). I recreate it with a new user id - everything is fine during the session, then I lose the stored state because I have to generate a new user id. For most of the users it works fine. Am I missing something in the device setup? Voice identification? We are using DialogFlow but I don't think it is relevant. 回答1: Have those

Get original parameter input - Dialogflow Fulfillment

て烟熏妆下的殇ゞ 提交于 2020-03-05 04:42:05
问题 I want to get the original input of a parameter in my fulfillment code. I tried: var time = agent.parameters.time.original but the result was undefined. I have tried: var query = agent.query but could not accurately parse the parameter I need the original input of. 回答1: According to an answer on the old API.ai discourse forums, it looks like original parameters may only be available in a webhook fulfillment request if you set a context on the intent. At that point, the original parameter

How to repeat last response of bot in dialogflow

这一生的挚爱 提交于 2020-03-04 07:22:10
问题 I am new to dialogflow.I want to know there is any way on dialogflowto repeat last response of bot ,if I tell "repeat". I have lot of follow-up intent so for each intents not possible to make a follow-up intent Repeat. 回答1: Libraries like multivocal store the last response and provide a handler for a "repeat" intent that will play the response again. So all you need to do is use the library and create an Intent such as this with "multivocal.repeat" set as the action and the webhook

Is there a way to retrieve the conversation history in Dialogflow?

余生长醉 提交于 2020-03-02 03:56:27
问题 Is there a way to obtain the full conversation between the user and agent. Pretty much similar to what I get by clicking the history tag but programmatically. The point is to save the interaction between user and agent as text. Thank you guys in advanced! 回答1: There's no API to retrieve the history from Dialogflow directly. But what you can do is enable logging. Agent Settings > General > Log Settings > Log interactions to Google Cloud And all the interactions will be logged into Google

Is there a way to retrieve the conversation history in Dialogflow?

老子叫甜甜 提交于 2020-03-02 03:55:25
问题 Is there a way to obtain the full conversation between the user and agent. Pretty much similar to what I get by clicking the history tag but programmatically. The point is to save the interaction between user and agent as text. Thank you guys in advanced! 回答1: There's no API to retrieve the history from Dialogflow directly. But what you can do is enable logging. Agent Settings > General > Log Settings > Log interactions to Google Cloud And all the interactions will be logged into Google

Is there a way to retrieve the conversation history in Dialogflow?

随声附和 提交于 2020-03-02 03:55:05
问题 Is there a way to obtain the full conversation between the user and agent. Pretty much similar to what I get by clicking the history tag but programmatically. The point is to save the interaction between user and agent as text. Thank you guys in advanced! 回答1: There's no API to retrieve the history from Dialogflow directly. But what you can do is enable logging. Agent Settings > General > Log Settings > Log interactions to Google Cloud And all the interactions will be logged into Google

DialogFlow date intent always triggered over another similar date intent

瘦欲@ 提交于 2020-02-25 06:06:55
问题 Good day All, I have a situation where am building the fulfilment service for the Flights Pre-built agent in Dialogflow . Below is a sample interaction in the application. I want a return flight from London to New York - DialogFlow/Fulfilment back-end picks up the users Ticket-Type[return], To[New York] and From[London] entities. The fulfilment service responds with - What date do you plan to travel? E.g next week Monday or 1st of April User enters Tomorrow - Dialogflow captures the users