Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
1.98k stars 1.15k forks source link

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

Open vickywane opened 3 weeks ago

vickywane commented 3 weeks ago

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.
github-actions[bot] commented 3 weeks ago

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

maorleger commented 2 weeks ago

@quentinRobinson hopefully I found the right person in our CODEOWNERS file but feel free to let me know if you're not the owner of the @azure/ai-language-text package 👍