chatbot

Add another keyword for Quit in FormFlows - Bot Framework

陌路散爱 提交于 2019-11-30 16:51:55
Is it possible to change the keyword for the Quit commando in FormDialog using Bot Framework? I want to throw the FormCanceledException when a certain word is typed (Not using english as language). If I could change the keyword, or add another that does the same as Quit it would be perfect Yes, it's possible. One way to do that, is to add a new term to the FormCommand.Quit command. Here you will find an example that is doing exactly that (and code below for your reference) private static IFormBuilder<T> CreateCustomForm<T>() where T : class { var form = new FormBuilder<T>(); var command = form

How to implement a chatbot to human executive switch using Microsoft Bot Framework?

邮差的信 提交于 2019-11-30 16:31:21
The exact point being, that I've created a bot that can take inputs from users in free form text and return relevant web links. Now the problem being, that in case the bot is not able to understand the user query, the control of the conversation has to be passed on to the human executive. I've researched for over 2 days but could not find any such implementations. The closest I came was third party applications like ChatFuel, letsclap.io provide such a provision. So, there should be a way only that I am not able to find such a thing. Any help on this would be appreciated. one possible way is

How to implement a chatbot to human executive switch using Microsoft Bot Framework?

核能气质少年 提交于 2019-11-30 16:16:51
问题 The exact point being, that I've created a bot that can take inputs from users in free form text and return relevant web links. Now the problem being, that in case the bot is not able to understand the user query, the control of the conversation has to be passed on to the human executive. I've researched for over 2 days but could not find any such implementations. The closest I came was third party applications like ChatFuel, letsclap.io provide such a provision. So, there should be a way

Device location in dialogflow (api.ai) webhook request

白昼怎懂夜的黑 提交于 2019-11-30 16:05:50
I'm working on a Dialogflow chat bot for Google Assistant, in the webhook request JSON example here: https://developers.google.com/actions/reference/v1/dialogflow-webhook the webhook receives device data including its location: "device": { "location": { "coordinates": { "latitude": 123.456, "longitude": -123.456 }, "formatted_address": "1234 Random Road, Anytown, CA 12345, United States", "zip_code": "12345", "city": "Anytown" } } For some reason my webhook is not receiving any device data (the "device" key is missing completely). Does anyone know what I'm doing wrong or how I can include this

Device location in dialogflow (api.ai) webhook request

和自甴很熟 提交于 2019-11-30 15:53:14
问题 I'm working on a Dialogflow chat bot for Google Assistant, in the webhook request JSON example here: https://developers.google.com/actions/reference/v1/dialogflow-webhook the webhook receives device data including its location: "device": { "location": { "coordinates": { "latitude": 123.456, "longitude": -123.456 }, "formatted_address": "1234 Random Road, Anytown, CA 12345, United States", "zip_code": "12345", "city": "Anytown" } } For some reason my webhook is not receiving any device data

Add another keyword for Quit in FormFlows - Bot Framework

瘦欲@ 提交于 2019-11-29 23:32:54
问题 Is it possible to change the keyword for the Quit commando in FormDialog using Bot Framework? I want to throw the FormCanceledException when a certain word is typed (Not using english as language). If I could change the keyword, or add another that does the same as Quit it would be perfect 回答1: Yes, it's possible. One way to do that, is to add a new term to the FormCommand.Quit command. Here you will find an example that is doing exactly that (and code below for your reference) private static

How to create a smart chat-bot? [closed]

瘦欲@ 提交于 2019-11-29 19:52:31
I know that it's still an open problem so I don't expect to see complete answers here. I just want to find some approaches to solve the next problem: I have a model (assume that is's bot's memory), and different words are associated with different objects in the model. Speaking with the bot is like executing sql-queries with a DB. Language is a very hard formalizable protocol. And we can't just write a million lines of code to implement some real language. But I believe that it's absolutely possible to implement some self-learning mechanism. How can it be implemented? Is it possible to

Any tutorials for developing chatbots? [closed]

≯℡__Kan透↙ 提交于 2019-11-29 18:32:36
As a engineering student, I would like to make a chat bot using python. So, I searched a lot but couldn't really find stuff that would teach me or give me some concrete information to build a intelligent chat bot. I would like to make a chatbot that gives human-like responses (Simply like a friend chatting with you). I am currently expecting it to be as just a software on my laptop (would like to implement in IM, IRC or websites later). So, I am looking for a tutorial/ any other information which would certainly help me to get my project done. Franck Dernoncourt You can read a nice

How to fix issue related to 500 error code in web chat channel after clicking submit in Adaptive card in chatbot developed using V4 C#?

喜欢而已 提交于 2019-11-29 18:04:28
How to fix the issue related to 500 error occurring in web chat channel after clicking submit button in Adaptive card in chat bot developed through V4 C#? Creating this new issue as suggested by @mdrichardson-msft as the issue is specific/other issues in below stack overflow question: Is there a way to enable calendar option as an input in V4 chat bot C# other than using Adaptive cards? Coming to my issue: I have a water fall dialog class where I am using Adaptive card to select date time inputs and a submit button in step 1 and then in step#2 the values are captured and processed after I

How to get the Facebook email of a user for a bot using bot framework?

左心房为你撑大大i 提交于 2019-11-29 16:11:59
I have a bot that I am building with the help of the Microsoft Bot Framework. I can see that session.message.user.id gives us the user id and session.message.user.name gives us the user name but if I am to connect it with Facebook, how do I get the user's email? Thanks for your help in advance K48 The only way is to specifically ask the user for their email and then for example save it in user data in the bot. Facebook (luckily) doesn't give out users' emails to bots. A normal Facebook app, on the other hand, might get it. List of available fields: https://developers.facebook.com/docs