qnamaker

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

How to construct a QnA Maker Instance Class in C# - CoreBot?

断了今生、忘了曾经 提交于 2020-06-27 16:19:36
问题 I got a System.AggregateException after running my Core Bot C# sample. In the Startup.cs I added the class as followes: services.AddSingleton<ChitChatRecognizer>(); The Recognizer Class looks like: using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.AI.QnA; using Microsoft.Bot.Schema; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace CoreBot { public class ChitChatRecognizer

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

why this role does not have permission for this action in QNA Maker

半城伤御伤魂 提交于 2020-06-15 04:42:09
问题 I receive this role does not have permission for this action. WHen I try to add a Azure QnA Service.Not sure how to get around it 回答1: Go to access control (IAM) blade of your qnamaker service in azure portal Add role assignment Select Cognitive Service QnA Maker Editor Role Select the identity you are using to log on to qnamaker.ai Save This will resolve the issue and you should be able to select your qnamaker service. 来源: https://stackoverflow.com/questions/62001975/why-this-role-does-not

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

Using multiple StrictFilters in QnA Maker

浪子不回头ぞ 提交于 2020-05-15 08:46:46
问题 I'm looking to use the StrictFilter function of Microsoft QnA Maker, to pass in multiple strict filters, but to treat them as filterA OR filterB. It appears that the strict filters are treated as filterA AND filterB. Is there any way to change them to "OR"? https://docs.microsoft.com/sl-si/azure/cognitive-services/qnamaker/how-to/metadata-generateanswer-usage It looks like ultimately it's querying Azure search, generating an "filterA AND filterB" - would querying Azure Search directly rather

Unable to create knowledgebase for azure cognitive service (Error: “No Endpoint keys found.”)

≡放荡痞女 提交于 2020-05-13 14:31:07
问题 I am creating a new knowledge base connecting it to an already existing Azure Cognitive Service. But I am getting error: "No Endpoint keys found." when i click "Create KB". See capture of the error: My QnAMaker cognitive service has the endpoint 回答1: It seems that there is sometimes the problem that the endpoint keys can only be found, if the Resource Group holding all resources for the QnA Maker Service ( like App Service, Application Insights, Search Service and the Application Service Plan

Automatically Bot display rating card after few seconds to take user feedback

丶灬走出姿态 提交于 2020-05-08 17:31:25
问题 I have a bot made using framework v4 in c#. I want that my bot take user feedback once the bot goes idle, or in the case user doesn't responded to bot.I have made my card but not getting any logic to implement above mention feature in my bot. I am also attaching the code of card i made. Also the image of my card. Can any look into it and help me out with this implementation. enter image description here { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "size": "Medium", "weight":

MS Bot Framework pass the values from server code (C# ) to front end code (JavaScript)

元气小坏坏 提交于 2020-03-25 16:02:13
问题 I've been using MS bot framework - Chat bot in my project and I'm using QnAMaker in the back end for my chat bot, which is running in direct line bot channel. On page load using JavaScript front end code, i'm sending some values say ABC to the bot (c# code - server hosted) via createStore method, after asking the question the bot will start querying it in the qnamaker using ABC as strict filters. After sometime, In one some scenario, i will give input to BOT and change the values as XYZ . up

How to Add filter on the REST API Query to view the answers from QnAmaker?

时光怂恿深爱的人放手 提交于 2020-03-03 06:26:12
问题 I'm using the following code in my chat bot (using v4 azure MS bot framework), to query the question and answers (Client side code - using plain JavaScript and J Query), function generateAnswer() { var question = { question: "will you marry me" } $.ajax({ type: "POST", url: "https://YourEndPointURL/qnamaker/knowledgebases/eb895acb-e034-4f7c-asda7c-1955458ecec6/generateAnswer&$filter=source eq 'Editorial'", data: JSON.stringify(question), beforeSend: function (xhr) { xhr.setRequestHeader(