Skip to content

wrong @TextAnalysisClient import from the @azure/ai-text-analytics package in text analytics documentation #29994

Open

Description

Describe the bug
The code samples within the Azure Text Analysis client library for JavaScript - version 6.0.0-beta.1 documentation page is importing the TextAnalysisClient client from the @azure/ai-text-analytics package when it no longer exists there. The correct import should be from the @azure/ai-language-text package as shown in the TextAnalysisClient class documentation.

To Reproduce
Steps to reproduce the behavior:

  1. Copy of the code samples within the Azure Text Analysis client library for JavaScript - version 6.0.0-beta.1 doc page.
  2. Specify the correct keys and execute the request to perform a text analysis.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Cognitive - Text AnalyticsService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions