BuildDocumentModelContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Request body to build a new custom document model.
public class BuildDocumentModelContent : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.BuildDocumentModelContent>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.BuildDocumentModelContent>
type BuildDocumentModelContent = class
interface IJsonModel<BuildDocumentModelContent>
interface IPersistableModel<BuildDocumentModelContent>
Public Class BuildDocumentModelContent
Implements IJsonModel(Of BuildDocumentModelContent), IPersistableModel(Of BuildDocumentModelContent)
- Inheritance
-
BuildDocumentModelContent
- Implements
Constructors
BuildDocumentModelContent(String, DocumentBuildMode) |
Initializes a new instance of BuildDocumentModelContent. |
Properties
AllowOverwrite |
Allow overwriting an existing model with the same name. |
AzureBlobFileListSource |
Azure Blob Storage file list specifying the training data. Either azureBlobSource or azureBlobFileListSource must be specified. |
AzureBlobSource |
Azure Blob Storage location containing the training data. Either azureBlobSource or azureBlobFileListSource must be specified. |
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. |
Explicit Interface Implementations
IJsonModel<BuildDocumentModelContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<BuildDocumentModelContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<BuildDocumentModelContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<BuildDocumentModelContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<BuildDocumentModelContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET