Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TA] Enable multiversion #21353

Merged
merged 4 commits into from
May 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sdk/textanalytics/Azure.AI.TextAnalytics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 5.1.0-beta.8 (Unreleased)
### New features
- Added support for service version `3.0`. This can be specified in the `TextAnalyticsClientOptions` object under the `ServiceVersion` enum. By default the SDK targets latest supported service version.
- Added value `None` to enum `PiiEntityDomainType` to allow user to specify no domain.

### Breaking changes
Expand Down
9 changes: 9 additions & 0 deletions sdk/textanalytics/Azure.AI.TextAnalytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ Install the Azure Text Analytics client library for .NET with [NuGet][nuget]:
```PowerShell
dotnet add package Azure.AI.TextAnalytics
```
> Note: This version of the client library defaults to the `v3.1-preview.5` version of the service.

This table shows the relationship between SDK versions and supported API versions of the service:

|SDK version|Supported API version of service
|-|- |
|5.1.0-beta.7 (latest Beta) | 3.0, 3.1-preview.5
|5.0.0 (latest GA) | 3.0
|1.0.0, 1.0.1 | 3.0

### Prerequisites
* An [Azure subscription][azure_sub].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ internal AnalyzeSentimentOptions(TextAnalyticsRequestOptions options)
/// will contain the result of this analysis.
/// <para>Only available for service version v3.1-preview and up.</para>
/// </summary>
/// <remarks>
/// This property only has value for <see cref="TextAnalyticsClientOptions.ServiceVersion.V3_1_Preview_5"/> and up.
/// </remarks>
public bool? IncludeOpinionMining { get; set; }
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion sdk/textanalytics/Azure.AI.TextAnalytics/src/LinkedEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ internal LinkedEntity(string name, IEnumerable<LinkedEntityMatch> matches, strin

/// <summary> Bing Entity Search API unique identifier of the recognized entity.
/// Use in conjunction with the Bing Entity Search API to fetch additional relevant information.
/// This property is only available for service v3.1-preview and up.
/// </summary>
/// <remarks>
/// This property only has value for <see cref="TextAnalyticsClientOptions.ServiceVersion.V3_1_Preview_5"/> and up.
/// </remarks>
[CodeGenMember("BingId")]
public string BingEntitySearchApiId { get; }
}
Expand Down
Loading