chatbot

I am using Microsoft Bot Builder .NET SDK for receiving an attachment through Emulator for now

删除回忆录丶 提交于 2019-12-24 11:12:22
问题 I am using Bot builder SDK for .NET by Microsoft for my project and i want to receive an attachment from Emulator and proceed with the flow. I am getting issue when i attach any file from emulator i am not getting content of the file uploaded and Content URL is also some localhost URL which i am not able to proceed. Code: public virtual async Task MessageReceivedAsync(IDialogContext context, IAwaitable<IMessageActivity> result) { var message = await result; var reply = context.MakeMessage();

Problem compiling Eliza chatbot C++ error LNK2019

六月ゝ 毕业季﹏ 提交于 2019-12-24 09:39:42
问题 firstly I would just like to say that I am not a C++ programmer and I never intend to be - I am an SQL, javascript and PHP developer. For a module at Univeristy I have to alter a chatbot project to demonstrate AI and NLP. While my own exasperation (at being handed an assignment that requires a background knowledge in a subject matter that I have never been taight in my 3 years here) is irrelevant, I am attempting to dive in and learn a bit of C++, as computer logic is, I hope, universal

Send an image attachment in Microsoft Azure Chatbot

家住魔仙堡 提交于 2019-12-24 09:23:55
问题 I have a created a Chat bot using Microsoft Azure bot service and LUIS. With my bot which was trained on LUIS, I'm able to receive text messages. I have connected the bot to Skype channel. I don't know how to return a image attachment as an answer to a message. I heard some of the Microsoft bot framework can send image as an attachment and I'm not sure about Azure bot service. Sample code: var recognizer = new builder.LuisRecognizer(LuisModelUrl); var intents = new builder.IntentDialog({

Phone Number not clickable in some Browsers

不羁岁月 提交于 2019-12-24 08:31:21
问题 I created a Azure QnA Web Chat Bot. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Page Title</title> <!-- <script src="https://cdn.botframework.com/botframework-webchat/latest/webchat.js"></script> --> <script src="https://cdn.botframework.com/botframework-webchat/4.6.0/webchat-es5.js"></script> <link rel="stylesheet" href="mycss.css"> </head> <body> <div id="projekt-window"> <div id="projekt-chatHeader"> <div id="projekt-text"> Chat Bot </div> </div> <div id="projekt-chatView">

What is the right way to message the user after 120 seconds of inactivity in my messenger bot?

烂漫一生 提交于 2019-12-24 07:04:38
问题 I am using the bot framework to build a quiz bot and I want the person to get a message from the bot if they become inactive in 2 mins. When I tried bot.dialog('/', [(session)=>{ session.dialogData.inactive = setTimeout(()=>{ session.send('You there?') },30000) }]) It gives me this error TypeError: Converting circular structure to JSON at Object.stringify (native) at addWrite (D:\bots\zupquiz\node_modules\botbuilder\lib\bots\ChatConnector.js:261:29) at ChatConnector.saveData (D:\bots\zupquiz

Calling back LUIS from a dialog [duplicate]

六月ゝ 毕业季﹏ 提交于 2019-12-24 04:47:17
问题 This question already has answers here : How to forward result of Prompt.Choice() to current dialog? (2 answers) Closed 2 years ago . I am developing a chatbot using Microsoft and C#. My bot basically gets the intent from LUIS and based on that either replies with a static String or forwards to a new Dialog of multiple questions. Inside the new dialog the messages sent by the user are directly handled from within the code without passing through LUIS. My Code: MainLUISDialog.cs: [LuisIntent(

Parsing regex with alternatives and optionals

╄→尐↘猪︶ㄣ 提交于 2019-12-24 03:37:08
问题 I'm building a chatbot subset of RiveScript and trying to build the pattern matching parser with regular expression. Which three regexes match the following three examples? ex1: I am * years old valid match: - "I am 24 years old" invalid match: - "I am years old" ex2: what color is [my|your|his|her] (bright red|blue|green|lemon chiffon) * valid matches: - "what color is lemon chiffon car" - "what color is my some random text till the end of string" ex3: [*] told me to say * valid matches: -

Start conversation with a PromptDialog in MS BotFramework

南笙酒味 提交于 2019-12-24 01:06:06
问题 Is there a proper way for bot to start a conversation with PromptDialog.Choice in the Direct Line channel? I am trying an ugly hack with catching the fist ConversationUpdate activity and creating a fake message from user to initialize the dialog like this: IMessageActivity greetingMessage = Activity.CreateMessageActivity(); greetingMessage.From = message.Recipient;//from bot greetingMessage.Recipient = userAccount;//to user greetingMessage.Conversation = message.Conversation; greetingMessage

DialogFlow vs Lex for streaming intent detection

拟墨画扇 提交于 2019-12-23 05:36:14
问题 For my current project, I am looking for a bot building platform with the following features. Should support the creation/updating of new/existing bot via API. Support for intent detection from streaming audio. Enable the hosting of multiple bot agents in a single project. APIs to modify an existing bot/agent and save it as a new one. So I have thoroughly researched and also developed a simple working prototype using DialogFlow. DialogFlow supports intent detection from streaming audio. But

How do we automate the Refreshing of LUIS Dispatcher Model?

狂风中的少年 提交于 2019-12-23 03:35:15
问题 1. If we can go with Function App in Azure, how do we get the Dispatcher CLI to work in this function? Is there any code to run the NODE JS and install Dispatcher CLI and run the refresh command? 2. Will it be possible to use Container in Blob storage?? If so, how do we use NodeJS and Dispatcher CLI and refresh? I don't want to go with VM, Is there any APP SERVICE in Azure which can achieve this Task? The refreshing of dispatcher using dispatch refresh command can be used with NodeJS and