chatbot

How do I use wit.ai with existing rows of data?

只愿长相守 提交于 2019-12-23 03:32:08
问题 I have a lot of existing data that I would like to use as training data for a wit.ai chatbot. The data is stored in a csv file where each row has a statement/question and a response to that statement/question. I know that wit.ai requires you to assign intents to comments made and so I'm wondering if there is a way to simply send over the data I have and have the chatbot start learning intents on its own. Thanks! 回答1: "Teaching" Wit.Ai is not exactly what some might think it is. You will have

How to call AZURE DEVOPS rest API in the water fall dialog built using C# BOT Framework SDK V4?

做~自己de王妃 提交于 2019-12-23 03:07:35
问题 I have web channel chat bot created through C# using BOT Framework SDK V4. It has multiple waterfall dialogs that do set of actions based upon option selected in the main dialog. In one of the dialog my requirement is user inputs some data and then using that I should create a Work Item of Type task in my AZURE DEvOps project for tracing purposes. I am successfully able to acquire the data from user but while creating WORK ITEM in devops I am facing problem. I have tried couple of things from

wit.ai - unrecognised user entries

孤人 提交于 2019-12-22 14:48:55
问题 is it possible to have a catch-all for unrecognized user entries to move the user into a particular story? For example in a conversation. If there are no matching stories the bot will respond to try and push the user back on track? [user] Hi how are you [bot] good, how are you? [user] great [bot] that is good --- user enters an un-matched sentence --- [bot] I did not understand you. Would you like to order a pizza? [user] yes ...etc 回答1: I don't know if it's the best solution but I do the

wit.ai - unrecognised user entries

纵饮孤独 提交于 2019-12-22 14:46:19
问题 is it possible to have a catch-all for unrecognized user entries to move the user into a particular story? For example in a conversation. If there are no matching stories the bot will respond to try and push the user back on track? [user] Hi how are you [bot] good, how are you? [user] great [bot] that is good --- user enters an un-matched sentence --- [bot] I did not understand you. Would you like to order a pizza? [user] yes ...etc 回答1: I don't know if it's the best solution but I do the

wit.ai - unrecognised user entries

别来无恙 提交于 2019-12-22 14:46:00
问题 is it possible to have a catch-all for unrecognized user entries to move the user into a particular story? For example in a conversation. If there are no matching stories the bot will respond to try and push the user back on track? [user] Hi how are you [bot] good, how are you? [user] great [bot] that is good --- user enters an un-matched sentence --- [bot] I did not understand you. Would you like to order a pizza? [user] yes ...etc 回答1: I don't know if it's the best solution but I do the

How to call a specifc callback when clicking in Card Action - Bot Framework

痞子三分冷 提交于 2019-12-22 08:21:38
问题 I'm showing a carousel with a few products that have a button in each one with a code. the Card Action Type is 'ImBack' but the click in button will call the root dialog again once the carousel is showed by postAsync method. Is there a way to define a callback for the button click or to show the same carousel but using PromptDialog ? 回答1: There is no way to define a callback on Card Action button. When the Card Action is defined as ImBack, after you click on it; it will basically post a

Make chatbot (wit.ai) reply that it doesn't have a proper answer

人盡茶涼 提交于 2019-12-22 08:19:33
问题 I am using Wit.ai for my chatbot. The problem is that my bot always tries to answer something. I will only make my bot answer if it actually understood what was being asked. I know it is possible, but if I have a bot with very few replies, it seems it always chooses one of the replies even though it is asked something completely different. I imagine it is possible to make it reply something like "I am sorry. I don't know what you are asking. I can help you with .....". Maybe I should use the

Can a Facebook Messenger Bot chat with two or more people in a group?

与世无争的帅哥 提交于 2019-12-22 06:47:04
问题 Do all messenger bots interact directly with just one user at a time? Can a bot join a group of two or more people and talk to them? 回答1: Currently Facebook Messenger bots only work on a one to one basis. One of the reasons is probably privacy. Facebook are being very cautious before rolling out bots in a group context. 回答2: Currently facebook does not allow to add bots in groups, however you can add bots in groups in Telegram. 来源: https://stackoverflow.com/questions/40205889/can-a-facebook

Adaptive Cards in Carousel Layout in Facebook Messenger using Bot Framework

白昼怎懂夜的黑 提交于 2019-12-21 21:24:12
问题 I was trying to use Adaptive Cards for my chatbot using Bot Framework, to use in FB Messenger, with a carousel layout. But apparently FB doesn't support Adaptive Cards, and renders them into an image + buttons. So what I wanted to know, as a way to go around it, was if it's possible to manually render the adaptive cards Json code into images, and use those images for the layout. I've tried simply adding the cards as they were and setting the layout, but Facebook simply lists them, not in

How can I use offline-directline for Microsofts Botframework v4?

雨燕双飞 提交于 2019-12-21 05:38:06
问题 I need to run the microsoft botframework v4 on-premise since company internal restrictions forbid me to register the bot on Microsoft Azure or use the connector in the cloud. My idea is to use offline-directline to emulate the connector locally. To my knowledge, the package has been built for Microsoft Botframework V3 and not v4. Has anybody managed to use it for v4? I followed through instructions however got stuck trying to implement the web chat client. Where and how do I implement BotChat