dialogflow-es

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

ぃ、小莉子 提交于 2021-02-10 05:14:42
问题 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 further questions-: Can we ask to the user to Spell to Dialogflow some specific words orally? ex: spelling an email to avoid error / password spelling too can we increase the number of "errors" when

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

本秂侑毒 提交于 2021-02-10 05:12:24
问题 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 further questions-: Can we ask to the user to Spell to Dialogflow some specific words orally? ex: spelling an email to avoid error / password spelling too can we increase the number of "errors" when

When I use Promise with dialogflow library in server - get Error

断了今生、忘了曾经 提交于 2021-02-09 07:02:16
问题 I try to execute this code on Firebase Cloud Functions const functions = require('firebase-functions'); const admin = require('firebase-admin'); const firebase_database = require('./conf/firebase'); const { WebhookClient } = require('dialogflow-fulfillment'); exports.dialogflowFirebaseFulfillment = functions.https.onRequest((request, response) => { function searcheColleagueByName(agent){ var lastname = agent.parameters.lastname; firebase_database.ref().once('value') .then(team => { agent.add(

When I use Promise with dialogflow library in server - get Error

删除回忆录丶 提交于 2021-02-09 07:00:17
问题 I try to execute this code on Firebase Cloud Functions const functions = require('firebase-functions'); const admin = require('firebase-admin'); const firebase_database = require('./conf/firebase'); const { WebhookClient } = require('dialogflow-fulfillment'); exports.dialogflowFirebaseFulfillment = functions.https.onRequest((request, response) => { function searcheColleagueByName(agent){ var lastname = agent.parameters.lastname; firebase_database.ref().once('value') .then(team => { agent.add(

Google dialogflow PERMISSION_DENIED Exception

霸气de小男生 提交于 2021-02-08 12:54:10
问题 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 = sessionsClient.detectIntent(session, queryInput); I receive a grpc exception: PERMISSION_DENIED: IAM permission 'dialogflow.sessions.detectIntent' on 'projects/newagent-a0ef5/agent' denied.Session Path: projects/NewAgent/agent/sessions/xxxx "newagent

Accessing previous follow up intent parameters within dialogflow-fulfillment

对着背影说爱祢 提交于 2021-02-07 08:09:22
问题 I'm using the default dialogflow code provided in the inline editor, based on dialogflow-fulfillment ^0.5.0 to collate all the parameters given over several follow up intents. I have a setup where follow up intents ask questions, resulting in a final intent that has all questions asked. Pulling data from previous intents inside the dialogflow console to include in a response would just be using i.e. #order-cream-followup.chocolate-type to get a parameter from a previous intent or $quantity to

Accessing previous follow up intent parameters within dialogflow-fulfillment

Deadly 提交于 2021-02-07 08:05:18
问题 I'm using the default dialogflow code provided in the inline editor, based on dialogflow-fulfillment ^0.5.0 to collate all the parameters given over several follow up intents. I have a setup where follow up intents ask questions, resulting in a final intent that has all questions asked. Pulling data from previous intents inside the dialogflow console to include in a response would just be using i.e. #order-cream-followup.chocolate-type to get a parameter from a previous intent or $quantity to

Is there a way to trigger different query while filling the required slots in dialogflow

青春壹個敷衍的年華 提交于 2021-02-07 07:15:26
问题 I have an intent orderPizza and entities as @pizzaOptions @pizzaSize @qty happy path (working fine) user: order 2 pizza bot: which pizza you want? user: pepperoni bot: and pizza size? user: large bot: okay! your order for 2 large pepperoni pizza has been placed. CASE_2 user: order 2 pizza bot: which pizza you want? user: which pizza options do you have? bot: which pizza you want? so in case 2 when user ask for the pizza Options then bot re-prompt the same question I want bot to answer the

Is there a way to trigger different query while filling the required slots in dialogflow

时光怂恿深爱的人放手 提交于 2021-02-07 07:14:35
问题 I have an intent orderPizza and entities as @pizzaOptions @pizzaSize @qty happy path (working fine) user: order 2 pizza bot: which pizza you want? user: pepperoni bot: and pizza size? user: large bot: okay! your order for 2 large pepperoni pizza has been placed. CASE_2 user: order 2 pizza bot: which pizza you want? user: which pizza options do you have? bot: which pizza you want? so in case 2 when user ask for the pizza Options then bot re-prompt the same question I want bot to answer the

How to show Rich Response Buttons (''Chips) Using Dialogflow Fulfillment?

為{幸葍}努か 提交于 2021-02-05 10:43:05
问题 Based on the online example I wanted to try to add Rich Response Buttons and Basic cards using Dialogflow Fulfillment and Inline editor, but I'm not getting anything rendered in the Dialogflow Messenger client. Are rich responses not fully supported? 回答1: According to the readme file, the Dialogflow Fulfillment library is no longer being maintained; therefore, it seems that you can't use rich response in Dialogflow messenger directly with this library. Based on this, if you want to use rich