你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DocumentIntelligenceModelFactory.BuildDocumentModelOptions Method
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.
Initializes a new instance of BuildDocumentModelOptions.
public static Azure.AI.DocumentIntelligence.BuildDocumentModelOptions BuildDocumentModelOptions (string modelId = default, string description = default, Azure.AI.DocumentIntelligence.DocumentBuildMode buildMode = default, Azure.AI.DocumentIntelligence.BlobContentSource blobSource = default, Azure.AI.DocumentIntelligence.BlobFileListContentSource blobFileListSource = default, System.Collections.Generic.IDictionary<string,string> tags = default, float? maxTrainingHours = default, bool? allowOverwrite = default);
static member BuildDocumentModelOptions : string * string * Azure.AI.DocumentIntelligence.DocumentBuildMode * Azure.AI.DocumentIntelligence.BlobContentSource * Azure.AI.DocumentIntelligence.BlobFileListContentSource * System.Collections.Generic.IDictionary<string, string> * Nullable<single> * Nullable<bool> -> Azure.AI.DocumentIntelligence.BuildDocumentModelOptions
Public Shared Function BuildDocumentModelOptions (Optional modelId As String = Nothing, Optional description As String = Nothing, Optional buildMode As DocumentBuildMode = Nothing, Optional blobSource As BlobContentSource = Nothing, Optional blobFileListSource As BlobFileListContentSource = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional maxTrainingHours As Nullable(Of Single) = Nothing, Optional allowOverwrite As Nullable(Of Boolean) = Nothing) As BuildDocumentModelOptions
Parameters
- modelId
- String
Unique document model name.
- description
- String
Document model description.
- buildMode
- DocumentBuildMode
Custom document model build mode.
- blobSource
- BlobContentSource
Azure Blob Storage location containing the training data. Either azureBlobSource or azureBlobFileListSource must be specified.
- blobFileListSource
- BlobFileListContentSource
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.
Max number of V100-equivalent GPU hours to use for model training. Default=0.5.
Returns
A new BuildDocumentModelOptions instance for mocking.