actions-on-google

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

会有一股神秘感。 提交于 2019-12-06 06:45:47
问题 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

Error: No handler for requested intent at WebhookClient.handleRequest

泄露秘密 提交于 2019-12-06 06:29:16
Default intent calling a cloud function gives error Error: No handler for requested intent at WebhookClient.handleRequest (/user_code/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:287:29) at exports.dialogflowFirebaseFulfillment.functions.https.onRequest (/user_code/index.js:73:11) at cloudFunction (/user_code/node_modules/firebase-functions/lib/providers/https.js:57:9) at /var/tmp/worker/worker.js:783:7 at /var/tmp/worker/worker.js:766:11 at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickDomainCallback (internal/process/next_tick.js:128:9) as my

DialogFlow Actions on Google: dialogflow-helper-intents-nodejs Tutorial - Query Pattern is missing for Custom Intent

不羁岁月 提交于 2019-12-06 04:54:05
I am attempting to use the tutorial located here: https://github.com/actions-on-google/dialogflow-helper-intents-nodejs I have created an entirely new agent to make sure none of my existing intent settings are causing this. I import the file helper-intents-examples.zip and modify NOTHING in ANY of the intents. I go to Integrations->Integration Settings, add all of the intents, and hit test, and I get the following error for every single second turn intent: Request contains an invalid argument. Query pattern is missing for custom intent 'X' I have found no tutorial that doesn't result in this

How to add the delivery address details to the order preview?

最后都变了- 提交于 2019-12-06 03:42:08
I want to create a chatbot with Dialogflow and Google Assistant along with Google Transactions API for enabling a user to order some items. For now my agent contains the following four intents: Default Welcome Intent (text response: Hello, do you want to buy a chocolate box?) Default Fallback Intent Int3 (training phrase: Yes, I want, fulfilment: enabled webhook) Int4 (event: actions_intent_TRANSACTION_DECISION , fulfilment: enabled webhook) I am using Dialogflow Json instead of Node.js to connect my agent with Transactions API. I want to build a cart and an order for the user by using finally

How to create suggested input in actions on google while creating an google assistant app in dialogflow?

雨燕双飞 提交于 2019-12-05 21:45:47
I want to put a prompt to allow user to choose while responding in google assistant app. I am creating this in dialog flow. How do I do this? If you want to add "suggested input" items into your conversational experience as they show in the simulator or on a screen device, you are talking about " Suggestion Chips ". Here is what that looks like in the simulator: Using Dialogflow you can go into an Intent, and go to Responses. Go to the Google Assistant tab. Add a response and choose the type "Suggestion Chips". The input should match an intent. 来源: https://stackoverflow.com/questions/50608897

Dialogflow dynamic enity issue

 ̄綄美尐妖づ 提交于 2019-12-05 18:41:18
I am trying to create an Actions on Google app using Dialogflow (api.ai). I need to get the train status. So my entity will be train number or train name. There is a lot of train names. So I can't add the entity values manually. How can i add entity values dynamically to the console? You can add large sets of values and synonyms either JSON or CVS formatted by: Directly pasting them in the Entity raw mode JSON or CSV fields. Uploading a JSON or CSV formatted file entity. Make POST calls to the Dialogflow API. See more here . While you can use the Allow automated expansion checkbox in the

Account Unlinking on Actions on Google

给你一囗甜甜゛ 提交于 2019-12-05 16:19:17
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? The "preview" feature on both API.AI and Actions SDK will clear any existing OAuth tokens for your action on your account. After running "preview" and invoking your action -- "OK Google, talk to $invocationName" --

Can I deploy fulfillment in my own server with Actions SDK?

元气小坏坏 提交于 2019-12-05 08:00:57
问题 I'm a beginner, and I can't understand something about building fulfillment with the Node.js client library (Actions SDK). The development document use the Actions SDK by firebase, but I don't want to deploy fulfillment by firebase. So I don't know how to deploy fulfillment in my own server with Actions SDK. Please tell me how to do it. Thanks! 回答1: Here is one working example with nodeJs library 'use strict'; var express = require('express'); var bodyParser = require('body-parser'); var exps

DialogflowApp askForUpdatePermission Not Working

寵の児 提交于 2019-12-05 06:59:08
1) askForUpdatePermission not finding intent I followed the Update Sample at Github -dialogflow-updates-nodejs and got the update permission to work. But when I added app.askForUpdatePermission("get.next.reminder") into my own code, the simulator says that my agent is not responding. I did not get the question to give update permission. In the simulator error tab, I see an error: MalformedResponse expected_inputs[0].possible_intents[0].input_value_data: The intent the app is asking for permission to send updates for is not found.. So I checked the intent name (get.next.reminder) again in my

Requesting User Location from Google Actions with Api.ai

感情迁移 提交于 2019-12-05 02:59:35
问题 Google Actions can provide you with the user's location, name, and few other details. How can this be done on Api.ai without the nodejs SDK? All examples from Google are using the Nodejs sdk. According to the Conversation Api it is just a matter of putting the correct json in the response, however it is unclear how to get Api.ai to fill in this json. I've read the docs here , but am still unclear. Sample code, or more detailed documentations, would be great for the non nodejs developers. I'm