Azure-Samples / Azure-Samples/cognitive-services-dotnet-sdk-samples

Exception retrieving examples from LUIS with Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.LUISAuthoringClient

Open
#224 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
123
Forks
166
PR merge metrics
No merged PRs in 30d

Description

Hi, **Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.LUISAuthoringClient.Examples.ListAsync**
fails when try to retrieve data

When I try to get the list of LUIS examples, it throws an exception wher indicates that the id it tries to return is greater than int32, when checking the LabeledUtterance and LabelExampleResponse class I see that the id is indeed an int32?

on the image can see that try ot cast 4750297111 as Int32 and throws the exception

![imagen](https://user-images.githubusercontent.com/885227/135933138-a28487e5-cffe-4c8d-8c88-1d9690c61177.png)

![imagen](https://user-images.githubusercontent.com/885227/135933187-4f617ec9-fcba-4e47-8e31-06c7b3a44163.png)

![imagen](https://user-images.githubusercontent.com/885227/135933205-c946474c-5414-4c4a-a272-10f842f0709a.png)

thanks for your help

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.