actions-on-google

building a list in “actions on google”

我的未来我决定 提交于 2020-01-05 02:33:25
问题 I'm doing a project where the Google Assistant generates a list of cards about information on research articles. Each card on the list would have the title and URL to the research article. The Google Assistant would ask what subject you wants to research about and the user would reply with the subject matter in one or two words. I have the following questions I understand that the app.buildList() command requires an alias and key variable. Could I level them as blank or null in my code

Action On Google, webhook response with actions.intent.NEW_SURFACE

瘦欲@ 提交于 2020-01-04 13:11:48
问题 Trying to implement NEW_SURFACE in webhook response (Google Assistant vocal calling Dialogflow calling a webhook). When I have web browser capability I display my cards, but I when to redirect the user to his phone when he is from the Google Home. This is my error in Action On google : { "responseMetadata": { "status": { "code": 10, "message": "Failed to parse Dialogflow response into AppResponse because of empty speech response", "details": [ { "@type": "type.googleapis.com/google.protobuf

gactions CLI crashes on Windows when uploading google actions

杀马特。学长 韩版系。学妹 提交于 2020-01-03 20:44:20
问题 I created a project dawai-5555, and a json action file dawai.json as described in Google's doc https://developers.google.com/actions/sdk/define-actions . When I try to upload it using the Windows (I tested both 32/64bit versions) gactions command line tool from google, I get the following error: panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc

Storing data “across conversations” in Google Action

烂漫一生 提交于 2020-01-03 18:34:10
问题 I'm a bit confused by the Google Actions documentation about storing data and hoped someone can help clarify... The docs state that data in the conv.user.storage object will be saved "across conversations". I took this to mean that if the user exited the conversation these values would be persisted and available the next time they interact with my action. Is that understanding correct? The reason I ask is that I can't get this behaviour to work in my action. I have built a simple action

Open Mic issue for DialogFlow app

守給你的承諾、 提交于 2020-01-03 04:32:07
问题 My submission of Dialogflow app got denied due to open mic issue. ERROR : "During our testing, we found that your app would sometimes leave the mic open for the user without any prompt . Make sure that your app always says something before leaving the mic open for the user, so that the user knows what they can say. This is particularly important when your app is first triggered. Current implementation : User asks something and app replies back with static text and a static basic card content.

Is it possible to trigger another Actions on Google app from within my own AoG app's fulfillment? [duplicate]

筅森魡賤 提交于 2020-01-02 10:11:34
问题 This question already has answers here : How to Invoke or call one app from another app in Android? (3 answers) Closed last year . This question pertains specifically to Actions on Google Apps and is concerning the ability to trigger an event/action to cause the Assistant to choose another AoG app for the end user; specifically to trigger someone else's AoG app, not one that you have written. Idea: I want to create a custom AoG app. Something like planning-for-a-hike app . I want my user to

Is it possible to trigger another Actions on Google app from within my own AoG app's fulfillment? [duplicate]

蹲街弑〆低调 提交于 2020-01-02 10:11:29
问题 This question already has answers here : How to Invoke or call one app from another app in Android? (3 answers) Closed last year . This question pertains specifically to Actions on Google Apps and is concerning the ability to trigger an event/action to cause the Assistant to choose another AoG app for the end user; specifically to trigger someone else's AoG app, not one that you have written. Idea: I want to create a custom AoG app. Something like planning-for-a-hike app . I want my user to

Actions on Google - handling carousel responses from dialogflow

蓝咒 提交于 2020-01-02 08:25:34
问题 I've created a simple Google Assistant interface using DialogFlow with several Carousels that I want to be able to chain together. Whenever I touch a carousel option though, it always goes to the first Intent that has the actions_intent_OPTION event specified. I can get to all of my screens using voice commands, but I'm not sure how to process the touch commands to send the user to right Intent. Current code in webhook: const party = 'party'; const cocktail = 'cocktail'; const SELECTED_ITEM

How can I provide different fulfillment URLs for Actions on Google Release?

时间秒杀一切 提交于 2020-01-02 05:40:14
问题 The documentation at https://developers.google.com/actions/deploy/release-environments states "To handle release channels in your fulfillment, you should provide different fulfillment URLs (for example, one fulfillment URL for the beta and another URL for the production version of your Action)." However, there are no instructions on how this should be accomplished. When I created my Actions on Google project, a Firebase project was created to which I upload JavaScript that supports those

ExpectedInputs / possible_intents only works with “assistant.intent.action.TEXT”?

ぃ、小莉子 提交于 2020-01-01 14:20:56
问题 I'm currently trying to write a demo for actions on google using a rest web service. At the moment the user opens the action ("talk to testaction") and is presented a welcome message (via the Main intent). This initial intent expects a user response and also sets the next expected intent via the possible_intents field in the JSON response According to the documentation I should be able to specify a custom intent in possible_intents of my HTTP JSON response. However, if I use any intent other