Share via


DocumentIntelligenceModelFactory.BuildDocumentModelContent Method

Definition

Initializes a new instance of BuildDocumentModelContent.

public static Azure.AI.DocumentIntelligence.BuildDocumentModelContent BuildDocumentModelContent (string modelId = default, string description = default, Azure.AI.DocumentIntelligence.DocumentBuildMode buildMode = default, Azure.AI.DocumentIntelligence.AzureBlobContentSource azureBlobSource = default, Azure.AI.DocumentIntelligence.AzureBlobFileListContentSource azureBlobFileListSource = default, System.Collections.Generic.IDictionary<string,string> tags = default, float? maxTrainingHours = default, bool? allowOverwrite = default);
static member BuildDocumentModelContent : string * string * Azure.AI.DocumentIntelligence.DocumentBuildMode * Azure.AI.DocumentIntelligence.AzureBlobContentSource * Azure.AI.DocumentIntelligence.AzureBlobFileListContentSource * System.Collections.Generic.IDictionary<string, string> * Nullable<single> * Nullable<bool> -> Azure.AI.DocumentIntelligence.BuildDocumentModelContent
Public Shared Function BuildDocumentModelContent (Optional modelId As String = Nothing, Optional description As String = Nothing, Optional buildMode As DocumentBuildMode = Nothing, Optional azureBlobSource As AzureBlobContentSource = Nothing, Optional azureBlobFileListSource As AzureBlobFileListContentSource = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional maxTrainingHours As Nullable(Of Single) = Nothing, Optional allowOverwrite As Nullable(Of Boolean) = Nothing) As BuildDocumentModelContent

Parameters

modelId
String

Unique document model name.

description
String

Document model description.

buildMode
DocumentBuildMode

Custom document model build mode.

azureBlobSource
AzureBlobContentSource

Azure Blob Storage location containing the training data. Either azureBlobSource or azureBlobFileListSource must be specified.

azureBlobFileListSource
AzureBlobFileListContentSource

Azure Blob Storage file list specifying the training data. Either azureBlobSource or azureBlobFileListSource must be specified.

tags
IDictionary<String,String>

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

maxTrainingHours
Nullable<Single>

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

allowOverwrite
Nullable<Boolean>

Allow overwriting an existing model with the same name.

Returns

A new BuildDocumentModelContent instance for mocking.

Applies to