Condividi tramite


BuildClassifierOptions Class

Definition

Request body to build a new custom document classifier.

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

Constructors

BuildClassifierOptions(String, IDictionary<String,ClassifierDocumentTypeDetails>)

Initializes a new instance of BuildClassifierOptions.

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.

DocumentTypes

List of document types to classify against.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BuildClassifierOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BuildClassifierOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BuildClassifierOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BuildClassifierOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BuildClassifierOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to