5.1.0-beta.4 (2021-02-10)
New features
- Added property
Length
toCategorizedEntity
,SentenceSentiment
,LinkedEntityMatch
,AspectSentiment
,OpinionSentiment
, andPiiEntity
. StringIndexType
has been added to all endpoints that expose the new propertiesOffset
andLength
to determine the encoding which service should use. It is added into theTextAnalyticsRequestOptions
class and default for this SDK isUTF-16
code unit.AnalyzeHealthcareEntitiesOperation
now exposes the propertiesCreatedOn
,ExpiresOn
,LastModified
, andStatus
.AnalyzeBatchActionsOperation
now exposes the propertiesCreatedOn
,ExpiresOn
,LastModified
,Status
,ActionsFailed
,ActionsInProgress
,ActionsSucceeded
,DisplayName
, andTotalActions
.
Breaking changes
- Renamed
JobStatus
toTextAnalyticsOperationStatus
.
Analyze Healthcare Entities
- Pagination support was added for all
StartAnalyzeHealthcareEntities
methods. - Moved
Cancel
andCancelAsync
for Healthcare fromTextAnalyticsClient
toAnalyzeHealthcareEntitiesOperation
. - The healthcare entities returned by
StartAnalyzeHealthcareEntities
are now organized as a directed graph where the edges represent a certain type of healthcare relationship between the source and target entities. Edges are stored in theRelatedEntities
property. - Renamed
StartHealthcareBatch
andStartHealthcareBatchAsync
toStartAnalyzeHealthcareEntities
andStartAnalyzeHealthcareEntitiesAsync
respectively. - Renamed
RecognizeHealthcareEntitiesResultCollection
toAnalyzeHealthcareEntitiesResultCollection
. - Renamed
DocumentHealthcareResult
toAnalyzeHealthcareEntitiesResult
. - Renamed
HealthcareOperation
toAnalyzeHealthcareEntitiesOperation
. - Renamed
HealthcareOptions
toAnalyzeHealthcareEntitiesOptions
, and removed typesSkip
andTop
from it. Pagination is now done automatically by the SDK. - Renamed
HealthcareEntityLink
toEntityDataSource
withDataSource
toEntityDataSource
andId
toName
. - Renamed
HealthcareRelation
toHealthcareRelationType
. - Removed method
GetHealthcareEntities
as pagination is now done with the mainStartAnalyzeHealthcareEntities
methods. - Removed
HealthcareTaskResult
. - Removed
StartHealthcare
andStartHealthcareAsync
methods. - Removed
IsNegated
property fromHealthcareEntity
.
Analyze batch actions
- The word
action
is now used consistently in our names and documentation instead oftask
. - Pagination support was added for all
StartAnalyzeBatchActions
methods. - Renamed methods
StartAnalyzeOperationBatch
andStartAnalyzeOperationBatchAsync
toStartAnalyzeBatchActions
andStartAnalyzeBatchActionsAsync
respectively. - Type
TextAnalyticsActions
added toStartAnalyzeBatchActions
methods to specify the actions to execute in the batch of documents instead of inAnalyzeOperationOptions
. - The way to configure the options for each action is now exposed in the respective
ExtractKeyPhrasesOptions
,RecognizeEntitiesOptions
, orRecognizePiiEntitiesOptions
object. - Results for the
StartAnalyzeBatchActions
method are now returned in aAnalyzeHealthcareEntitiesResultCollection
object that contains information per type of action. - Renamed
AnalyzeOperation
toAnalyzeBatchActionsOperation
. - Reuse
PiiEntityDomainType
instead ofPiiTaskParametersDomain
. - Removed
AnalyzeTasks
,EntitiesTask
,EntitiesTaskParameters
,EntityRecognitionTasksItem
,JobManifestTasks
,KeyPhraseExtractionTasksItem
,KeyPhrasesTask
,KeyPhrasesTaskParameters
,PiiTask
,PiiTaskParameters
.