azure-bot-service

Setting up slots or multiple environments for Azure Bot Service

余生颓废 提交于 2019-12-06 07:28:02
问题 I am working on developing a Microsoft Bot using Azure Bot Service, in that want to set up different environments or slots for QA, Dev, Staging like how we do in azure app services. In settings I did not find Deployment Slots option but under settings each setting have Slot Setting check box, is that means can we configure slots in Azure Bot Service as well or do I have to create multiple Bot Service resources each one for each environment? 回答1: You'll want to create separate bots, for each

Why can't I open my Azure Bot Service in Visual Studio?

心已入冬 提交于 2019-12-06 05:39:59
问题 Okay, so this problem is kinda complicated, but I'll try to make it as simple as possible. So I have this Bot Service created in Microsoft's Azure platform. It's been hooked up to BitBucket with the continuous integration option. Then, I tried following the instructions here in order to be able to debug the bot locally with Visual Studio. I downloaded and installed all the requisite tools and pulled the BitBucket project into a local repository. However, when I tried running 'dotnet restore'

Difference between Microsoft Bot Framework and Azure Bot Service?

半城伤御伤魂 提交于 2019-12-05 19:10:24
I want to create a bot, but I am confused what is exactly Bot Framework and Azure Bot service? Can anyone explain in detail? The best way to understand the difference is going through the docs. The Azure Bot Service documentation is available here . In a nutshell, Azure Bot Service provides a set of templates to get started with the creation of Bots and accelerate the development since it provides an integrated environment. Of course, the templates that it creates are based on the BotFramework. With Azure Bot Service, you can even code your bot directly from the Azure Portal Editor, from the

Setting up slots or multiple environments for Azure Bot Service

爱⌒轻易说出口 提交于 2019-12-04 16:12:57
I am working on developing a Microsoft Bot using Azure Bot Service, in that want to set up different environments or slots for QA, Dev, Staging like how we do in azure app services. In settings I did not find Deployment Slots option but under settings each setting have Slot Setting check box, is that means can we configure slots in Azure Bot Service as well or do I have to create multiple Bot Service resources each one for each environment? You'll want to create separate bots, for each environment (i.e. one for Dev and one for Production). The process to configure and work with a staging

.BOT file not getting deployed to Azure Bot Service v4

耗尽温柔 提交于 2019-12-04 14:07:39
Using Azure Bot Service with C# Bot Builder SDK v4 v4.0.7 (the GA version released September 2018). I'm using the BOT file to store configuration settings for a GenericService and so have changed the BOT file from the default that was provided with the Azure template. Changes were made via MSBOT CLI . When running locally via the emulator, the bot code sees modified local BOT file and all is good. However, the BOT is never deployed to Azure and therefore the Azure service does not see my changes (it is stuck with the default BOT file). I've deployed via Visual Studio publish and GitHub CI. I

Azure Bot Channels Registration with Channel section blank

不问归期 提交于 2019-12-04 05:51:54
问题 I have a problem with "Bot Channels Registration" service on Azure portal. After the service creation, the "Channels" section not load, only stay blank. Screenshot: Any help? 回答1: After several tests, I solved the problem by changing the language and region of the Azure portal to English (US). 来源: https://stackoverflow.com/questions/48009020/azure-bot-channels-registration-with-channel-section-blank

Pass Custom Parameters from webchat control to bot framework

微笑、不失礼 提交于 2019-12-02 22:08:16
问题 So, I'm currently using this: <!DOCTYPE html> <html> <body> <div id="webchat"></div> <script src="https://cdn.botframework.com/botframework-webchat/preview/botchat.js"></script> <script> window.WebChat.renderWebChat({ directLine: window.WebChat.createDirectLine({ secret: 'YOUR_BOT_SECRET_FROM_AZURE_PORTAL' }) }, document.getElementById('webchat')); </script> </body> </html> and it works fine, however I have multiple QnA Knowledge base for different client applications. SO I would like to pass

Getting 'couldn't send retry' error in web chat for questions which are not present in knowledge base

徘徊边缘 提交于 2019-12-02 15:12:16
问题 I created a bot with Azure in C#. This bot is working fine for question which are present in my knowledge base. But when I try different question, it gives error couldn't send retry below that question and reply to that question as Sorry, my bot code is having an issue. It should reply No match found instead of Sorry, my bot code is having an issue . One more issue is this bot sometimes gives random answer form KB for some questions which are not present in Kb instead of No answer found in KB

Authorization for Microsoft App ID xxx failed with status code Forbidden and reason phrase 'Forbidden'

假装没事ソ 提交于 2019-12-02 12:11:33
My bot keeps failing on the following line of code with the error in Skype, WebChat, and FB chat. I've tried entering the MS App ID and password via the app settings and the web.config. This works fine in the emulator without any errors. When I ran remote debugging I found that this fails on Webchat, Skype, and FB messenger at this line of code: await connector.Conversations.ReplyToActivityAsync(reply1); My bot is integrated with SmartThings so the smart accessories are turning on and off as expected but the response back that should be returned in the chat seems to be failing. I've tried

How to send a 'conversationUpdate' to Microsoft Teams from bot manually?

核能气质少年 提交于 2019-12-02 11:41:48
问题 I have a bot written with the help of bot framework v4 . The bot is integrated with Microsoft Teams. I want to send a welcome message to the user when the user installed the bot and joins the 1:1 conversation. In Teams the conversationUpdate is fired exactly once (this is when the suer joins the 1:1 conversation) and then never again for that user. My idea was to write a function that is triggered by a chat message to send the updateConversation activity manually to debug the welcome message.