google-assist-api

Getting Issue during re-calling the intent after rejecting Google Account linking

烈酒焚心 提交于 2020-08-10 22:24:33
问题 Below is my chatbot structure Intent 1 (result): Here User will ask for a result. It will do the account linking and check the email id registration on their server whether it is registered or not via API and showing the result. app.intent('result', (conv,{date})=>{ var userDate = date; var apiUserEmailID= conv.data.apiUserEmailID; var apiUserKey= conv.data.apiUserKey; console.log("apiUserKey : "+apiUserKey); if (typeof (apiUserKey) == "undefined" || apiUserKey == "" || apiUserKey == null) {

Getting Issue during re-calling the intent after rejecting Google Account linking

一曲冷凌霜 提交于 2020-08-10 22:22:11
问题 Below is my chatbot structure Intent 1 (result): Here User will ask for a result. It will do the account linking and check the email id registration on their server whether it is registered or not via API and showing the result. app.intent('result', (conv,{date})=>{ var userDate = date; var apiUserEmailID= conv.data.apiUserEmailID; var apiUserKey= conv.data.apiUserKey; console.log("apiUserKey : "+apiUserKey); if (typeof (apiUserKey) == "undefined" || apiUserKey == "" || apiUserKey == null) {

Google Assitant App not storing user information

≯℡__Kan透↙ 提交于 2020-01-25 08:54:04
问题 So I have been following this documentation provided by Google: https://developers.google.com/actions/identity/user-info Recently, the request.userId was deprecated so Google. So I turned to this documentation which specifies use the conv.user.storage. I have tried using the storage property in my app but it seems it doesn't store any user data as the next time I access it, the storage generates a new user id key. const data = "Something you want to save"; let userId; // if a value for userID

Dialogflow v2 API - cards not shown in the simulator

你离开我真会死。 提交于 2020-01-15 10:07:35
问题 I've a webhook for fulfillment. Below is the code that's responding back let result_obj = { "fulfillmentText": "This is a text response", "fulfillmentMessages": [ { "text": { "text": [ "this is test" ] } }, { "card": { "title": "card title", "subtitle": "card text", "imageUri": "https://assistant.google.com/static/images/molecule/Molecule-Formation-stop.png", "buttons": [ { "text": "button text", "postback": "https://assistant.google.com/" } ] } } ] } Below is the result from dialogflow GUI

building a list in “actions on google”

我的未来我决定 提交于 2020-01-05 02:33:25
问题 I'm doing a project where the Google Assistant generates a list of cards about information on research articles. Each card on the list would have the title and URL to the research article. The Google Assistant would ask what subject you wants to research about and the user would reply with the subject matter in one or two words. I have the following questions I understand that the app.buildList() command requires an alias and key variable. Could I level them as blank or null in my code

How to receive answer from Google Assistant as a String, not as an audio stream

社会主义新天地 提交于 2020-01-04 03:44:07
问题 I am using the python libraries from the Assistant SDK for speech recognition via gRPC. I have the speech recognized and returned as a string calling the method resp.result.spoken_request_text from \googlesamples\assistant\__main__.py and I have the answer as an audio stream from the assistant API with the method resp.audio_out.audio_data also from \googlesamples\assistant\__main__.py I would like to know if it is possible to have the answer from the service as a string as well (hoping it is

How to provide content to be shown on Google-Now-On-Tap?

帅比萌擦擦* 提交于 2020-01-01 05:49:30
问题 Background I work on an app that can answer to certain queries (phone number queries, and maybe others). Google introduced a new feature on Android 6 , called "Google Now On Tap" (AKA "Assist API") , which allows the user to query about things that are shown on the screen (triggered by long-click on home button or by saying something) without the need to type anything. Google provided a developers tutorial for it, here The problem I can't find any code snippet to show how to prepare the app

Embed the Google assistant in a Windows computer - device instance ID not generated while running the sample code

心已入冬 提交于 2019-12-25 19:46:16
问题 I am trying to get Google Assistant installed on a Windows computer, following the instructions from Set Up Hardware and Network Access (Google Assistant SDK). I have been able to complete all but the last step. I am at the point of running the sample code. https://developers.google.com/assistant/sdk/guides/service/python/embed/run-sample?refresh=1. In this last step a 'device instance ID' should be generated, but that does not happen. See the screenshot: The error message states that the