dialogflow-es

How to set using node engine version 10 in dialogflow inline fulfilment package.json?

萝らか妹 提交于 2021-01-28 06:05:14
问题 How to set using node engine version 10 in dialogflow inline fulfilment package.json? I try to set it in package.json "engines": { "node": "10" } But in my Firebase project, deployed fulfilment cloud function remains use 'Node.js 8'. 回答1: As of a few days ago, the Dialogflow inline fulfillment uses Node 10 (and you cannot switch back to Node 8). The downside of this is that you must have billing enabled for the GCP project your dialogflow agent is associated with, as under-the-hood the inline

Can I make Dialogflow intents require atleast one of the trained entities?

浪子不回头ぞ 提交于 2021-01-28 02:44:01
问题 I know how to make intents require any parameter value, after which the intent will force to get the value; but is it possible to make it force to get atleast one of the given entity parameters ? 回答1: You could enable webhook fulfillment for that intent and if no entities were provided, reprompt the user for at least one of a list of entities. 来源: https://stackoverflow.com/questions/49704844/can-i-make-dialogflow-intents-require-atleast-one-of-the-trained-entities

Google actions simulator does not work for standard Google Assistant features

痴心易碎 提交于 2021-01-27 17:40:54
问题 I have built an action with Actions-on-Google(2.5.0) and dialogflow-fulfillment(0.6.1) Node.js Library. I cannot test my app on dialogflow test console because I return conv object which is not supported there. Now, I cannot test it in the google action simulator, either. This is the error I get: Invocation Error You cannot use standard Google Assistant features in the Simulator. If you want to try them, use Google Assistant on your phone or other compatible devices. I'd like to use the

Error: 4 DEADLINE_EXCEEDED: Deadline Exceeded

为君一笑 提交于 2021-01-27 06:59:22
问题 After few transaction while using Dialogflow APIs, DEADLINE_EXCEEDED: Deadline Exceeded error is coming and after that I always need to restart the service, then again it starts working for a while. Not getting any relevant answers even after trying lots of blogs. Using node package: dialogflow and dialogflow standard edition (Free Version) Tried with various agent of Dialogflow, but not getting the response. Error: 4 DEADLINE_EXCEEDED: Deadline Exceeded at Object.exports.createStatusError (

Customize the height of the chat widget of Dialogflow messenger integration

隐身守侯 提交于 2021-01-05 08:48:58
问题 I am using Dialogflow's new website integration "Dialogflow messenger". Everything is working fine but when I click on the chat widget the height of the chat window is exceeding the size of the browser window as you can see in the attached snapshot. I have read out the official documentation for CSS customization of this chat widget but I couldn't found any useful method to handle this issue. I have tried with different browsers like firefox, chrome, safari, etc. But the issue remains the

Customize the height of the chat widget of Dialogflow messenger integration

偶尔善良 提交于 2021-01-05 08:47:45
问题 I am using Dialogflow's new website integration "Dialogflow messenger". Everything is working fine but when I click on the chat widget the height of the chat window is exceeding the size of the browser window as you can see in the attached snapshot. I have read out the official documentation for CSS customization of this chat widget but I couldn't found any useful method to handle this issue. I have tried with different browsers like firefox, chrome, safari, etc. But the issue remains the

How to call Dialogflow Rest API with OAuth access token

一世执手 提交于 2020-12-31 07:42:13
问题 I have created project in google console Enable the Dialogflow API Created OAuth v2 credential Using this credentials i called access token api to generate token https://accounts.google.com/o/oauth2/v2/auth? scope=https://www.googleapis.com/auth/dialogflow& access_type=offline& include_granted_scopes=true& response_type=code& state=state_parameter_passthrough_value& redirect_uri=http://localhost& client_id= **i placed client id here** I received access token and passed it to Dialog flow API

How to call Dialogflow Rest API with OAuth access token

99封情书 提交于 2020-12-31 07:37:20
问题 I have created project in google console Enable the Dialogflow API Created OAuth v2 credential Using this credentials i called access token api to generate token https://accounts.google.com/o/oauth2/v2/auth? scope=https://www.googleapis.com/auth/dialogflow& access_type=offline& include_granted_scopes=true& response_type=code& state=state_parameter_passthrough_value& redirect_uri=http://localhost& client_id= **i placed client id here** I received access token and passed it to Dialog flow API

Google Cloud Platform not allowing project shut down due to lien

感情迁移 提交于 2020-12-29 09:48:52
问题 I am trying to delete a GCP project, but each time I get a message that says: Error The project has a lien against it. Tracking Number: Can anyone advise? 回答1: I fixed this problem by deleting a Dialogflow agent associated with the project: Go to https://console.dialogflow.com Click on settings item in the top left (the cog icon next to the agent name) Confirm that this agent is in the project you are trying to delete. If it is not, select the agent that is in the project Click 'Delete this

Google Cloud Platform not allowing project shut down due to lien

你说的曾经没有我的故事 提交于 2020-12-29 09:48:10
问题 I am trying to delete a GCP project, but each time I get a message that says: Error The project has a lien against it. Tracking Number: Can anyone advise? 回答1: I fixed this problem by deleting a Dialogflow agent associated with the project: Go to https://console.dialogflow.com Click on settings item in the top left (the cog icon next to the agent name) Confirm that this agent is in the project you are trying to delete. If it is not, select the agent that is in the project Click 'Delete this