dialogflow

Setting output contexts in Dialogflow

本小妞迷上赌 提交于 2019-12-08 10:52:21
问题 Using the C# client library for Dialogflow, I am trying to set the output context in a webhook response. However, the output context field is read only. This is my code: WebhookResponse response = new WebhookResponse { FulfillmentText = "This is a test", OutputContexts = ... //Regardless of what I try and set OutputContexts to be, I get the error "property or indexer 'WebhookResponse.OutputContexts' cannot be assigned to -- it is read only" }; How do I set the output context? 回答1: I know this

User Authentication in Dailogflow through third party

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 09:27:08
问题 I have made a chat-bot in android in which i called google dialog-flow api. In google dialog-flow, I am calling an third part api. Now i want to implement user authentication in android app but not from google account. I want to authenticate users from the third party (the one i am connecting it to dialog-flow). How to authenticate users?. Can i Dynamically Change the username-password in Fulfillment of dialog-flow or is there any API for it? Note : I don't want to use google account to

Dialogflow Sending User Data

≯℡__Kan透↙ 提交于 2019-12-08 09:25:35
问题 I have made a chat-bot in android in which i called google dialog-flow api. In google dialog-flow, I am calling an third part api. Now i want to implement user authentication in android app but not from google account. I want to authenticate users from the third party (the one i am connecting it to dialog-flow). How can i send authentication data while sending message from android application below code how can i add credentials ? I want to attach user credentials while sending message is it

TypeError: handler is not a function using Firebase and DialogFlow with Google Actions

空扰寡人 提交于 2019-12-08 07:56:19
问题 I keep getting this error message in Firebase functions/logs dialogflowFirebaseFulfillment TypeError: handler is not a function at cloudFunction (/srv/node_modules/firebase-functions/lib/providers/https.js:57:9) at /worker/worker.js:783:7 at /worker/worker.js:766:11 at _combinedTickCallback (internal/process/next_tick.js:132:7) at process._tickDomainCallback (internal/process/next_tick.js:219:9) Originally my actions on google project was working fine, I just got mp3s playing, referencing new

Why are none of my Google Actions Alpha releases appearing in the Google Assitant store?

China☆狼群 提交于 2019-12-08 07:37:43
问题 In my developer account, I can succesfully test the app using the simulator. I also sucessfully deployed an Alpha version, and waited 24 hours. However the opt-in link doesn't work. Every time I navigate to it, I see: We can't find what you're looking for at the moment. Please try again later. YES, I have the activity controls all enabled YES, I have a google home device connected to this account YES, I am the developer of this action, and have verified permissions in IAM This is driving me

Error : agent.add() function is not working i.e not getting output value to user.In Google assistant

你说的曾经没有我的故事 提交于 2019-12-08 06:48:06
问题 Following code is working. But agent.add() function is not working, i.e not getting output value to user. var ref = admin.database().ref().child("Table/"); var query = ref.orderByChild("RegId").equalTo(RegId.toString()); query.once("value", function(snapshot) { snapshot.forEach(function(child) { console.log(child.key); console.log("FirstName: " + child.val().FirstName); console.log("Mobile: " + child.val().MobileNumber); console.log("Email: " + child.val().EmailId); var name = snapshot.child(

Actions on Google, Beta Release: Testing instruction not found

家住魔仙堡 提交于 2019-12-08 06:19:55
问题 Basically, I have the same problem as this question here. The accepted answer in that question suggests that we should give directions to the review team in Testing Instructions section. But in my case, which is: Account creation: Yes, allow users to sign up for new accounts via voice Linking type: Google Sign In Client information: my_client_id There is NO Testing Instructions section. But, when I try to do the deploy, it will still demand me to give the instructions and won't allow me to do

How to determine confidence level in DialogFlow

喜欢而已 提交于 2019-12-08 05:36:21
问题 When a user is responding to a question in DialogFlow, is there a way to obtain the confidence levels that was achieved for a specific phrase? Example: Q: What is the capital of Germany? A: Berlin I would like to read back how well the AI understood the user, e.g.: He said: "Boerlin" ---> 87.3% confidence level that he said "Berlin" Is there a way to read back this kind of information? 回答1: Thomas. Have a look at the Google Apis DetectIntent Documentation. https://cloud.google.com/dialogflow

Possibility of connecting MySQL database to Google Assistant

£可爱£侵袭症+ 提交于 2019-12-08 04:16:13
问题 What I want to implement is at least a working prototype of a Google Assistant Action with the use of local MySQL database. What I've taught of is MySQL DB-> Google Cloud Platform-> DialogFlow -> Google Assistant. So the end product would be for example, I say: "What is my total sales" and Google Assistant would retrieve the data from MySQL. I've been trying to look for solutions online and none seem to match what I am looking for. Would this solution be theoretically possible? and how would

How to upload follow-up intent to another parent intent

六眼飞鱼酱① 提交于 2019-12-08 02:37:54
问题 I'm trying to upload a previously downloaded follow-up intent (in .json) to another parent intent with no success in the Dialogflow page. Error can be seen in image attached I've changed "parentId" and "rootParentId" to match the new parent intent without luck... 回答1: Unfortunately, I don't believe there is a way for a user to move a follow-up intent to another parent intent. It's also not possible to transition a top-level intent into a follow-up intent. 回答2: This is the answer from support