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
6
votes
1 answer

Duplicate classes error after adding dialogflow dependency to my android app

I get duplicate classes error after adding dialogflow dependency to my app which uses firebase. tried downgrading both dialogflow and firebase dependencies, also tried "implementation('com.google.cloud:google-cloud-dialogflow:0.98.0-alpha'){ …
Husam Gibreel
  • 121
  • 2
  • 6
6
votes
2 answers

Error: No handler for requested intent at WebhookClient.handleRequest

Default intent calling a cloud function gives error Error: No handler for requested intent at WebhookClient.handleRequest (/user_code/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:287:29) at…
timblistic
  • 553
  • 2
  • 10
  • 26
6
votes
3 answers

Time format in Dialogflow

I am trying to train a Dialogflow bot to recognize different travel requests (flight reservations, hotel bookings, etc). I see that it doesn't properly parse the time if it isn't specified as a 12-hour format (with AM/PM). I need a flight from…
flaviumanica
  • 195
  • 1
  • 4
  • 14
6
votes
1 answer

DialogFlow - set allRequiredParamsPresent from webhook?

I'm using a cloud function to respond to webhooks as described in the documentation. On DialogFlow, I made all the parameters optional, and instead I want to control which parameters are required dynamically. Is it possible to set…
arao6
  • 3,316
  • 5
  • 30
  • 51
6
votes
2 answers

set parameters in EventInput in Dialogflow V2 API

I desperatly try to set parameters in a dialogflow.types.EventInput in python. This doc says the parameters need to be of type Struct. I read here that the parameters needs to be a google.protobuf.Struct. But it does not work for me. Is there…
TVK
  • 1,042
  • 7
  • 21
6
votes
0 answers

Using Dialogflow and Firebase Firestore causing protobuf conflicts (protobuf-lite vs protobuf-java)

When trying to implement Firebase Firestore (com.google.firebase:firebase-firestore) into my android app, I receive protobuf version conflicts with Google Dialogflow (com.google.cloud:google-cloud-dialogflow:0.77.0-alpha). The first error I get,…
6
votes
1 answer

Why does Dialogflow nodejs sdk "detect Intent with Knowledge Base" method responds with null ? ( V2Beta)

I am integrating the Dialogflow Nodejs sdk into my application to detect the knowledge base intent with the help of the following document nodejs-dialoglowflow-detect-knowledgebase-intent. Below is my query request const request = { session:…
Denny John
  • 464
  • 7
  • 20
6
votes
2 answers

What is the lifetime of Dialog flow session?

I am developing a chat bot, where the user need to continue the chat after some days. So I am planning to store the session ID, to make make sure that the user can start the conversation form where he left. Any solution for this?
Sarath
  • 366
  • 4
  • 19
6
votes
0 answers

Dialogflow how to DeepLink to launch Android app without the voice confirmation?

I am trying to handle the carousel item selection using DeepLink inside the Android app, using Dialogflow of actions-on-google. The code is: 'use strict'; const dialogflow = require('actions-on-google').ActionsSdkApp; const { dialogflow, …
srikanth
  • 308
  • 3
  • 13
6
votes
2 answers

Dialogflow - Google Assistant: setFollowupEvent after showing a message

Here it is my use case: somewhere in my fulfillment, while handling the Intent A, I want to call Intent B using setFollowupEvent. Something like: function intentA_Handler(){ .... agent.add('This is the response when calling Intent A'); …
6
votes
2 answers

End conversation using Dialogflow Fulfillment Library v2 on firebase?

How do i set the "end conversation" flag using the Dialogflow Fulfillment Library WebhookClient class? I'm using the inline editor powered by Cloud Functions for Firebase, in case that matters. The situation is that a particular intent cannot be…
Force Gaia
  • 514
  • 2
  • 8
  • 24
6
votes
1 answer

how do I send a context parameter to the webhook/fulfilments DialogFlow v2

I am reading the official documentation from this link: https://cloud.google.com/dialogflow-enterprise/docs/reference/rest/v2beta1/QueryParameters but I am unable to pass a context parameter into my request using the following code: var query =…
6
votes
3 answers

Dialogflow functions: Cannot read property 'client' of undefined

I've finally got user signed up with this cloud function: const functions = require('firebase-functions'); const { dialogflow, Image, } = require('actions-on-google') // Create an app instance const app = dialogflow() // Register handlers for…
stkvtflw
  • 12,092
  • 26
  • 78
  • 155
6
votes
6 answers

How to make http call on DialogFlow v2 using Javascript ajax call

I found this example on the official site of DialogFlow using Node.js and it is working fine, but I dont know how do I integrate this into my web application. Is it possible that I can integrate this into my other javascript jquery code? and here I…
6
votes
1 answer

Dialogflow pass parameters through NodeJS

How can i pass parameters through NodeJS request? I would like to pass, for example, the name from my code and dialogflow automatically answer with a response which contains the parameters i passed, as "Hi $name". Mine actual request: const request…
Marco Lampis
  • 403
  • 5
  • 15