共用方式為


BuildDocumentModelOptions Class

Definition

Request body to build a new custom document model.

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

Constructors

BuildDocumentModelOptions(String, DocumentBuildMode, BlobContentSource)

Initializes a new instance of BuildDocumentModelOptions.

BuildDocumentModelOptions(String, DocumentBuildMode, BlobFileListContentSource)

Initializes a new instance of BuildDocumentModelOptions.

Properties

AllowOverwrite

Allow overwriting an existing model with the same name.

BlobFileListSource

Azure Blob Storage file list specifying the training data.

BlobSource

Azure Blob Storage location containing the training data.

BuildMode

Custom document model build mode.

Description

Document model description.

MaxTrainingHours

Max number of V100-equivalent GPU hours to use for model training. Default=0.5.

ModelId

Unique document model name.

Tags

List of key-value tag attributes associated with the document model.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BuildDocumentModelOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BuildDocumentModelOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BuildDocumentModelOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BuildDocumentModelOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BuildDocumentModelOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to