Questions tagged [dialogflow-es-fulfillment]

Dialogflow ES is a natural language platform owned by Google. (Formerly known as just Dialogflow or as api.ai.) A fulfillment in Dialogflow ES allows an intent to perform operations on input parameters and return an output. Use this tag when issues arise with building fulfillments. For questions about the Dialogflow ES API or UI, use the dialogflow-es tag. For the similarly named, but incompatible, Dialogflow CX, use the dialogflow-cx tag.

Dialogflow ES is a Natural Language Understanding system from Google and was formerly known as "Dialogflow" or "api.ai". It provides NLU processing for relatively simple conversations.

One of the components of Dialogflow ES allows developers to create code in a webhook fulfillment to apply business logic after an Intent has been matched to process the input from the user and apply any business logic to determine a response.

The webhook is called after the user input has been processed and narrowed into a defined Intent. If you are interested in writing code that sends user input to Dialogflow via an API, manipulates the conversational model, or otherwise handles the response after it has been processed by a webhook, you should use the tag.

For the more complex, and completely incompatible, NLU system from Google called Dialogflow CX, which also includes a visual flow editor as well as an API and fulfillment system, see the tag.

778 questions
2
votes
0 answers

Dialogflow returning answers with confidence score below ml classification threshold

I'm training a chatbot using dialogflow and I've put the ml threshold classification as 0.7 but the ai is still detecting false positives when the confidence score comes below the classification threshold. Is this a bug or did I misunderstand how…
2
votes
1 answer

Playback media object for specified time on google assitant

Is there a way to play back a media objects for a specified period using nodejs actions sdk ? For example in the code below in the code below the file is for 1 minutes and 42 seconds. But suppose I had a file that was 60 minutes long, I want to be…
Naresh MG
  • 633
  • 2
  • 11
  • 19
2
votes
1 answer

Dialogflow fulfillment parameter not accessible

I'm currency trying out dialogflow fulfillment with NodeJS (dialogflow-fulfillment). I am trying to access the parameters from dialogflow, but when I'm trying to access the currency-name parameter I get the following error: ReferenceError: name is…
2
votes
1 answer

Reading list with Dialoglfow fulfillment from Real-Time Database

I am creating a chatbot using Dialogflow and Dialogflow's Inline Editor (for Cloud functions and Firebase database "Real-Time Database"). I will integrate this chatbot with Google Assistant. I have to read a list from the database, wherein the list…
2
votes
1 answer

Different intents for different questions in Dialogflow

Do we need to create different intents for different different questions? or is there any way where we can put 4-5 different questions in the same intent ? For example, I have Intent Comp-info So, in Intent Comp-info I want to ask questions…
SMshrimant
  • 638
  • 9
  • 15
2
votes
1 answer

Can we programmatically set and delete contexts with Dialogflow's Node fulfilment library, without involving the UI?

Using Dialogflow's Node Fulfillment SDK, I thought one could programmatically set and delete contexts, and extract parameters from within them. I'm trying to collect values for multiple parameters, and they can come in on multiple passes to the…
1
vote
0 answers

How can I use Dialogflow fulfillment and Google Cloud Storage to send a user a PDF file triggered by an intent?

I wanted to use dialogflow fulfillment and google cloud storage to set up an intent in the inline editor so that when a user triggers the intent a pdf file is sent to them. But unfortunately it does not work for me yet. I would be so grateful for…
jochen.h
  • 11
  • 2
1
vote
0 answers

DialogFlow ES agent with API Webhook not giving the expected output

Below is my API code // Import required dependencies const express = require('express'); const bodyParser = require('body-parser'); const axios = require('axios'); Create Express app // Import required dependencies const express =…
1
vote
0 answers

Google DialogFlow ES webhook fulfillmentMessages being ignored

I have built a simple intent using google dialogflow console. It essentially leads the other party through answering 4 questions and then hits a webhook endpoint via ngrok on my dev box. The endpoint returns the following application/json…
1
vote
0 answers

Windows Python path.join - The system cannot find the path specified

def env_variables(): dir_path = os.path.dirname(os.path.realpath(__file__)) os.environ["DIALOGFLOW_PROJECT_ID"] = "bot-fvji" os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = os.path.join(dir_path, "fvji0c3efb18f6e6.json") command =…
1
vote
1 answer

Slot Filling -- Only prompting page parameter fulfillment when parameter is empty

I am using Dialogflow CX and asking a user for the following information: name email phone I have an intent designed that understands and saves those parameters in any permutation. The page is design with three required parameters for each of…
1
vote
0 answers

Retrieve name of Google signed in user from Firebase Auth in Dialogflow

I have created a React-Native chatbot. Currently, the flow is: User logs into React-Native iOS app via Google sign in using Firebase Auth User interacts with chatbot. Messages are sent via iOS app to Dialogflow Dialogflow maps intent and selects…
1
vote
1 answer

How to handle multiple users in node js Webhook for Dialogflow ES?

New to creating Webhooks and DialogFlow chatbots. I have created a nodejs Webhook in Visual Studios to enable fulfilment in Dialogflow. However, when I have multiple users using the chatbot at the same time, the parameters in the Webhook (not parsed…
1
vote
1 answer

"Unhandled rejection" message when trying to display data from Firestore Database in Dialogflow payload

I'm new at this & I've read numerous similar articles but none worked for me. I really need close assistance. I'm developing a chatbot using Dialogflow & using the Fulfillment Inline Editor. I wanted an intent where when user enters "Read db" the…
1
vote
1 answer

Dialogflow interactions with API and asking the users question based on that

I have a dialogflow intent that books a room for a library. In that I ask for room number, time, date, email and so on. I want to be able to get the time from an API after I get the room number, and I want to reprompt the user for a time if they…