actions-on-google

Map/Directions Cards & Integrate Actions/Intents such as CALL, EMAIL - With Dialogflow, Actions on Google, NodeJS Client V2

百般思念 提交于 2019-12-01 17:27:37
问题 I have been trying to figure out how to construct Maps/Directions Cards using Dialogflow and the NodeJS Client . After doing a little bit of research, I found this SO that explains how to generate a static map URL (as an image) using Google Directions API and Polylines. But in my opinion, there should be a feature in Dialogflow that allows developers to build those types of cards, along with associated built-in Intents or Events such as CALL , EMAIL , DIRECTIONS , etc. Below is an example of

Cost of developing a Google Assistant App?

a 夏天 提交于 2019-12-01 12:10:41
What costs are involved with developing and/or releasing a Google Assistant App? eg: Can you develop an app using DialogFlow and a backend (say Firebase) without having to pay while you learn? First of all - you don't need to use Dialogflow or Firebase to develop your action. Both are suggested, but neither are required. You can use any NLP you want, or none at all if you use the Actions SDK (but you want an NLP). You can use any backend at all, including running it off your local machine and tunneling to it via ngrok, but you don't want to do that for production. But , during development (and

How to identify unique users with Diagflow

让人想犯罪 __ 提交于 2019-12-01 05:56:55
I am trying to make an assistant app and was using the cloud firestore service of firebase to send the response back to my app using webhook as fulfilment. I have used 'session' parameter in request JSON according to this documentation and sending fulfilmentText as response to the user. But whenever user launches the app, a new session is created which I don't want. I simply want, just a single entry for each user in my database so how to achieve that using dialogflow. In Alexa Skill, we have deviceId as parameter by which we can uniquely identify the user irrespective of the session id but is

Can't find the function url for Firebase webhook in Google Assistant tutorial

北慕城南 提交于 2019-12-01 05:11:12
I've been doing the Codelabs tutorial on " Facts about You: Build a conversational app for the Google Assistant " but have run into a problem. Page 4 of the tutorial is devoted to using Cloud Functions for Firebase for setting up a webhook to provide custom responses. Step 7 on that page says "Once the Cloud Functions is deployed, the Function URL will be printed in the Firebase CLI logs. This URL is separate from the Project Console URL.” My problem is that I only see the Console URL. I don’t see a Function URL anywhere. Can anyone please clarify where I should find the Function URL? My app

Google Actions sdk not playing audio in ssml from firebase storage

血红的双手。 提交于 2019-12-01 03:53:20
问题 Google Actions SDK is unable to play audio files in SSML Audio tag from firebase storage. Although I could play same .ogg format file from wikipedia. https://upload.wikimedia.org/wikipedia/en/9/9f/Sample_of_%22Another_Day_in_Paradise%22.ogg firebase file : https://firebasestorage.googleapis.com/v0/b/assisto-skill.appspot.com/o/TIP103_converted.mp3?alt=media&token=d0d08f9d-e340-478c-af00-657109683136 I'm using it by sending an SSML string that looks like: <speak> <audio src='https:/

How to identify unique users with Diagflow

我的梦境 提交于 2019-12-01 03:44:01
问题 I am trying to make an assistant app and was using the cloud firestore service of firebase to send the response back to my app using webhook as fulfilment. I have used 'session' parameter in request JSON according to this documentation and sending fulfilmentText as response to the user. But whenever user launches the app, a new session is created which I don't want. I simply want, just a single entry for each user in my database so how to achieve that using dialogflow. In Alexa Skill, we have

redirect_uri_mismatch when OAuth2 account linking from Google Home Simulator

谁说胖子不能爱 提交于 2019-11-30 23:06:17
I am developing an account linking integration for an "Actions on Google" integration with API.AI for use with Google Home. When I test this agent in the simulator ( https://developers.google.com/actions/tools/web-simulator ) As expected, this is my response: { "response": "It looks like your conference manager account is not linked yet. You can link conference manager to your Google Account from the Google Home app.", "audioResponse": "//NExAARC..."content_copy, "debugInfo": { "sharedDebugInfo": [ { "name": "Account Linking Url", "debugInfo": "https://assistant.google.com/services/auth

Force user to relink his/her account

ε祈祈猫儿з 提交于 2019-11-30 22:42:49
Very simple use case explaining my problem: Given my app asks for a pin for some interactions. Now the user gives me three times a wrong pin. Then, I want to reset his access and force him to re-link his account. I can do this pretty easily in my internal database, but I need a way to tell google that his currently used token is not valid anymore. Else, Google Assistant resists in sending me the now rejected token. Update 2018-03-01 : With the new built-in intents/events, I also tried sending the actions_intent_SIGN_IN event via the followupEvent attribute, but this only lead google assistant

Null response for name and email entities

吃可爱长大的小学妹 提交于 2019-11-30 22:14:47
I tried inbuilt variable "user" methods, $user.name and $user.email in text response of API.AI, to greet user and show email-Id. Is there any inbuilt variable name user? Example(User sign-up with Gmail), Response-Code, I had tried in API.AI's text-response dialog box: Hi, $user.firstname This is your $user.email Expected: User: Hi! My-Assistant-App: Hi, Varun. User: Show my email-id My-Assistant-App: This is your ******@gmail.com Output, I am getting in the My-Assistant-App: User: Hi! My-Assistant-app: Hi, $user.firstname User: Show my email-id My-Assistant-App: This is your $user.email Since

How to get user's unique identity from google home's voice match profile?

时光怂恿深爱的人放手 提交于 2019-11-30 19:46:35
问题 I want to develop an application(action) on Google Home, which will return some confidential information to user. So, I can't authenticate the user based on account linking as that device can be used by any person in the room. How can I get user's unique identity(may be email id) from voice match profile? 回答1: Account Linking is tied to the specific user that says "Ok Google" or "Hey Google" to invoke your Action. If the user that says it does not have a registered voice on the device they