Compartilhar via


BuildDocumentClassifierContent Class

Definition

Request body to build a new custom document classifier.

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

Constructors

BuildDocumentClassifierContent(String, IDictionary<String,ClassifierDocumentTypeDetails>)

Initializes a new instance of BuildDocumentClassifierContent.

Properties

AllowOverwrite

Allow overwriting an existing classifier with the same name.

BaseClassifierId

Base classifierId on top of which to train the classifier.

ClassifierId

Unique document classifier name.

Description

Document classifier description.

DocTypes

List of document types to classify against.

Explicit Interface Implementations

IJsonModel<BuildDocumentClassifierContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BuildDocumentClassifierContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BuildDocumentClassifierContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BuildDocumentClassifierContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BuildDocumentClassifierContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to