Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.24k stars 4.58k forks source link

[BUG] Language support for method RecognizeEntitiesAsync stopped working #39822

Open AlenDK opened 10 months ago

AlenDK commented 10 months ago

Library name and version

Azure.Ai.TextAnalytics 5.3.0

Describe the bug

Since the summer i have used the Named Entity Recognition with language set to "da" to find entities in my text. This have now stopped working with the error: billede

I have used this version since summer with no problem, and in the documentation (https://learn.microsoft.com/en-us/azure/ai-services/language-service/named-entity-recognition/language-support?tabs=ga-api) it shows that the danish (da) language is still supported.

Expected behavior

Calling RecognizeEntitiesAsync(document, "da") would return entities in my text.

Actual behavior

billede

Reproduction Steps

var credential = new AzureKeyCredential("xxx"); var endpoint = new Uri("https://xxx.cognitiveservices.azure.com/");

var client = new TextAnalyticsClient(endpoint, credential); string document = "Hej Alen. Har du det godt?";

Response entities = await client.RecognizeEntitiesAsync(document, "da");

Environment

No response

pallavit commented 10 months ago

Thank you for reporting the issue. Tagging and routing to the team best able to assist you. /cc:@mikaelsitruk

github-actions[bot] commented 10 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @assafi.