Skip to content

Commit bd0bca6

Browse files
authored
[Text Analytics] Allow multiple actions of the same type (#18382)
* [Text Analytics] Allow multiple actions of the same type * address feedback * remove onlys
1 parent 8fcdbfe commit bd0bca6

17 files changed

+701
-83
lines changed

sdk/textanalytics/ai-text-analytics/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@
1313

1414
### Other Changes
1515

16+
- `beginAnalyzeActions` supports multiple actions of the same type so you can pass a list of any particular action type, e.g.
17+
18+
19+
```typescript
20+
await client.beginAnalyzeActions(docs, { recognizePiiEntitiesActions: [
21+
{ modelVersion: "latest", actionName: "action1" },
22+
{ modelVersion: "2021-01-15", actionName: "action2" }]
23+
});
24+
```
25+
1626
## 5.2.0-beta.1 (2021-08-09)
1727

1828
### Features Added

sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json

+49
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json

+68
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json

+44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.js

+130
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)