共用方式為


DocumentIntelligenceModelFactory.DocumentClassifierDetails Method

Definition

Initializes a new instance of DocumentClassifierDetails.

public static Azure.AI.DocumentIntelligence.DocumentClassifierDetails DocumentClassifierDetails (string classifierId = default, string description = default, DateTimeOffset createdOn = default, DateTimeOffset? expiresOn = default, string apiVersion = default, string baseClassifierId = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.DocumentIntelligence.ClassifierDocumentTypeDetails> docTypes = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentIntelligenceWarning> warnings = default);
static member DocumentClassifierDetails : string * string * DateTimeOffset * Nullable<DateTimeOffset> * string * string * System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.DocumentIntelligence.ClassifierDocumentTypeDetails> * seq<Azure.AI.DocumentIntelligence.DocumentIntelligenceWarning> -> Azure.AI.DocumentIntelligence.DocumentClassifierDetails
Public Shared Function DocumentClassifierDetails (Optional classifierId 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 baseClassifierId As String = Nothing, Optional docTypes As IReadOnlyDictionary(Of String, ClassifierDocumentTypeDetails) = Nothing, Optional warnings As IEnumerable(Of DocumentIntelligenceWarning) = Nothing) As DocumentClassifierDetails

Parameters

classifierId
String

Unique document classifier name.

description
String

Document classifier description.

createdOn
DateTimeOffset

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

expiresOn
Nullable<DateTimeOffset>

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

apiVersion
String

API version used to create this document classifier.

baseClassifierId
String

Base classifierId on top of which the classifier was trained.

docTypes
IReadOnlyDictionary<String,ClassifierDocumentTypeDetails>

List of document types to classify against.

warnings
IEnumerable<DocumentIntelligenceWarning>

List of warnings encountered while building the classifier.

Returns

A new DocumentClassifierDetails instance for mocking.

Applies to