Skip to content

Commit

Permalink
Fix Ai Text Analytics Readme Issue (#15508)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-jiaodi authored Jun 4, 2021
1 parent a429767 commit 690117e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/textanalytics/ai-text-analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ main();
There is a separate endpoint and operation for recognizing Personally Identifiable Information (PII) in text such as Social Security Numbers, bank account information, credit card numbers, etc. Its usage is very similar to the standard entity recognition above:

```javascript
const { TextAnalyticsClient, TextAnalyticsApiKeyCredential } = require("@azure/ai-text-analytics");
const { TextAnalyticsClient, AzureKeyCredential } = require("@azure/ai-text-analytics");
const client = new TextAnalyticsClient(
"<endpoint>",
new TextAnalyticsApiKeyCredential("<API key>")
new AzureKeyCredential("<API key>")
);
const documents = [
"The employee's SSN is 555-55-5555.",
Expand Down

0 comments on commit 690117e

Please sign in to comment.