Share via


DocumentIntelligenceModelFactory.DocumentModelDetails Method

Definition

Initializes a new instance of DocumentModelDetails.

public static Azure.AI.DocumentIntelligence.DocumentModelDetails DocumentModelDetails (string modelId = default, string description = default, DateTimeOffset createdOn = default, DateTimeOffset? expiresOn = default, string apiVersion = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, Azure.AI.DocumentIntelligence.DocumentBuildMode? buildMode = default, Azure.AI.DocumentIntelligence.AzureBlobContentSource azureBlobSource = default, Azure.AI.DocumentIntelligence.AzureBlobFileListContentSource azureBlobFileListSource = default, string classifierId = default, Azure.AI.DocumentIntelligence.SplitMode? split = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.DocumentIntelligence.DocumentTypeDetails> docTypes = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentIntelligenceWarning> warnings = default, float? trainingHours = default);
static member DocumentModelDetails : string * string * DateTimeOffset * Nullable<DateTimeOffset> * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * Nullable<Azure.AI.DocumentIntelligence.DocumentBuildMode> * Azure.AI.DocumentIntelligence.AzureBlobContentSource * Azure.AI.DocumentIntelligence.AzureBlobFileListContentSource * string * Nullable<Azure.AI.DocumentIntelligence.SplitMode> * System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.DocumentIntelligence.DocumentTypeDetails> * seq<Azure.AI.DocumentIntelligence.DocumentIntelligenceWarning> * Nullable<single> -> Azure.AI.DocumentIntelligence.DocumentModelDetails
Public Shared Function DocumentModelDetails (Optional modelId As String = Nothing, Optional description As String = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing, Optional apiVersion As String = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional buildMode As Nullable(Of DocumentBuildMode) = Nothing, Optional azureBlobSource As AzureBlobContentSource = Nothing, Optional azureBlobFileListSource As AzureBlobFileListContentSource = Nothing, Optional classifierId As String = Nothing, Optional split As Nullable(Of SplitMode) = Nothing, Optional docTypes As IReadOnlyDictionary(Of String, DocumentTypeDetails) = Nothing, Optional warnings As IEnumerable(Of DocumentIntelligenceWarning) = Nothing, Optional trainingHours As Nullable(Of Single) = Nothing) As DocumentModelDetails

Parameters

modelId
String

Unique document model name.

description
String

Document model description.

createdOn
DateTimeOffset

Date and time (UTC) when the document model was created.

expiresOn
Nullable<DateTimeOffset>

Date and time (UTC) when the document model will expire.

apiVersion
String

API version used to create this document model.

tags
IReadOnlyDictionary<String,String>

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

buildMode
Nullable<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.

classifierId
String

For composed models, the custom classifier to split and classify the input file.

split
Nullable<SplitMode>

For composed models, the file splitting behavior.

docTypes
IReadOnlyDictionary<String,DocumentTypeDetails>

Supported document types.

warnings
IEnumerable<DocumentIntelligenceWarning>

List of warnings encountered while building the model.

trainingHours
Nullable<Single>

Number of V100-equivalent GPU hours consumed for model training.

Returns

A new DocumentModelDetails instance for mocking.

Applies to