dialogflow-es

DialogFlow Implicit Invocation

别来无恙 提交于 2021-02-05 09:28:06
问题 I was hoping to get guidance into how I may use Dialog Flow to shorten the process of getting information from an action. For example, I would like to provide the following command: "Ok Google, Ask my test app what is the capital city of the US." However, I currently need to say: "Ok, Google, open my test app" I would then need to wait for a response before providing the name of the country that I need the capital city for. I'm finding the guidance from the Google documentation difficult to

DialogFlow Implicit Invocation

浪尽此生 提交于 2021-02-05 09:28:05
问题 I was hoping to get guidance into how I may use Dialog Flow to shorten the process of getting information from an action. For example, I would like to provide the following command: "Ok Google, Ask my test app what is the capital city of the US." However, I currently need to say: "Ok, Google, open my test app" I would then need to wait for a response before providing the name of the country that I need the capital city for. I'm finding the guidance from the Google documentation difficult to

Assigning a default value to a required parameter in Dialogflow Fulfillment

纵然是瞬间 提交于 2021-02-05 09:26:27
问题 TLDR; (title) How to assign a default value to a required parameter via Dialoflow Fulfillment? Long question: I have these 2 required parameters. user_id and user_pin. I utilized Fulfillment webhook call for slot-filling and everything seems to work well except this behavior: After an API call to the database to verify if user_id and user_pin matches and they do not match, Dialogflow chatbot responds with "Incorrect user pin please provide the correct pin." User then provides another user_pin

DialogFlow - send custom payload for telegram such as video

落爺英雄遲暮 提交于 2021-01-29 14:29:05
问题 Folks. I need to send video file from dialog flow as URI to telegram user. Tried: { "telegram": { "video": "https://" } } Tried to guess JSON format for fulfillment message via "payload" but nothing works. And I could not find documentation about the required format. How to do it ? 回答1: So apparently you cannot send a video in Telegram. According to doc the only supported rich responses are Image, Card, Quick Replay, and Custom Payload (which includes text and hyperlink). If you want to send

Dialogflow email address from speech

a 夏天 提交于 2021-01-29 14:20:42
问题 Does anyone have any suggestions for obtaining a user’s email address through speech? Written is quite straight forward as email addresses follow a pattern to some degree, but using speech is quite difficult. Is it best to simply ask the user to read out the characters one by one? 回答1: Dialogflow provides System entites for most common user inputs. You can use sys.email entity for your purpose and then use it in your fulfillment. Getting the above email address in your webhook fulfillment :

facebook messenger and dialogflow:: detect each event individually from multiple generic templates button

隐身守侯 提交于 2021-01-29 13:19:56
问题 I am working with chatbot and dialogflow is my nlp platform. Currently, I am using generic templates to show my products on messenger. Now, when customer clicks on buy now button from multiple templates buttons I want to detect which template button has been clicked (detect individual event) and want to set different message for different product from dialogflow . One way to do the job is using context but I want to know whether it is possible to achieve the same outcome without using context

Dialogflow sys.location to detect full address (?)

微笑、不失礼 提交于 2021-01-29 08:07:39
问题 I cant find a why to handle this situation: Agent: Tell me your address User Via j.f. Kennedy, Padova in my weebhook I would like to receive something like: {city:"Padova", streets:"Via John Fitzgerald Kennedy"} instead of the value of the street detect by dialogflow using sys.location: {city:"Padova", streets:"Via j.f Kennedy"} My goal is to have the full name of the streets in my weebhook, I read https://cloud.google.com/dialogflow-enterprise/docs/reference/system-entities but I dont find

Q. Is there a guaranteed max time limit for a Cloud function to execute? considering the occasional cold starts

邮差的信 提交于 2021-01-29 07:31:43
问题 I'm using Google dialogflow to make a Whatsapp Chatbot for a retail store. I'm using cloud functions to carry out certain operations such as create orders, fetch available products, which are common between other endpoints such as websites and apps. As cloud functions undergo cold starts, sometimes the cloud functions take long to respond and dialogflow fails in giving a response as it has a max response time of 5 seconds. Is there any upper limit on the time a cloud function can take to

Java : How to extract parameters from Google Dialogflow V2 response

淺唱寂寞╮ 提交于 2021-01-29 05:44:06
问题 Does anyone know how to extract the parameters returned by the Google dialogflow v2 response? I am able to get the intents and confidence properly as there are high level methods available to do so. But it seems there is no method to get the parameters/list of params. The response contains a google protobuf Struct that has the params. Does anyone know how to extract the parameter names and values from it. Here is a sample response query_text: "next friday" parameters { fields { key:

Unable to open dialogflow console

谁说胖子不能爱 提交于 2021-01-29 05:07:57
问题 After changing my Google Account ID, the Dialogflow console no longer opens. Please tell me how to solve it. It seems that others have reported such cases. (example) https://issuetracker.google.com/issues/154760284 回答1: You might be trying to access the console directly, and it is causing trouble to load the page. Try this: Go to Dialogflow and click "Sign-in" instead of clicking "Go to Console" directly After logging-in, now click "Go to Console" Dialogflow will prompt you "Sign-in with