@azure/ai-language-text 1.0.1-alpha.20220922.1 → 1.0.1-alpha.20221014.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/package.json +3 -3
package/README.md
CHANGED
@@ -471,6 +471,8 @@ async function main() {
|
|
471
471
|
},
|
472
472
|
];
|
473
473
|
const poller = await client.beginAnalyzeBatch(actions, documents, "en");
|
474
|
+
const results = await poller.pollUntilDone();
|
475
|
+
|
474
476
|
for await (const actionResult of results) {
|
475
477
|
if (actionResult.kind !== "CustomEntityRecognition") {
|
476
478
|
throw new Error(`Expected a CustomEntityRecognition results but got: ${actionResult.kind}`);
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"sdk-type": "client",
|
4
4
|
"author": "Microsoft Corporation",
|
5
5
|
"description": "An isomorphic client library for the text analysis features in the Azure Cognitive Language Service.",
|
6
|
-
"version": "1.0.1-alpha.
|
6
|
+
"version": "1.0.1-alpha.20221014.1",
|
7
7
|
"keywords": [
|
8
8
|
"node",
|
9
9
|
"azure",
|
@@ -45,7 +45,7 @@
|
|
45
45
|
]
|
46
46
|
},
|
47
47
|
"engines": {
|
48
|
-
"node": ">=
|
48
|
+
"node": ">=14.0.0"
|
49
49
|
},
|
50
50
|
"//sampleConfiguration": {
|
51
51
|
"productName": "Azure Cognitive Language Service",
|
@@ -107,7 +107,7 @@
|
|
107
107
|
"@types/chai": "^4.1.6",
|
108
108
|
"@types/chai-as-promised": "^7.1.0",
|
109
109
|
"@types/mocha": "^7.0.2",
|
110
|
-
"@types/node": "^
|
110
|
+
"@types/node": "^14.0.0",
|
111
111
|
"@types/sinon": "^9.0.4",
|
112
112
|
"chai": "^4.2.0",
|
113
113
|
"chai-as-promised": "^7.1.1",
|