azure-bot-service

Get the active dialog id in botframework Python - Dispatch model with multiple Dialog and QnA Maker

試著忘記壹切 提交于 2020-07-10 10:26:59
问题 My bot processes incoming user messages and takes action based on the intent. For simple, one shot answers that do not require multiple passes between users and the bot, it works well. Now when I want to implement a dialog, it's getting tough. Once the user sends the message and the Dialog gets triggered, the bot asks the user for input. Once the user provides the input, this input is being again processed by LUIS to understand the intent. However, I do not want this to happen as this

Multiple Conversations For Direct Line Client

做~自己de王妃 提交于 2020-06-29 06:30:52
问题 I'm trying to use the Microsoft.Bot.Connector.DirectLine .NET client to connect to my Direct Line Channel. My client application will have many conversations open at once (like 1000+). What I'm trying to do is efficiently create a single Direct Line client object which can receive messages for all my conversations and NOT have a single client per conversation. This below code is from: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-directline-extension-net-client?view

How to fetch data from SQL Server by using LUIS and Azure Bot Service

喜夏-厌秋 提交于 2020-06-29 03:41:40
问题 I'm new to BOT and my use case is : I'm trying to create a Bot using Azure bot framework. Which will get some relevant information for user from SQL Server DB hosted in Azure, based on some analysis. Also, I need to integrate this Bot with Azure App service. Right now I'm trying this, used Microsoft Azure bot framework to create a Bot. When I'm hitting the url https://testbot1.azurewebsites.net/api/messages its showing message "Upgrade to WebSocket is required." in the browser. I know some

How to fetch data from SQL Server by using LUIS and Azure Bot Service

醉酒当歌 提交于 2020-06-29 03:41:17
问题 I'm new to BOT and my use case is : I'm trying to create a Bot using Azure bot framework. Which will get some relevant information for user from SQL Server DB hosted in Azure, based on some analysis. Also, I need to integrate this Bot with Azure App service. Right now I'm trying this, used Microsoft Azure bot framework to create a Bot. When I'm hitting the url https://testbot1.azurewebsites.net/api/messages its showing message "Upgrade to WebSocket is required." in the browser. I know some

Can we connect Microsoft Azure Bot to Azure SQL Database and read data from the DB and use it as a reply for the Bot?

落爺英雄遲暮 提交于 2020-06-28 05:43:49
问题 I am working on a ChatBot project, which requires to query from a table in SQL database hosted in Azure and use the result as a reply for the bot. I am using a basic bot template from Azure Web App Bot. Independently without connecting to the database, the Bot is working fine. And there is no issues with the database, I was able to query from the same DB using EF DB first approach in a MVC webapp. But in the project, if I use the same approach, I am getting an error: connect ECONNREFUSED And

Save question when no answer is available for that question (new question) in QnA Maker Knowledge Base

主宰稳场 提交于 2020-06-17 15:06:31
问题 I am trying to save the new questions asked by the user to my QnA maker bot into an Azure database so that I can add the answers to those questions to my knowledge base. Currently, I am asking the users to write their question in a feedback form when they don't get a response from my bot. This is taking make time also the user is annoyed by writing. I want my bot to collect these questions and store it a database. So, please guide how to achieve this, any links or suggestions appreciated. 回答1

QnA Maker Bot formatting issue in Teams

社会主义新天地 提交于 2020-05-28 06:42:37
问题 We implemented a simple Azure bot using a QnA Maker knowledge base and we enabled the Teams channel. In the webChat, the markdown formatting is rendered just fine. However in Teams the markdown formatting is not always working as expected: If there is not any prompt in the answer, the formatting is perfect If there is a prompt in the answer, the Markdown formatting is not rendered as expected I attach the link of a screenshot illustrating the issue: Screenshot Illustrating the issue Did you

Can a user send attachment along-with message on Text prompt in a waterfall step?

我的未来我决定 提交于 2020-05-15 21:50:27
问题 Lets say we have following steps in our waterfall dialog: self.add_dialog(TextPrompt(TextPrompt.__name__)) self.add_dialog( WaterfallDialog( WaterfallDialog.__name__, [ self.project_step, self.name_step, self.confirm_step, self.final_step, ], ) ) async def project_step( self, step_context: WaterfallStepContext ) -> DialogTurnResult: """ If a project name has not been provided, prompt for one. :param step_context: :return DialogTurnResult: """ confluence_details = step_context.options if

Can a user send attachment along-with message on Text prompt in a waterfall step?

橙三吉。 提交于 2020-05-15 21:50:10
问题 Lets say we have following steps in our waterfall dialog: self.add_dialog(TextPrompt(TextPrompt.__name__)) self.add_dialog( WaterfallDialog( WaterfallDialog.__name__, [ self.project_step, self.name_step, self.confirm_step, self.final_step, ], ) ) async def project_step( self, step_context: WaterfallStepContext ) -> DialogTurnResult: """ If a project name has not been provided, prompt for one. :param step_context: :return DialogTurnResult: """ confluence_details = step_context.options if

Not able to create a Web App Bot through Azure portal, getting ServiceError: CreateAppOnlySteps

戏子无情 提交于 2020-05-15 09:26:07
问题 I am trying to create a Web App Bot in Azure, getting error ServiceError: CreateAppOnlySteps https://i.stack.imgur.com/8ayNW.png 回答1: it seems like error : ServiceError: CreateAppOnlySteps is due to insufficient permissions. Can you check, do you have access to create an APP Registration under Azure Active Directory. If yes, follow below link and create an APP & Secret using below link : https://docs.microsoft.com/en-us/azure/bot-service/bot-service-resources-bot-framework-faq?view=azure-bot