Closed v-jaswel closed 5 years ago
Thanks for the feedback. I have routed to the appropriate team for follow up.
Hi @v-jaswel Thank you for reporting your concern.
Please note that API version for authoring is totally independent from the runtime. However, all versions communicate with the same service, so you can author your apps using Authoring V2.0 and query them using Runtime V2.0 or V3.0-preview.
As for your specific issue, I'd like you to share your exact requests for publishing the app, and query using runtime V3.0 to be able to assist.
We support two ways for publish, either using slots (PRODUCTION/STAGING) or using versions (i.e. 1.0, 2.0 ... etc) as described here Then, we support with runtime V3.0-preview two options for querying the published app (based on the publish method used). Either using slot or by version
My take is that you publish using slot publishing, query with v3.0-preview with version (hence it doesn't work), and query with 2.0 using slot (hence it works)
Please, let me know if that matches your case. If not, please share with me the details of your requests and I'll be happy to assist.
Thanks for working with Microsoft on GitHub! Tell us how you feel about your experience using the reactions on this comment.
Describe the bug In the Azure SDK for .NET, the LUIS runtime client is set to use version 3.0-preview of the service instead of 2.0.
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/cognitiveservices/Language.LUIS.Runtime/src/Generated/LUISRuntimeClient.cs line 183:
This is different from the Azure SDKs for all other languages (Python, Go, Java) except JS. See issue 4189 (https://github.com/Azure/azure-sdk-for-js/issues/4189).
Meanwhile, the LUIS authoring client is set to use version 2.0.
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/cognitiveservices/Language.LUIS.Authoring/src/Generated/LUISAuthoringClient.cs line 237:
As a result you cannot use the Azure SDK for .NET to do the following tasks.
The reason is that methods on LUIS version 3.0 cannot see applications that were created with LUIS version 2.0.
See also issue 4189 (https://github.com/Azure/azure-sdk-for-js/issues/4189), which describes how to reproduce this with the API testing consoles.
Exception or Stack Trace
To Reproduce
Code Snippet
Output:
Expected behavior Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Prediction.GetVersionPredictionAsyncdoes not raise an exception.
Setup (please complete the following information):
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report