-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[BUG] LUIS Authoring adding example throws exception #18041
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @cahann, @kayousef. Issue DetailsDescribe the bug
Seems like an issue with response deserialization to {"ExampleId":2148095092,"UtteranceText":"test example"} The ExampleId value 2148095092 > 2147483647 (Int32.MaxValue) Expected behavior Actual behavior (include Exception or Stack Trace)
To Reproduce var luisAppId = new Guid("590e74a6-4bb4-4729-8c78-7c53d7068750");
const string intentName = "B5578F30-59AA-4801-9A27-C73BB3C1C4FE";
const string versionId = "8.Rc";
using (var localClient = CreateClient(localApiKey))
{
var example = new ExampleLabelObject("test example", null, intentName
try
{
var exampleResult = await localClient.Examples.AddAsync(luisAppId, versionId, example);
}
catch (Exception ex)
{
Console.Error.WriteLine(ex.Message);
throw;
}
} Environment:
|
Thank you for your feedback. Tagging and routing to the team best able to assist. |
Hi! Any update on this? |
Issue detected and planned to be fixed in a couple of weeks, will update the issue with the exact ETA 1st week of Feb. |
Bug is resolved. please use authoring sdk v3.2.0-preview.4 |
Hi @MahmoudYounes, thank you for the fix. Any plans on updating stable(not preview) SDK version? |
@nazimkov we are waiting for more customer feedback on the preview capabilties so out tentitive date for the stable version is around July timeframe. |
List examples have the same issue too. var examples = await _client.Examples.ListAsync(appId, version); Newtonsoft.Json.JsonReaderException |
already using authoring sdk v3.2.0-preview.4 |
Modified billing information and updated examples (Azure#18041) Co-authored-by: Daniel Rocha <daroch@microsoft.com>
What is the status of this bug?
We have 3 environments, all authoring resources are in West Europe, and all 3 are failing - this is causing an issue for our live production software. We have been using LUIS for the past few years, why would we have only started seeing this bug today? |
@moabba do you have any comments on this issue ? Did we publish a stable version with the GA of the v3 authoring APIs? |
This change attempts to fix some error cases related to issue 18041 Azure/azure-sdk-for-net#18041
Released version 3.2.0-preview.5 that fully addresses the bug. |
Hi @nazimkov, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support. |
Describe the bug
The adding example operation
Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Examples.AddWithHttpMessagesAsync
method throwsMicrosoft.Rest.SerializationException
exception. With message:Seems like an issue with response deserialization to
LabelExampleResponse
class, caused by the type of ExampleId property. The actual response content is:The ExampleId value 2148095092 > 2147483647 (Int32.MaxValue)
Expected behavior
Executes successfully.
Actual behavior (include Exception or Stack Trace)
To Reproduce
Environment:
The text was updated successfully, but these errors were encountered: