Skip to content
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

text-analytics-for-health: outdated example code #1544

Open
movAX13h opened this issue Sep 7, 2023 · 0 comments
Open

text-analytics-for-health: outdated example code #1544

movAX13h opened this issue Sep 7, 2023 · 0 comments

Comments

@movAX13h
Copy link

movAX13h commented Sep 7, 2023

I'm not sure if this is the right place to report this issue - sorry if it isn't.

This page shows invalid and outdated source code in the JavaScript example:
https://learn.microsoft.com/de-de/azure/ai-services/language-service/text-analytics-for-health/quickstart?tabs=windows&pivots=programming-language-javascript

image

From top to bottom:

  • Should be TextAnalyticsClient for the client class name.
  • beginAnalyzeBatch does not exist anymore; can be replaced with beginAnalyzeHealthcareEntities(documents, 'en') thus the action const above can be removed
  • modifiedOn is now lastModifiedOn
@movAX13h movAX13h changed the title outdated example code text-analytics-for-health: outdated example code Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant