dialogflow

Dialogflow v2 Nodejs Client Library UpdateIntent when adding Training Phrases

此生再无相见时 提交于 2020-01-03 03:31:10
问题 I am trying to use the updateIntent function that is part of the Dialogflow v2 Client library for Node.js . The reason I am trying to use it, is to be able to add training phrases to an intent. I cannot seem to get passed this one. Here is the code I am using for it!: My GetIntent Function: async function getIntent(intentId) { try { let responses = await intentsClient.getIntent({name: intentId, intentView: 'INTENT_VIEW_FULL'}) const response = responses[0] // console.log(response) return new

Is it possible to trigger another Actions on Google app from within my own AoG app's fulfillment? [duplicate]

筅森魡賤 提交于 2020-01-02 10:11:34
问题 This question already has answers here : How to Invoke or call one app from another app in Android? (3 answers) Closed last year . This question pertains specifically to Actions on Google Apps and is concerning the ability to trigger an event/action to cause the Assistant to choose another AoG app for the end user; specifically to trigger someone else's AoG app, not one that you have written. Idea: I want to create a custom AoG app. Something like planning-for-a-hike app . I want my user to

Is it possible to trigger another Actions on Google app from within my own AoG app's fulfillment? [duplicate]

蹲街弑〆低调 提交于 2020-01-02 10:11:29
问题 This question already has answers here : How to Invoke or call one app from another app in Android? (3 answers) Closed last year . This question pertains specifically to Actions on Google Apps and is concerning the ability to trigger an event/action to cause the Assistant to choose another AoG app for the end user; specifically to trigger someone else's AoG app, not one that you have written. Idea: I want to create a custom AoG app. Something like planning-for-a-hike app . I want my user to

Actions on Google - handling carousel responses from dialogflow

蓝咒 提交于 2020-01-02 08:25:34
问题 I've created a simple Google Assistant interface using DialogFlow with several Carousels that I want to be able to chain together. Whenever I touch a carousel option though, it always goes to the first Intent that has the actions_intent_OPTION event specified. I can get to all of my screens using voice commands, but I'm not sure how to process the touch commands to send the user to right Intent. Current code in webhook: const party = 'party'; const cocktail = 'cocktail'; const SELECTED_ITEM

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

懵懂的女人 提交于 2020-01-01 12:06:27
问题 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

why I can't use google action in web simulator

白昼怎懂夜的黑 提交于 2020-01-01 04:16:30
问题 Does anyone know why my action can NOT use in web simulator?? I set my invocation name for testing as "test", and in web simulator , I try to use my action by input "Talk to test", but it told me "Sorry, this action is not available in simulation"... Is there anything wrong with me ?? 回答1: This bug should be resolved now. If you are still having this problem, you should try pairing your account with an actual device first. The issue was resolved for me by signing in to the Google Home app on

Dialogflow disable Google Assistant

杀马特。学长 韩版系。学妹 提交于 2019-12-31 05:35:09
问题 I am trying to enable webhook fulfillment in my Dialogflow agent. However, whenever I go to input the URL of my service, I get an error saying You can use only https:// in fulfillment url when "Google Assistant" integration enabled . I have no interest in using the Google Assistant integration. So how can I disable it so that I can send webhooks to my http:// service? Thanks 回答1: I just had the same issue, if you don't need a secure connection via HTTPS here is how to remove Google Assistant

Google Action should play radio stream

爷,独闯天下 提交于 2019-12-31 03:47:05
问题 I need to develop a Google Action which streams an audio/radio stream. i thought about media response. But the documentation says: "Audio for playback must be in a correctly formatted .mp3 file. Live streaming is not supported." Documentation Can someone give me an hint, what i have to do to stream an audio-stream? i found a german google action "baden fm" which streams their radio. But not sure how they do it. Kind Regards Stefan 回答1: The only ways to do this currently: Stream it in chunks

Is it possible to use dialogflow-nodejs-client-v2 in front-end (Angular)?

微笑、不失礼 提交于 2019-12-31 02:46:40
问题 I built an app a long time ago using Firebase and dialogflow-javascript-client. Now, dialogflow-javascript-client is deprecated. Since dialogflow-nodejs-client-v2 is a node.js client, it is not supposed to run on Angular. Did they drop the javascript support? I can't get any answer from the devs, they just seem to avoid it. If it is not possible, my only solution is to drop support of Dialogflow in my app. There is absolutely not documentation or info for users migrating from Javascript, here

DialogFlow v2 Access Token cannot generate

╄→尐↘猪︶ㄣ 提交于 2019-12-30 10:46:50
问题 With version 1 this is how I used to communicate with DialogFlow Api! fetch(configs.baseUrl + "query?v=20150910", { body: JSON.stringify({query: text, lang: "en", sessionId: "somerandomthing"}), headers: { 'content-type': 'application/json', "Authorization": "Bearer " + configs.accessToken, }, method: 'POST', }) .then(response => response.json()) .then(data => { console.log(data.result.fulfillment.speech); return data.result.fulfillment.speech; }) .catch(error => console.error(error)) I