dialogflow

What is the relationship between 'intents' and 'actions' in Dialogflow?

倾然丶 夕夏残阳落幕 提交于 2019-12-03 20:35:41
I'm having a bit of trouble conceptualizing the relationship between 'intents' and 'actions' in a Dialogflow agent. I get that intents map the user's spoken request to a particular feature of my fulfillment service, optionally carrying parameters as input variables. This is how intents are defined in the official documentation : "An intent represents a mapping between what a user says and what action should be taken by your software." But what then are actions? Their definition reads almost exactly the same: "An action corresponds to the step your application will take when a specific intent

How to use new Dialogflow SDK V2 in Android

人盡茶涼 提交于 2019-12-03 17:20:38
I'm a bit confused about the migration to Dialogflow V2: I have an Android app using https://github.com/dialogflow/dialogflow-android-client (1) that makes voice recognition via "AIService" and request to my Dialogflow Agent V1. Now with the release of Dialogflow V2, the docs point me to use: https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-dialogflow But I can not see correspondence to AIService in this new SDK for Java... all I've found is this: https://googlecloudplatform.github.io/google-cloud-java/latest/apidocs/index.html?com/google/cloud/dialogflow/v2

Cordova | Get live stream from microphone on iOS

可紊 提交于 2019-12-03 17:07:56
I am trying to build a voice calendar app that needs to use live stream from the microphone for speech recognition. So you have a button that starts listening to the microphone and stops automatically when the user stops speaking. I have already explored Cordova Media API that allows me to record the data to a wav file. This works but makes the process very slow since I need to wait for the recording to be finished. I used the https://api.ai as a starting point to build the 1st version of the app which works quite well. It took care of all the "listening" part! Next phase for me is to

Got the “My test app isn't responding right now. Try again soon.” error message even a clean start from Google Assistant Simulator

偶尔善良 提交于 2019-12-03 16:02:00
I am still quite new to this topic, so sorry if I didn't provide enough information. For the first time, I copoed everything from https://developers.google.com/actions/dialogflow/first-app to learn about it, which works great. After, I tried to create my own one, then at the end, I got this message "My test app isn't responding right now. Try again soon." from https://console.actions.google.com/project/[[PROJECT-ID]]/simulator/ . Therefore, I tried to delete everything and make a complete new start, including all the projects on https://console.actions.google.com/ and https://console

How to integrate dialogflow with website?

耗尽温柔 提交于 2019-12-03 13:12:29
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 the dialogflow official website, still I'm confused , after enabling the web demo option, How to edit the contents inside the attached image and how to launch chat-bot in my website? I followed instructions from : " https://dialogflow.com/docs/integrations/web-demo " Thank you Dialogflow doesn't provide any direct way to integrate the agent with your website. As robert mentioned in his answer The web demo integration really

why I can't use google action in web simulator

六眼飞鱼酱① 提交于 2019-12-03 10:50:43
Does anyone know why my action can NOT use in web simulator?? I set my invocation name for testing as "test", and in web simulator , I try to use my action by input "Talk to test", but it told me "Sorry, this action is not available in simulation"... Is there anything wrong with me ?? This bug should be resolved now. If you are still having this problem, you should try pairing your account with an actual device first. The issue was resolved for me by signing in to the Google Home app on my mobile device and pairing it to a home unit. After that, using the simulator then works in the browser. I

Change language of actions-on-google websimulation or test google home in German

拜拜、爱过 提交于 2019-12-03 03:08:34
I am using actions on google with api.ai. I am able to create a api.ai bot in a language other than English, but the web simulator of actions-on-google ( https://developers.google.com/actions/tools/web-simulator ) seems to work in English only? Is there any option to change the language there or a time schedule when other languages (in my case German) will be available in the simulator? Currently testing a non English action is impossible, because the web simulator does not even forward requests if it doesnt understand their meaning on its own. Update 09/08/2017 : Google Home is now available

Comparison between luis.ai vs api.ai vs wit.ai?

风流意气都作罢 提交于 2019-12-03 00:07:07
问题 Does anyone know the specific differences and features among the three, Or if one has more features/more flexible to use as a developer? 回答1: wit.ai vs api.ai vs luis.ai ╔══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ ║ wit.ai vs api.ai vs luis.ai ║ ╠══════╦════════════════════════════════════╦═════════════════════════════════════════════╦════════════════════════════════════╣ ║ S.No ║ Wit.ai ║ Api.ai ║ Luis.ai ║

Wait some seconds before agent's reply

送分小仙女□ 提交于 2019-12-02 15:32:41
问题 I'm trying to build a very simple Dialogflow app for Actions on google. What I had in mind was a very simple timer, but every X seconds the agent will tell the user "X seconds left". I'm using the Fulfillment section on dialogflow. What I've tried to do was a simple "setTimeout" that include another agent.add but this seems to be ignored by Dialogflow when I deploy it: function startTimer(agent) { agent.add("Timer started! 20 seconds from now."); setTimeout(function(){ agent.add("10 seconds

Comparison between luis.ai vs api.ai vs wit.ai?

半世苍凉 提交于 2019-12-02 13:53:41
Does anyone know the specific differences and features among the three, Or if one has more features/more flexible to use as a developer? Chandra Sekhar wit.ai vs api.ai vs luis.ai ╔══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ ║ wit.ai vs api.ai vs luis.ai ║ ╠══════╦════════════════════════════════════╦═════════════════════════════════════════════╦════════════════════════════════════╣ ║ S.No ║ Wit.ai ║ Api.ai ║ Luis.ai ║ ╠══════╬════════════════════════════════════╬═════════════════════════════════════════════╬══