-
Notifications
You must be signed in to change notification settings - Fork 747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QnAMaker] Failed to queue training. #1814
Comments
Yes, I am using latest Emulator version, but I suspect that this specific bug is related to the use of multiple tenants subscription.
I have an original Azure Visual Studio Subscription (My enterprise MSDN subscription) that is associated by default to my entire enterprise Active Directory, where I have no permissions to register azure applications. When I discovered the posibility to create my personal AD (with no permits issues), to have a new tenant under my Subscription I created a new one. As a result, I have one active Azure subscription with two tenants. I use only the second tenant to create all my azure resources (Bots, Service Plans, Web Services, ...).
All is working fine at https://qnamaker.ai and in visual studio code and in emulator, except issues that I mentioned.
Thanks for your time.
… El 3 sept 2019, a las 19:29, Steven Kanberg ***@***.***> escribió:
Can you tell me which version of Emulator you are using? And, are you certain you have QnA services set up on your account and are logging in using the same account? The "Add QnA Maker" function looks for the QnA service you created in Azure and returns the list of knowledge bases, once found.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi @eduardmartos , The Emulator does not support multi-tenant Azure accounts at the moment. Currently, it will default to one of the tenants and show you the resources associated with that tenant, however, there is no way to select a tenant. |
Ok, that’s clear Tony...
Can I suggest this feature for the next version?
You think all the other issues/bugs are related to this fact?
Meanwhile, azure portal is selecting by default the last combination of subscription/tenant used by the subscriptor, is there any “easy” way to implement something similar in the emulator prior to menu for selecting the appropriate tenant?
And other question related...
Exists any json parameter at .bot file that could be interpreted as “tenantName”, in the same way as it does “SubscriptionKey”, “Kbid”,...?
Thank you...
… El 3 sept 2019, a las 20:05, Tony Anziano ***@***.***> escribió:
Hi @eduardmartos ,
The Emulator does not support multi-tenant Azure accounts at the moment. Currently, it will default to one of the tenants and show you the resources associated with that tenant, however, there is no way to select a tenant.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hello @eduardmartos and thank you for your issue. We'll gladly accept your feature suggestion and prioritize it in an upcoming sprint. At this point it is unlikely that this feature will be released in a stable version of the Emulator by the end of the calendar year 2019. I've gone ahead and created a work item where we'll describe the feature and continue discussion there. Thank you! |
As a public service, in case you are unaware, please note the following announcement from last May in the BotFramework docs:
The abovesteps can be viewed here, for reference. |
Steve, thanks for your comments about the deprecated use of .bot file. I know that. I know that latests templates of Bot implementations based on .Net Core and Bot Framework v4 don’t use .bot file and use appsettings.json. Thanks Chris for adding this feature to the next version. I think having the possibility of training in the same emulator is a great advantage respect doing that at portals. Portal training are great as a first step and because you need to train QnA and LUIS models as service of course. But the final Bot implementation is using this services and your own logic in code, and the only way to test all in conjunction is by using the Emulator. Thanks a lot for your great work and contributions to this amazing Bot Emulator! |
Simple housing keeping update: we'll close this issue and track it here: #1814 Thanks! |
It seems that training and publishing of qnamaker service integration with botframework emulator is not working properly.
I have detected these errors and issues:
· In BOTEXPLORER when I try to "Connect my bot to a QnA Maker knowledge base" with the + button, a pop-up window is displayed indicating that it is necessary to log in azure.
After correctly identifying myself in azure, the second pop-up window that is trying to get my QnAMaker knowledge bases crashes saying to me:
"You have not signed up for a QnAMaker account under "myuser@mydomain". Get Started with QnA Maker
Alternatively, you can connect to a knowledge base manually if you know the ID and subscription key.
Clicking on second link (connect manually) opens an internet explorer documentation page with an overview of QnAMaker and no instructions for manually connection.
After this sequence, the + button stops working. It's necessary to restart the emulator.
· With my workarround, I added manually to my bot File, my QnAMaker service like this:
GUID_1 = "QnAKnowledgebaseId value" of appsettings.json file of Bot Solution.
GUID_3 = "QnAEndpointKey value" of appsettings.json file of Bot Solution.
hostname = "QnAEndpointHostName value of appsettings.json file of Bot Solution.
and GUID_2 = "my subscriptionKey retrieved from one of my services in Azure"
However, in that way, during a conversation, by clicking the link "trace" is shown on the right the training windows of qnaMaker but with these errors:
[Visual issues]
[Functional issues]
Thanks for your time.
The text was updated successfully, but these errors were encountered: