CustomSingleLabelClassificationSuccessResult interface
The result of the custom classify document single category operation on a single document, containing the result of the classification.
- Extends
Properties
classifications | The collection of classifications in the input document. |
Inherited Properties
error | Discriminant to determine if this is an error result. |
id | Unique, non-empty document identifier. |
statistics | Statistics about the input document and how it was processed by the service. This property will have a value when includeStatistics is set to true in the client call. |
warnings | An array of warning data corresponding to this document. If no warnings were returned, this array will be empty. |
Property Details
classifications
The collection of classifications in the input document.
classifications: ClassificationCategory[]
Property Value
Inherited Property Details
error
Discriminant to determine if this is an error result.
error?: undefined
Property Value
undefined
Inherited From TextAnalysisSuccessResult.error
id
Unique, non-empty document identifier.
id: string
Property Value
string
Inherited From TextAnalysisSuccessResult.id
statistics
Statistics about the input document and how it was processed by the service. This property will have a value when includeStatistics is set to true in the client call.
statistics?: TextDocumentStatistics
Property Value
Inherited From TextAnalysisSuccessResult.statistics
warnings
An array of warning data corresponding to this document.
If no warnings were returned, this array will be empty.
warnings: DocumentWarning[]
Property Value
Inherited From TextAnalysisSuccessResult.warnings
Azure SDK for JavaScript