How can I make sure that the bot I am training in LUIS.ai is connected to the bot service I am using in my Azure Portal. Although I have multiple intents. It shows only intent None which makes me think they are not connected. Can I still connect it or do I need to start over? Thanks for the help
There are a couple things that could be wrong here:
Have you trained/published your model?
Do you have the following attribute on your dialog class? [LuisModel("YOUR LUIS APP ID", "YOUR BOOTSTRAP/API KEY")] (assuming you are using C#)
Related
I have an Azure Bot Web App created from QnA Maker.
I'm using it in Teams and using the test in QnA and web Chat from Azure.
I was trying to get the answers that the user made to the bot. But in the Insight resource I'm only able to see Custom Events for each conversation that a user began. It's like the insight is not registering traces at all.
How can I set the bot or either the insight to register traces?
thank you in advance.
I was modifying the messaging endpoint URL for one of the Bot Framework bot registrations that I have on Azure, and noticed a new checkbox option that is titled "Enable Streaming Endpoint". I don't see any documentation yet what this option does, can anyone explain what it is and why you would enable it?
It is a new feature, related to Direct Line Speech channel.
You can see docs here: https://learn.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-directlinespeech?view=azure-bot-service-4.0#enable-the-bot-framework-protocol-streaming-extensions
You can also found here how to use it in your bot
I want to create a bot using luis, fill it with entities and intents and use C# to handle the responses.
I have created an app on eu.luis.ai, but I couldn't find out, how i can edit the code of this app.
I have created a web app bot with luis template on the azure portal and can edit the code but i couldn't find out how i can create intents, entities and so on.
Do i have to connect them somehow?
Or how do i create a bot, so that i can fill it with content and edit the code?
LUIS and Bot Framework Bots are separate, meaning you don't need to use LUIS with your bot and vice versa. As such, you as the developer need to manually connect the two of them together. For the entities and intents aspect, you will need to create them in the LUIS portal. Then correspondingly, you can modify your bots code to handle the new intents and entities from your LUIS app.
You didn't specify, but I am going out on a limb and assuming that your Web App Bot is in a European datacenter. To minimize latency between LUIS and your bot, make sure to set your domain. Example below:
[LuisModel("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX", "XXXXXXXXXXXXXXXXX", domain: "westeurope.api.cognitive.microsoft.com", staging: true)]
[Serializable]
public class YourLUISDialog : LuisDialog
{
LUIS C# Tutorial Docs
List of all valid LUIS Endpoints
The code excerpt is from this issue
I'm having differences with the responses to my questions (in Spanish language) performed against an Azure Web App Bot service that queries to an instance of QnAMaker and the queries directly performed against the specific QnAMaker service for that instance.
For this specific case I've performed the same questions on the Bot's Web Chat and on the QnAMaker Test Chat. In several responses retrieved by the Bot's Web Chat I get the default message (like if the question does not match an answer) while in the responses retrieved by the QnAMaker Test Chat I get an answer matched in the Knowledge Base.
Find below the screenshots with the results on both chats:
Bot's Web Chat responses:
Bot Chat Screenshot 01
Bot Chat Screenshot 02
QnAMaker Test Chat Responses:
QnAMaker Chat Screenshot 01
QnAMaker Chat Screenshot 01
The entire configuration to integrate the QnAMaker service with the Bot was checked and it looks OK. Even, the QnaThreshold used to perform the queries in Bot's App Settings was set to 0.04 (4% match) to ensure the results are not filtered.
I guess the problem is a configuration difference between the Bot's module that builds the POST request against the QnAMaker service.
Could anyone help me to fix this to ensure the request performed by the Bot is the same than the one performed by the QnAMaker Test Chat and get the same results through both chats.
Thanks
Alternate questions can improve the likelihood of a match with a user query. You can try to add that phrase as alternate question to an existing QnA pair.
the QnaThreshold used to perform the queries in Bot's App Settings was set to 0.04
To troubleshoot the issue, you can try to set the ScoreThreshold to 0, then override RespondFromQnAMakerResultAsync and check the actual QnAMakerResult returned by QnAMaker service.
I see the questions you ask are not exactly the same
"donde comprar entradas" <> "donde compro entradas", this could explain some of the differences.
Then, I think that QnA Maker test chat uses some kind of staging environment whereas Azure Bot Chat uses the last published version of the KB.
Are you sure you have published your last changes ?
The issue is already solved.
The problem was generated by the data type of the App Settings variables. These values are strings encoded in IBM852 into the process.env object and when Javascript convert them into float or integer types the generated values are not correct.
Applying the respective conversion functions like parseFloat() or parseInt() before using the app settings variables in app.js will solve the problem.
Thanks Tyrel Roesler, Web App Support Engineer from Microsoft, for helping me to discover the problem.
I have now spent too much time on this issue and still can't seem to fix it.
I have an Azure Bot and I have configured it for Microsoft Teams and Skype.
They do not seem to be working.
The Skype Bot Publish is still 'inReview', I can add the Bot as a contact on skype/teams and when I send a message it is 'Sent' according to Skype, but I do not get a reply.
The Azure Webchat (Test in Webchat) works flawlessly on the Azure Web interface.
There must be something that I'm missing?
Since the last update there does not seem to be an updated how to or explanation to the newly added fields.
When you publish the Skype channel there is an option:
Bot website? What should be put here?
Also on the Calling section:
Webhook (for calling)
Thank you.
More pictures: