@azure/ai-language-text 1.0.1-alpha.20220922.1 → 1.0.1-alpha.20221005.2

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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
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.20220922.1",
6
+ "version": "1.0.1-alpha.20221005.2",
7
7
  "keywords": [
8
8
  "node",
9
9
  "azure",