Questions tagged [dialogflow]

1

votes
1

answer
423

Views

Dialog api v2 - Unexpected error while acquiring application default credentials: Could not load the default credentials

i am trying to implement a chat bot application with google dialog flow. i was fallowing this github tutorial https://github.com/dialogflow/dialogflow-nodejs-client-v2 to implement api. this is my code var express = require('express'); var router = express.Router(); const projectId = 'my-project-id'...
pavithra rox
1

votes
1

answer
99

Views

How do I use knowledgebase for Dialogflow in C#

I am trying to follow this example to setup knowledge base using Google.Cloud.Dialogflow.V2 in C# If I understand correctly, the docs say add the following to my intent request: 'queryParams': { 'knowledgeBaseNames': ['projects/my-gcp-project/knowledgeBases/my-knowledge-base-id'] } In my c# project...
mjroodt
0

votes
0

answer
2

Views

Problem with import of my custom small-talk settings

I'm writing a smart telegram bot using Dialogflow. And I ran into the problem that when I was setting up small-talk (adding additional answer choices for different situations) then they didn't work though the site showed the change. Is there a problem? screenshot --->enter image description here
1

votes
1

answer
52

Views

Identify number associated with each entity in Dialogflow

I am not sure if this title is appropriate for the question, so let me explain in detail what is it that I am trying to achieve. This is not my actual project scenario I am using this as an example. Consider a scenario where a user is trying to buy fruit's. The user can say to bot: I need 2 apples a...
Thanthu
1

votes
1

answer
139

Views

What is the DialogFlow webhook response URL

I created a V2 agent that makes a DialogFlow webhook for one of my intents. I receive the webhook in my server code but I'm not sure how to respond to it. I can't find the URL I need to make the response back as well the authentication or other info needed to associate my response to the original we...
jonschipp
1

votes
1

answer
234

Views

How to get root value of Json get from dialogflow?

I got the json response from dialogflow. Now I want to get the 'q1' value. So I've tried this: var stringjson = ApiAiJson.Serialize(queryResponse); var deserializejson =ApiAiJson.Deserialize(stringjson); if (deserializejson.Result.Action == 'web.search') { JObject jsonob = JObject.Parse(stringjson);...
1

votes
0

answer
399

Views

Test Actions on Google app on Raspberry Pi running Google Assistant SDK

I created an Actions on Google app which I am currently testing. I was able to test it on my Pixel, but when I tried to launch the app on my Raspberry Pi running the Google Assistant SDK it responded by saying '(name of app) isn't supported on this device'. Is there any way I can run the app on my P...
Shawn Patel
1

votes
0

answer
277

Views

Template Mode in api.ai is not working with Google Assistant

I have on Dialogflow agent and I want to sync it with google assistant. For user says section, I want to use Template mode. It works fine in api.ai, but when I click on option 'See how it works in Google Assistant', it throws error like 'Request contains an invalid argument. Query pattern contains i...
Priya
1

votes
0

answer
233

Views

How to determine confidence level in DialogFlow

When a user is responding to a question in DialogFlow, is there a way to obtain the confidence levels that was achieved for a specific phrase? Example: Q: What is the capital of Germany? A: Berlin I would like to read back how well the AI understood the user, e.g.: He said: 'Boerlin' ---> 87.3% conf...
Thomas Treutler
1

votes
2

answer
498

Views

Change bot user name in slack for dialogflow bot

I am recently working on dialog flow bot (API.ai) I have integrated my chatbot with slack from API.ai. When I start conversation and continue chatting, I found that bot username displayed in slack shown as Dialog flow Bot. But I have configured the name as treselle. How to change it? Please find the...
GunasekaranR
1

votes
0

answer
602

Views

Reading firebase data to answer Dialogflow query from Firebase Database

Thanks for your time in reading this query. I am implementing a Dialogflow bot using google cloud functions and firebase. The use case, I wish to design is that User says 'I wish to know information about New York' Dialog flow captures the intent 'lookingForInformation' with Geo.City parameter as '...
trustine
1

votes
1

answer
67

Views

Agents tests OK in Dialogflow but fails when tested in Actions On Google

Agents tests great in Dialogflow but fails when tested in Actions On Google I see this error: 'sharedDebugInfo': [ { 'name': 'ResponseValidation', 'subDebugEntry': [ { 'debugInfo': 'API Version 2: Failed to parse JSON response string with 'INVALID_ARGUMENT' error: \': Cannot find field.\'.', 'name'...
Howard
1

votes
0

answer
655

Views

Trigger Intent from a List in Google Actions

I am trying to create a Google action in which I want to invoke an intent when the user selects an object on the list. The problem is, there is only one event name 'actions_intent_OPTION' which will help in directing to a single intent. What I want is using the selected option I like to move to a pa...
G.D. Vigneshwar
1

votes
0

answer
240

Views

How to create a custom AWS Alexa skill using my exported Dialogflow (API.AI) agent

I have a Dialogflow (formerly called API.AI) agent that works great in Dialogflow -- I can have a multi-level conversation that persists contexts, etc. I've been struggling to export this into an Alexa skill, which I believe should be possible. The Dialogflow docs only provide the steps to export th...
wb10
1

votes
0

answer
154

Views

Heroku: Could not load the default credentials (Dialogflow API)

I am trying to build a chatbot using Node.JS, Dialogflow & Socket.Io and it works fine on my local machine. But when I want to access my agent from my Heroku app I get this error: Could not load the default credentials. I have defined the environment variables in the Config Vars on Heroku, but it do...
Matthieu Stadelmann
1

votes
1

answer
276

Views

Security Dialogflow fulfillment request headers

This is a follow up on Security Dialogflow fulfillment thread. the answer there explore the req.headers.authorization you will find an authentication variable (concat these three things: Your dialogflow username The character ':' Your dialogflow password and encode it in base64) makes sense but in...
Jimmy
1

votes
1

answer
1.7k

Views

Adding quick replies to web chatbot using dialogflow (api.ai)

I started to build a chatbot on my glitch server dealing with small talk questions using Dialog flow (api.ai). I used the code, which i copy paste on the bottom (index.html). Now I want to add quick replies. This is very simple for integrated chatbots (e.g. in Facebook) but not for webchatbots, so m...
Rainer Winkler
1

votes
0

answer
83

Views

Manual Action necessary for the API to return Entities ?

I am using Dialogflow’s API to feed intents and their respective entities. We’re doing this as a team so modifications are made on a pretty regular basis. In the meantime, we select some utterances for which we know the desired classification, and we check via Dialogflow’s API (the /query endp...
Gabou
1

votes
0

answer
182

Views

Actions SDK/Dialogflow waiting longer than 10 sec for User Input

I am currently developing my first app for Google Assistant using Dialogflow. Now if I say nothing for 10 seconds, the intent is repeated. After this happens 3 times, the intent is closed. That's the case with my Google Home devices. For my smartphone, the Assistant waits several hours for the answe...
Felix
1

votes
1

answer
1.4k

Views

Delete Dialogflow/Actions on Google Project

I had created a Dialogflow Agent, and wanted to build an Google Assistant App via the Dialogflow Integration. Now it seems that i have - Dialogflow Agent - Actions on Google Project - Google Cloud Project But i can't delete this stuff again. :( Deletion of Dialogflow Agent throws error: Agent can...
Stefan Volkmer
1

votes
1

answer
493

Views

Two or more identical parameters in one sentence

I have a dialogflow intent which includes different parameters.Shown as below: 1.png I set generic 'number' for all number parameters such as 'Years to Average Principal' and generic 'percentage' for all percentage parameters.Like this: 2.png When I say something like 'Change vacancy rate to 56%' or...
we.are
1

votes
1

answer
438

Views

Dialogflow: creating intents with user inputs as a context

My question is about the creation of intents in Chatbots using the Dialogflow platform. I would like to know if it is possible to create intents with contexts based on a user inputs. By the regular way in Dialogflow we have to define the contexts 'by hand' in the moment of creation of it. I have rea...
1

votes
1

answer
217

Views

Entity Mapping API AI

I am creating a bot for real estate. Now in real estate, user may enter any locality or society, which right now is more than 100 000 in database. To get it resolved as entity, one solution is that I enter all societies/localities as developer entities in system. But, this might not be scalable. Can...
vipul
1

votes
1

answer
196

Views

how to make intent configured for updates(push notfications) in google actions?

I have followed all the steps given on https://developers.google.com/actions/assistant/updates but when I'm trying to test the conversation send api https://actions.googleapis.com/v2/conversations:send?access_token='My_Access_Token' I'm getting below error: { 'error': { 'code': 400, 'message': 'T...
Shubham Zemse
1

votes
0

answer
191

Views

Speech-to-text on Apple Watch

We are struggling implementing the Dialogflow conversational API to an Apple Watch. We have done an implementation but can not manage the speech regognition to work (via Google Voice API) because the encodings are different (FLAC vs.provided LPCM). Any suggestions on how to perform a speedy speech-t...
winternet
1

votes
0

answer
379

Views

How to integrate Transaction API in Action on Google

Trying to integrate Transactions API for reservations only (No Payments required). While invoking transaction decision, the app is not responding and I hear “ is not responding right now. Try again soon.” Here are my steps: 1. Check if transaction is required using transaction check 2. Create o...
Abhinav Tyagi
1

votes
1

answer
208

Views

Can I specify an entity's value as a specific form instead of a specific value?

I have an entity that the value can vary for each user (ex. 'Turn on the lights at room XYZ where 'room XYZ' is the value of an entity). Can I specify at the platform that the entity will be of the form room $something and how can I do this? The response is not a problem since it will be handled by...
Eliza Camber
1

votes
3

answer
1.1k

Views

Actions on Google implicit account linking works in simulator/browser, but not on device (via Google Home app)

I've implemented the implicit flow for Actions on Google account linking, and am using Dialogflow (previously API.AI) to define intents. The full flow works in the device simulator (from AOG). The first intent gets a 'It looks like your account isn't linked yet...' response, and the debug pane inclu...
Jeremy Gordon
1

votes
1

answer
454

Views

Can I get Dialogflow send a request to my webhook when I trigger an event?

I want to trigger an intent/event in Dialogflow [from my webhook/server] and have Dialogflow send a request to my /webhook instead of just responding to the POST request that I made which triggered the event. Is that possible? I want to send the user a message based on their input in our web applica...
Brian Bauer
1

votes
0

answer
74

Views

When I launch an event, this call to the intent but not show in the client app

I have this event: Image of the intent And I have this code in the Fullfillment: function LanzarEvento(session) { //var user = firebase.auth().currentUser; const uuid = require('uuid'); const sessionId = uuid.v1();//user.uid; // Imports the Dialogflow library const dialogflow = require('dialogf...
Andres
1

votes
1

answer
727

Views

Error: could not handle the request

I'm following a tutorial at https://dialogflow.com/docs/getting-started/basic-fulfillment-conversation#deploy_function_again and executed gcloud beta functions deploy weatherWebhook --trigger-http. Google's response seemed to be successful: Deploying function (may take a while - up to 2 minutes)...d...
John
1

votes
1

answer
357

Views

Obtain WAN IP address from Google Assistant Webhooks

During the Account Linking of our app with Google Assistant, we authenticate the user by mapping its WAN IP Address. Once Webhooks intents are received, they are coming from Google cloud, not the user device, so the WAN IP doesn't match. It's then impossible to know if the user is still at home. It...
Peter
1

votes
0

answer
520

Views

actions_intent_SIGN_IN not triggered for successful sign in implicit flow account linking

I am not able to get the actions_intent_SIGN_IN triggered once a successful implicit authorization is done. I do have a welcome Intent and sign.in intent mapped as actionMap.set('input.welcome', DefaultWelcomeIntent); actionMap.set('sign.in', signIn); and the respective methods are function Defau...
rahulmr
1

votes
1

answer
442

Views

DialogFlow : how to ask user to spell a word and can we increase the number of “error” before being disconnected?

I've got two basic other questions about DialogFlow and integration with google home / assistant, I didn't find it on my previous researches, but maybe miss it somewhere -really hope not as I do not want to put burden, but one user in google circle insisted me to consider to use stackoverflow for fu...
Antonin a
1

votes
1

answer
56

Views

Why is Slack integration failing some time after a successful integration?

I'm having some trouble with Slack integrations with my Dialogflow agents that I hope someone can help me with. I have several agents that I've successfully connected a bot to and successfully interacted with. After some amount of time, usually about half a day, the POST requests that notify my webh...
Brian Bauer
1

votes
2

answer
702

Views

Trigger a Dialogflow event periodically

I want my Dialogflow bot to send periodic messages through a Cronjob. I would do this by triggering an event through the /query endpoint. However, I am not sure how to get the sessionId. If I pass the last sessionId used, the response returns successfully, but I get no message in the conversation. D...
lzmartinico
1

votes
0

answer
47

Views

How to redeploy gcloud beta function

I am working with Dialogflow at the moment using this guide. The guide gives me directions how to upload a function to the google cloud storage with the command gcloud beta functions deploy helloTest --stage-bucket helloStorage --trigger-http This works fine. I then wanted to make some changes to th...
Napmi
1

votes
0

answer
256

Views

How to detect standby event from Messenger?

Using Messenger Handover protocol I can pass the control to inbox when user requests to talk to a human. I want the bot to listen on standby in order to take the control back when user requests it. The problem seems that the bot doesn't listen on standby. My Facebook page is subscribed to Standby ev...
Yassine Abdellaoui
1

votes
0

answer
52

Views

Start navigation once user selects carousel item

I have a list of items which are returned by my api. The cards display fine and I pass in the address as the key in optionInfo object. I see that when I click one of these items, the address is returned. How do I use this address to start maps for navigation? TIA
sb_269
1

votes
1

answer
71

Views

Calling Azure API from Google Cloud Function

I have developed Google Cloud Function which calls an API hosted in AZURE. However the function returns error Error: function crashed.Details: getaddrinfo ENOTFOUND https://bupanonproduction.azure-api.net https://bupanonproduction.azure-api.net:443 Below is the google cloud function 'use strict';...
Alan B

View additional questions