actions-on-google

Google Assistant flow with multiple actions_intent_OPTION handlers

℡╲_俬逩灬. 提交于 2019-12-04 19:04:53
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 app, it works fine, but when I add a second list item / carousel item of type OptionValueSpec, the

Actions on Google responds with “Sorry, I didn't get any response.”

吃可爱长大的小学妹 提交于 2019-12-04 13:27:31
I am following this code lab Facts about You: Build a conversational app for the Google Assistant I had it working once but must have done something wrong because now all. To be 100% clear i have deleted everything on my pc downloaded the code from Git again deleted the project in actions console deleted the project in api.ai. This is the result of a completely new install. I have not changed anything in the code lab. "Sorry, I didn't get any response." The request apears to be sending corectly From actions test: { "conversationToken": "CiZDIzU5Ym...", "debugLevel": 1, "inputType": "KEYBOARD",

Dialogflow, Google Account Linking and ASP.NET Core API (Webhook)

此生再无相见时 提交于 2019-12-04 13:09:26
I am a student working on a NLP app for the Google Home for my senior design project. I am wondering specifically: What is the correct way to implement Google Account Linking and what does Google Account linking provide for registering/authenticating users via Dialogflow (i.e. what the dataflow looks like from initial query to Google logging in, back to Dialogflow, then to my ASP.NET Core API handler). Does Account Linking return a bearer token in the header back to Dialogflow and thus, back to my handler? Or do I have to parse the originalRequest JSON object to get the user information then

“App isn't installed” for any Actions app that requires Account Linking

别等时光非礼了梦想. 提交于 2019-12-04 13:00:52
I'm working on an Assistant app which requires account linking, and I've gotten to the step where, if I say " talk to [my app name] " I get back a card with the text " Link [my app name] to Google ". Clicking it however only gives me an (improperly formatted) toast with the text " App isn't installed ". I thought I did something wrong, so I tested other apps that require account linking. Alarm.com, Mail Buddy, they all behave the same way. How is a user supposed to "install" these apps ? That was a bug on Google side that is now fixed 来源: https://stackoverflow.com/questions/44462967/app-isnt

Implementing Account Linking - queries

纵饮孤独 提交于 2019-12-04 12:01:40
问题 I've asked a Google Dev Advocate for help as I'm struggling to implement Account Linking on my Google Actions app, he sent me a link to a documentation article I already had read and suggested I also consult Stackoverflow. Having already done the second suggestion too and having struggled to find the exact answers to my questions, I've deiced to link to the doc article here, add all my queries and send this back to the Dev Advocate in the hope to get more clarification, especially as a

How to get Session Entities to work as part of Dialogflow detect intent

夙愿已清 提交于 2019-12-04 10:49:53
I have an Entity that is supposed to be updated on a per-session basis with user-specific information. This had worked when I was using Dialogflow v1, and I thought it had worked with v2, but I'm now having significant problems with it. I believe I am setting the Session Entity information correctly, but for the Intent that uses it, it only matches when a value from the Developer Entity is used. How can I get it to use the Session Entity? Am I doing something wrong when updating it? Am I using the wrong Session ID? Is there a way I can better verify or test that I'm using the correct ID or

Getting “Sorry, I didn't get any response.” message when I tried Hand-off feature

大兔子大兔子 提交于 2019-12-04 10:02:19
When I tried Multi-surface conversations (Hand-off from Google Home to Android Google Assistant), I'm getting "Sorry, I didn't get any response." I'm using Action SDK and locale is "ja". Here is my response: { "conversationToken": "(token)", "expectUserResponse": true, "isInSandbox": true, "expectedInputs": [ { "possibleIntents": [ { "intent": "actions.intent.NEW_SURFACE", "inputValueData": { "@type": "type.googleapis.com/google.actions.v2.NewSurfaceValueSpec", "context": "Sure, I have some sample images for you.", "notificationTitle": "Sample Images", "capabilities": [ "actions.capability

{“error”:“invalid_client”,“message”:“Client authentication failed”}

China☆狼群 提交于 2019-12-04 06:23:39
问题 I completed these steps Installed laravel/passport. Created a website user. Generated passport keys PHP artisan passport: install Generated client_id and client_secret using PHP artisan passport:client Added redirection and callback routes in web.php Authorized the user and got the final access token. client information step in the action console. find my application in the home app but when I log in to the web page show client authentication failed. Thanks in advance for the help 回答1: The

How to send push notification from google assistant through Dialogflow fulfilment in Python

本秂侑毒 提交于 2019-12-04 04:51:33
问题 I'm developing chatbot in google Dialogflow for google assistance, I've followed this Documentation for showing Push notifications. I've asked for the permission but now I'm stuck at the last step( Exchange the key for an access token and send a notification ) in that documentation. Can anybody please help me to do it. Which JSON response should I send from my Python fulfillment code? 回答1: Finally, I've solved the problem. The code posted by @matthewayne has some mistakes like it should be

What Json response format to use for v2beta1 fulfillment webhook?

半腔热情 提交于 2019-12-04 02:27:42
问题 I have successfully tested my agent intents in the Dialogflow console where my fulfillment webhook gives responses such as: { speech: 'You have 4 items, aaaa, bbbb, cccc, dddd ', displayText: 'You have 4 items, aaaa, bbbb, cccc, dddd ', data: {}, contextOut: [], source: 'xxx:' } Now I have set Dialogflow V2 API (v2beta1, I think). I get a response: "Webhook call failed. Error: Failed to parse webhook JSON response: Cannot find field: speech in message google.cloud.dialogflow.v2beta1