Questions tagged [dialogflow-es]

Dialogflow ES is the "classic" version of Dialogflow from Google, providing a Natural Language Understanding system you can integrate with your programs, and allowing you to build simple conversational agents or chatbots for a variety of platforms using an API or web-based UI. For the more complicated flow-based tool from Google, see the dialogflow-cx tag. For specific issues writing webhook fulfillments, see the dialogflow-es-fulfillment tag.

Dialogflow ES is a basic Natural Language Understanding system that is suitable for small to medium and simple to moderately complex conversational agents. Intents are the building blocks of conversation design, and contexts are used to control conversation paths.

Formerly known as just "Dialogflow", and before that as "api.ai", Dialogflow ES consists of several components, including

  • An API that allows you to determine Intents from a text or spoken phrase
  • Some pre-built integrations with common chat or conversation platforms
  • An API and web-based UI that lets you build and manage the NLU model
  • The ability to apply business logic through webhook fulfillments

Questions specifically about the fulfillment webhook should be tagged .

There is a more advanced version, Dialogflow CX, which offers a more complicated conversation design model based around flows, and a more visual design tool. It is, however, completely incompatible with Diallogflow ES. Questions about Dialogflow CX should be tagged .

5530 questions
11
votes
2 answers

Error in Firebase logs: Warning, estimating Firebase Config based on GCLOUD_PROJECT. Initializing firebase-admin may fail

I am creating a bot on Dialogflow, and I am using Dialogflow-fulfillment for dynamic response and Firebase Real-time Database as a database. What I am trying to do here is, suppose a hospital which provides certain facility has several…
11
votes
1 answer

API.AI does not connect to my back-end

I'm writing an agent using API.AI I'm observing that my back-end is not called everytime. I can see that in my access logs. Any idea what can cause the issue? Here is the response of the console: { "id": "c1902c75-1550-43f6-9cc8-b0461f1dfac7", …
rekire
  • 47,260
  • 30
  • 167
  • 264
10
votes
4 answers

Dialogflow Google Assistant Alpha release always failing with the following message: "For en: Your sample pronunciations are structured incorrectly."

Alpha release of Google assistant not working. It always showing the message: "For en: Your sample pronunciations are structured incorrectly.
10
votes
4 answers

Error: Request unsafe for browser client domain: dialogflow.googleapis.com

I'm setting up a DialogFlow wrapper and I'm using the DialogFlow JavaScript SDK. But, I'm getting the following error: Error: Request unsafe for browser client domain: dialogflow.googleapis.com This was working before, but I'm not sure why it…
10
votes
8 answers

PermissionDenied: 403 IAM permission 'dialogflow.intents.list'

I'm trying to get the list of the intents in my Dialogflow agent using Dialogflow's V2 APIs but have been getting the following error: PermissionDenied: 403 IAM permission 'dialogflow.intents.list' on 'projects/xxxx/agent' denied. I adopted the…
10
votes
5 answers

Dialogflow easy way for authorization

Does exist an easy way to connect Dialogflow agent to node.js code? When I use this code with the correct projectID taken from the Dialogflow agent's settings page, I have the following error: Error: Unexpected error while acquiring application…
Marco Lampis
  • 403
  • 5
  • 15
10
votes
5 answers

Google dialogflow PERMISSION_DENIED Exception

I am trying to access a Google DialogFlow from a Windows Java application. I have the environment variable, GOOGLE_APPLICATION_CREDENTIALS, properly set and I can call other Google APIs. However, when I call: DetectIntentResponse response =…
Andrew Prokop
  • 121
  • 1
  • 1
  • 4
10
votes
1 answer

How to store and retrieve the chat history of the dialogflow?

I want to redirect the chat from Google dialogflow to a human. For this, I want to get the history of the conversation made by the user. Is there any platform where the history is being stored? If yes, how to access it. If not, how to achieve this…
Rakhi Mittal
  • 103
  • 1
  • 5
10
votes
6 answers

Can't find the function url for Firebase webhook in Google Assistant tutorial

I've been doing the Codelabs tutorial on "Facts about You: Build a conversational app for the Google Assistant" but have run into a problem. Page 4 of the tutorial is devoted to using Cloud Functions for Firebase for setting up a webhook to provide…
9
votes
1 answer

DialogFlow Inline Editor never enabled - Google Actions Code Lab

I am trying to run through the Google Actions tutorials to play around with Google Assistant. I've started with the first Code Lab but when I get to the 6th part, step 2 and try and toggle on the Inline Editor I consistently get: Your Google Cloud…
rossco
  • 523
  • 4
  • 20
9
votes
4 answers

Create dialogflow agent programmatically

Is there a way to programmatically create a new dialogflow agent programmatically? I've done gcloud projects create [name] followed by gcloud services enable dialogflow.googleapis.com I assumed this would be enough to use the projects.agent.import…
Robert Levy
  • 28,747
  • 6
  • 62
  • 94
9
votes
4 answers

DialogFlow PermissionDenied: 403 IAM permission 'dialogflow.sessions.detectIntent'

PermissionDenied: 403 IAM permission 'dialogflow.sessions.detectIntent' on 'projects/XXXX-live/agent' denied. I have used the DialogFlow client as a role while creating the service. What could be the problem?
Anand Thati
  • 173
  • 1
  • 1
  • 9
9
votes
2 answers

Reset Context in DialogFlow V2

I would like to know how to reset contexts in DialogFlow V2. I m currently using V2 and writing the backend codes in node.js.
Abhinav Kaimal
  • 235
  • 1
  • 2
  • 10
9
votes
2 answers

In a chatbot conversation using dialogflow, Is there a way to make the bot speak first?

Is it possible to format a conversation so that the bot initiates conversation using dialogflow in a web demo integration? The objective is to say something like “Hi, I’m a bot, I can do x” to establish that it’s a chatbot rather than a human. Can…
amy
  • 113
  • 6
9
votes
2 answers

How to call google.apis.dialogflow.v2 in C#

I am new to Google APIs. I want to know how to call Google Dialogflow API in C# to get intent form the input text. But I can't find any example to call Dialogflow using C#. Please provide some example to call Dialogflow from C#.
Gowdham
  • 153
  • 2
  • 3
  • 11