actions-on-google

Creating custom Built in Intents for App Actions

别说谁变了你拦得住时间么 提交于 2019-12-22 17:08:19
问题 There is a list of Built-in Intents available that can be used in App Actions on the Google Developers website, is there any way we can create our custom Built-in Intents? 回答1: No, it's not currently possible to create custom built-in intents for App Actions. As per the App Actions docs: If these built-in intents do not support your use case, please file a feature request on the public issues tracker As a side note, while not custom, there is a more generic "open app feature" ( actions.intent

Detect request coming from google home using dialogflow

↘锁芯ラ 提交于 2019-12-22 12:39:05
问题 How to detect the request coming to dialogflow from google home devices. For google assistant,Facebook and all, I used the source parameter from the originalRequest node. {"originalRequest":{"source":"google","data":{"sender":{"id":"3"},"recipient":{"id":"3"},"message":{"mid":"mid","text":"apple iphone 8","seq":3},"timestamp":1522229806857}} But for google home also I am getting the source parameter as google itself. So Is there any parameter to detect the request coming from google home, so

Is their any way to send multiple simple response in dialogflow

 ̄綄美尐妖づ 提交于 2019-12-22 09:41:21
问题 I need to send (more than 2 responses) simple responses back to user during the invocation for particular intent. But it is restricted to 2 simple response as mentioned in actions on google documentation. Is there any other way to send multiple responses? 回答1: The short answer is no, you can't send back more than one SimpleResponse at a time. There are, however, ways to work with this depending on your needs and making sure you are respecting good Visual UI design. You can concatenate many of

Account Unlinking on Actions on Google

帅比萌擦擦* 提交于 2019-12-22 08:14:19
问题 I'm developing an action on Google that requires the user to login with my services. I was able to implement account linking. That works fine; I'm able to complete the entire flow to authenticate the user using the Google Home app, but I couldn't find a way to unlink the account. The service does not appear at Apps with access to your account Is there any way to unlink an account? 回答1: The "preview" feature on both API.AI and Actions SDK will clear any existing OAuth tokens for your action on

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

会有一股神秘感。 提交于 2019-12-21 05:43:04
问题 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

Linking Google Assistant with Firebase Auth

拥有回忆 提交于 2019-12-21 04:23:08
问题 I am attempting to connect a Google Assistant app using DialogFlow(Api.AI) with Firebase Auth. My App uses Firebase Auth to maintain user accounts and the realtime database to store data. I would like to be able to make changes to a user's data through the Google Assistant, maybe using something like a cloud function. In order to make any user changes through Google Assistant, I need to link the user's Google Assistant account with their Firebase Auth account. The current mechanism appears to

How to wait for the promise when using get in Firestore

风格不统一 提交于 2019-12-20 06:14:26
问题 I am just trying a simple get command with Firestore, using this code from Google it doesn't work because it's not waiting for the promise? Earlier I had put only a snippet of code, this is the entirety of index.js -- I'm using Firestore with Dialogflow to build a Google Assistant app and trying to call a function from the welcome intent that gets a field from Firestore, then writes that field to a string (named question1), and then this string should be spoken by the assistant as part of the

How to wait for the promise when using get in Firestore

℡╲_俬逩灬. 提交于 2019-12-20 06:13:06
问题 I am just trying a simple get command with Firestore, using this code from Google it doesn't work because it's not waiting for the promise? Earlier I had put only a snippet of code, this is the entirety of index.js -- I'm using Firestore with Dialogflow to build a Google Assistant app and trying to call a function from the welcome intent that gets a field from Firestore, then writes that field to a string (named question1), and then this string should be spoken by the assistant as part of the

DialogFlow/Actions: Allow Google Assistant user to create Event in Google Calendar from Actions App

谁都会走 提交于 2019-12-20 05:58:05
问题 Target/Summary : I have an Actions App developed in Google DialogFlow and I want the user be able to create Google Calendar Event using the App (from Google Assistant). In other words, authenticate the user to Allow my app to use his Calendar to create Events. What is done: Since Google Actions doesn't allow use of Google Auth/Token endpoints, I opted to use http://www.auth0.com. Created an account (used my Google account) on auth0.com , created an Application and setup the following values

Where will the reply of a Carousel Selector be sent when using Dialogflow fulfillment server?

☆樱花仙子☆ 提交于 2019-12-20 04:38:42
问题 I am trying to figure out how I can embed Google Actions responses, such as the carousel, in a webhook response for DialogFlow. As epxlained in Is there a way to simply follow a URL in the Caroussel Selector?, the carousel selector can be used to present the user certain options. When the user clicks, the selected item will be sent back to the backend server. As said, I am using Dialogflow, so the fulfillment server will send the carousel list to the Assistant. It is not clear to me on which