ClassificationActionResult Class

Definition

Contains the classification doc result for the task with detected language.

public class ClassificationActionResult : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.ClassificationActionResult>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.ClassificationActionResult>
type ClassificationActionResult = class
    interface IJsonModel<ClassificationActionResult>
    interface IPersistableModel<ClassificationActionResult>
Public Class ClassificationActionResult
Implements IJsonModel(Of ClassificationActionResult), IPersistableModel(Of ClassificationActionResult)
Inheritance
ClassificationActionResult
Implements

Properties

Class

Contains the classification doc results for all docs.

DetectedLanguage

If 'language' is set to 'auto' for the document in the request this field will contain a 2 letter ISO 639-1 representation of the language detected for this document.

Id

Unique, non-empty document identifier.

Statistics

if showStats=true was specified in the request this field will contain information about the document payload.

Warnings

Warnings encountered while processing document.

Explicit Interface Implementations

IJsonModel<ClassificationActionResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ClassificationActionResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClassificationActionResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClassificationActionResult>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ClassificationActionResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to