Skip to content

Commit 148648e

Browse files
(AzureCXP) fixes MicrosoftDocs/azure-docs#114293
We have done changes in the lines no:52 and 76 Line no:52 changes From: '@azure/ai-language-text' To: @azure/ai-text-analytics Line no:76 From: TextAnalysisClient To:TextAnalyticsClient
1 parent e6e4865 commit 148648e

File tree

1 file changed

+2
-2
lines changed
  • articles/ai-services/language-service/personally-identifiable-information/includes/quickstarts

1 file changed

+2
-2
lines changed

articles/ai-services/language-service/personally-identifiable-information/includes/quickstarts/nodejs-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ npm init
4949
Install the npm package:
5050

5151
```console
52-
npm install @azure/ai-language-text
52+
npm install @azure/ai-text-analytics
5353
```
5454

5555

@@ -73,7 +73,7 @@ const documents = [ "The employee's phone number is (555) 555-5555." ];
7373
async function main() {
7474
console.log(`PII recognition sample`);
7575

76-
const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(key));
76+
const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(key));
7777

7878
const documents = ["My phone number is 555-555-5555"];
7979

0 commit comments

Comments
 (0)