Skip to content

Commit

Permalink
[Text Analytics] Prepare for release of v5.1.0-beta.4 (Azure#13694)
Browse files Browse the repository at this point in the history
Updated the release date and fix a minor issue in README.
  • Loading branch information
deyaaeldeen authored Feb 9, 2021
1 parent cc4a492 commit 7bee627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/textanalytics/ai-text-analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 5.1.0-beta.4 (unreleased)
## 5.1.0-beta.4 (2021-02-10)

- [Breaking] `beginAnalyzeHealthcare` is renamed to `beginAnalyzeHealthcareEntities`.
- [Breaking] `beginAnalyze` is renamed to `beginAnalyzeBatchActions`.
Expand Down
2 changes: 1 addition & 1 deletion sdk/textanalytics/ai-text-analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ async function main() {
};
const poller = await client.beginAnalyzeBatchActions(documents, actions);
const resultPages = await poller.pollUntilDone();
for (const page of resultPages) {
for await (const page of resultPages) {
const keyPhrasesAction = page.extractKeyPhrasesResults[0];
if (!keyPhrasesAction.error) {
for (const doc of keyPhrasesAction.results) {
Expand Down

0 comments on commit 7bee627

Please sign in to comment.