BotBuilder-CognitiveServices | Microsoft Cognitive Services controls for Microsoft Bot | Bot library
kandi X-RAY | BotBuilder-CognitiveServices Summary
kandi X-RAY | BotBuilder-CognitiveServices Summary
The cognitive services control makes consuming different Microsoft Cognitive Services easy for bots developed using Microsoft Bot Builder SDK. The control is available for C# and Node.js SDKs.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of BotBuilder-CognitiveServices
BotBuilder-CognitiveServices Key Features
BotBuilder-CognitiveServices Examples and Code Snippets
Community Discussions
Trending Discussions on BotBuilder-CognitiveServices
QUESTION
I am trying to integrate LUIS and QnA service in a single bot. I used sample code available on Github to get a response for an intent. I tried with same code -
...ANSWER
Answered 2019-Jun-21 at 08:50Organizing your code like below should work. I tested this using Web Chat and Emulator with positive results.
Essentially, bot.recognizer is acting like a middleware passing the returned LUIS intent into the bot and matching it to any triggers that have the same value assigned. For QnA, passing the associated recognizer into the dialog allows user input to be matched in the QnA knowledge base, subsequently, returning the matched response.
QUESTION
My FAQ bot is using this QnAMakerDialog which is not using Microsoft.Bot.Builder.CognitiveServices.QnAMaker, but easy to use metadatas.
However I also want to train[CustomFeedBack, ActiveLearning] like these samples which is using Microsoft.Bot.Builder.CognitiveServices.QnAMaker.
Microsoft.Bot.Builder.CognitiveServices.QnAMaker provides method like QnAFeedbackStepAsync.
Q1: Does QnAMakerDialog which is not using Microsoft.Bot.Builder.CognitiveServices.QnAMaker have some similar methods like QnAFeedbackStepAsync ?
Q2: How to use metadata while using Microsoft.Bot.Builder.CognitiveServices.QnAMaker ?
Q3: QnA Maker REST API V4.0 don't support to use train knowledgebases. Although my bot is using V3.0, is it better not to use train knowledgebases?
...ANSWER
Answered 2018-Aug-21 at 11:20When user ask any question save this question somewhere else if this question is appropriate then add this question as alternative question . Now in your chatbot's database 2 questions are mapped to one answer. Now you're chatbot is more trained as compared to previous one.. by this you can manage log of chatbot
QUESTION
I am using LUIS for azure search and QnA recognizer for the first time together in the same code.
I am using intent.match to match the recognizers.
My problem is:
for the first time, If I ask a question which matches to the QnA intent, it returns the answer from the QnA base.
followed by the questions which are matching with the azuresearch intents. Azure search also deliver the result.
But if I repeat the questions which must be matched to the QnA, it says "no intent handler found for null"
...ANSWER
Answered 2018-Aug-15 at 04:53Using the IntentDialog
class (e.g. var intents = new builder.IntentDialog( ...
) does not allow for intent interruption in the way that registering the dialog directly to the bot does.
Given the following example dialogs:
QUESTION
I am making a chat bot using the QnA template (Microsoft Azure). Basically, a user asks a question and the bot will try and find the answer in an FAQ document. If it fails, I want it to run a Bing search with the user's query and replies with the most accurate answer. I found this example that uses Bing Web Search API: https://docs.microsoft.com/en-us/azure/cognitive-services/bing-web-search/quickstarts/nodejs. For now, I just want the bot to reply with the first link of the search for example. However, I don't know how to merge the code in the link, with the generated code for the QnA Bot (in Node.js):
...ANSWER
Answered 2018-Jun-15 at 21:14What you are implementing involves two steps, extracting out the "noMatch" case to a method so you can make a full response message, and then the API call itself.
The "noMatch" method.
First, you will want to override the invokeAnswer function from QnAMakerDialog (This override changes nothing but adding a call to a separate method for the noMatch case.)
QUESTION
Once the bot is created using qnamaker.ai, I wanted to deploy it in Azure using the SDK and publishing from VS2017, which let me define the top parameter to enable the Active Learning as shown in https://github.com/Microsoft/BotBuilder-CognitiveServices/tree/master/CSharp/Samples/QnAMaker But when I want to register it in dev.botframework the end point URL doesn't work.
If I use Azure Bot Service template, is not possible to set the top parameter but registering in my Bots is ready straight forward. I have realized that the URL from Azure template contains some extra info, that is not available in my web app ...code=2xDGuyPbupZIm8zsDOucgcHDvXO908dPIad2LFG2y/37TPecdMfQEw==
A "typical" URL from Azure, that work with other deployed Bots is https://"MyBotName".azurewebsites.net/api/messages
Please, can you help enabling the active learning in Azure templates for a Q&A bot? Can you explain me what should I add to get the "extra details" in my Web app URL?
...ANSWER
Answered 2017-Jun-01 at 14:07I think there is some misunderstanding here. The QnA Maker site is not creating any bot for you. It just provisions the QnA service (a rest API).
If you want to have a bot on top of the service you created, grab the code of the QnABotWithActiveLearning
sample that you linked, update the QnADialogWithActiveLearning.cs class to include your QnA subscription key (that you can get from the Settings tab of your QnA service), update MicrosotAppId and MicrosoftAppPassword settings on the Web.config with the ones you got from the BotFramework developer portal and deploy to Azure
as a Web App.
Once done, you will have the standard websites URL https://"MyBotName".azurewebsites.net and the API endpoint https://"MyBotName".azurewebsites.net/api/messages.
Then just update your bot URL in the BotFramework portal with this URL.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install BotBuilder-CognitiveServices
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page