@azure/ai-text-analytics 5.2.0-alpha.20211029.2 → 5.2.0-alpha.20211103.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/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 5.2.0-beta.
|
|
3
|
+
## 5.2.0-beta.3 (Unreleased)
|
|
4
4
|
|
|
5
5
|
### Features Added
|
|
6
6
|
|
|
7
|
-
- We are now targeting the service's v3.2-preview.2 API as the default instead of v3.2-preview.1.
|
|
8
|
-
- Adding support for a three new actions in `beginAnalyzeActions`: `recognizeCustomEntities`, `singleCategoryClassify`, and `multiCategoryClassify`. The new actions allow you to use custom models to perform entity recognition and classification actions.
|
|
9
|
-
|
|
10
7
|
### Breaking Changes
|
|
11
8
|
|
|
12
9
|
### Bugs Fixed
|
|
13
10
|
|
|
14
11
|
### Other Changes
|
|
15
12
|
|
|
16
|
-
|
|
13
|
+
## 5.2.0-beta.2 (2021-11-02)
|
|
14
|
+
|
|
15
|
+
### Features Added
|
|
16
|
+
|
|
17
|
+
- We are now targeting the service's v3.2-preview.2 API as the default instead of v3.2-preview.1.
|
|
18
|
+
- Adding support for a three new actions in `beginAnalyzeActions`: `recognizeCustomEntities`, `singleCategoryClassify`, and `multiCategoryClassify`. The new actions allow you to use custom models to perform entity recognition and classification actions.
|
|
17
19
|
|
|
20
|
+
### Other Changes
|
|
21
|
+
|
|
22
|
+
- `beginAnalyzeActions` supports actions to be named and the name is now accessible in each action result.
|
|
23
|
+
- `beginAnalyzeActions` supports multiple actions of the same type so you can pass a list of any particular action type, e.g.
|
|
18
24
|
|
|
19
25
|
```typescript
|
|
20
26
|
await client.beginAnalyzeActions(docs, { recognizePiiEntitiesActions: [
|
|
@@ -22,7 +28,6 @@
|
|
|
22
28
|
{ modelVersion: "2021-01-15", actionName: "action2" }]
|
|
23
29
|
});
|
|
24
30
|
```
|
|
25
|
-
- `beginAnalyzeActions` supports actions to be named and the name is now accessible in each action result.
|
|
26
31
|
|
|
27
32
|
## 5.2.0-beta.1 (2021-08-09)
|
|
28
33
|
|
package/dist/index.js
CHANGED
|
@@ -3618,7 +3618,7 @@ class GeneratedClientContext extends coreClient.ServiceClient {
|
|
|
3618
3618
|
const defaults = {
|
|
3619
3619
|
requestContentType: "application/json; charset=utf-8"
|
|
3620
3620
|
};
|
|
3621
|
-
const packageDetails = `azsdk-js-ai-text-analytics/5.2.0-beta.
|
|
3621
|
+
const packageDetails = `azsdk-js-ai-text-analytics/5.2.0-beta.3`;
|
|
3622
3622
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
3623
3623
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
3624
3624
|
: `${packageDetails}`;
|