google-assistant-sdk

Google Actions SDK Sign-In implicit flow

南笙酒味 提交于 2019-12-11 12:03:17
问题 EDIT: On phone assistant its working now problem just exist in google action simulator I just try to setup Google Actions SDK account Linking with implicit grant and try to test it in Simulator. First question is this even possible in Simulator? To Do so I added at the action console account linking with the type implicit grant to my action. The url I used is working. Now I added a signup request to my action. For testing so if I write signup in simulator the server response with: {

How can I make a call from my action on google?

此生再无相见时 提交于 2019-12-11 09:56:32
问题 I'm building an action for Google Assistant using DialogFlow. And for this action, I want an intent say "Call X" with which the user can call "X". Here "X" is not a contact in the user's device but a contact defined within my intent's response. Is there any option with which I can achieve any of the following for my action? Make a Call to X, or atleast Open up the dialer with the defined number from my action Please guide me on this. 回答1: What you can do is Use a Helper Intent Through which

How can I get an LED to light on Google Assistant listening?

て烟熏妆下的殇ゞ 提交于 2019-12-11 05:55:02
问题 After a long research without any results, I'm trying my luck here. I recently got the GA SDK sample to work on my Raspberry Pi 3. Now I would like to light my connected LED when the Assistant is listening. I know how to do this, but I don't know where to add the code for the LED in the Assistant sample code. The documentation on their website says it's in the grpc code, but I don't know any more than that. Any advice on where to add the LED code? 回答1: Look at the hotword sample here https:/

Dialogflow Webhook Format vs. Conversation Webhook Format

瘦欲@ 提交于 2019-12-11 04:25:56
问题 There are two types of fulfilments provides by Google Actions - Dialogflow Webhook Format & Conversation Webhook Format. In my understanding (as per this doc- https://developers.google.com/actions/build/json/conversation-webhook-json) Google sends "Conversation Webhook Format" request if we are using Actions SDK and Google uses "Dialogflow Webhook Format" if we use DialogFlow. Is this understanding correct? The reason I am asking this is because the request format from Google has suddenly

Google Assistant changing the surface not working

梦想的初衷 提交于 2019-12-11 03:53:27
问题 Hi guys, I'm currently trying to build an app for the Google Assistant with Dialogflow. During a particular intent I want to redirect the user to his phone (when using a speaker) as the intent requires precise keyboard input. As said in the docs, I'm calling askForNewSurface() in my webhook. In the actions simulator, this is what shows up (truncated) "agentToAssistantJson": { "conversationToken": "[\"_actions_on_google_\",\"some-context\"]", "expectUserResponse": true, "expectedInputs": [ {

Actions on Google - Mac gactions won't run

久未见 提交于 2019-12-10 23:15:50
问题 I am trying to set up the Actions sdk as described here: https://developers.google.com/actions/sdk I downloaded gactions for a Mac 64-bit machine. If I try to open the file, it opens as text. When I am in the folder containing gactions, I try to run gactions init and get the response: -bash: gactions: command not found Any thoughts? 回答1: Try this: Download Google gactions cli from gaction CLI On Mac and Linux, to make the binary executable run from terminal: $ cd folder_with_gactions $ chmod

How do you get arguments of correct type in Google Actions SDK?

烂漫一生 提交于 2019-12-10 22:46:22
问题 Google's action api seems to find the right pattern in my intent and bind to the right type, but does not return the parsed type data. For example, if I have the intent defined below in my actions.json file: { "description": "", "initialTrigger": { "intent": "RepeatIntent", "queryPatterns": [ { "queryPattern": "say $SchemaOrg_Number:mynumber" }, { "queryPattern": "say $SchemaOrg_Date:mydate" }, { "queryPattern": "say $SchemaOrg_Time:mytime" } ] }, "httpExecution": { "url": "https://myurl

Google Assistant advanced responses with API.AI

懵懂的女人 提交于 2019-12-10 22:28:46
问题 I already have a webhook, and I am using it to change the assistant answers. But I can't figure out how to send a suggestions card or a link, as you can send them from API.AI web GUI ( From the add content button ). Should I send them as a JSON object under the data name. API.AI webhook documentation 回答1: The general form for the JSON body of a response to a API.AI fulfillment webhook call that will include a Action on Google rich response for a simple response and a card is below. If you

Error “Empty speech response”

血红的双手。 提交于 2019-12-10 13:07:45
问题 I tried to connect DialogFlow and Actions on Google , so I created some intents, connected the services, added explicit and implicit invocations etc, but when I try the bot in the simulator https://console.actions.google.com/project/[projectId]/simulator/ it always gives me the error: "Failed to parse Dialogflow response into AppResponse, exception thrown with message: Empty speech response " even tough inputType was "KEYBOARD". What I tried so far: I did set "Response from this tab will be

Google Assistant flow with multiple actions_intent_OPTION handlers

吃可爱长大的小学妹 提交于 2019-12-09 21:15:22
问题 I have webhooks configured through Dialogflow for a template chatbot UI starter project I'm making on Github. I have a bot integrated through Facebook Messenger and Google Assistant. All of Facebook works fine because the actions send back strings and it's easy to handle. But when Google Assistant tries to handle items of "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec", actions_intent_OPTION is needed on the event in Dialogflow to handle the response. If I have just one in my