Skip to content

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

Description

@movAX13h

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions