Udostępnij za pośrednictwem


DocumentIntelligenceModelFactory.BuildDocumentClassifierContent Method

Definition

Initializes a new instance of BuildDocumentClassifierContent.

public static Azure.AI.DocumentIntelligence.BuildDocumentClassifierContent BuildDocumentClassifierContent (string classifierId = default, string description = default, string baseClassifierId = default, System.Collections.Generic.IDictionary<string,Azure.AI.DocumentIntelligence.ClassifierDocumentTypeDetails> docTypes = default, bool? allowOverwrite = default);
static member BuildDocumentClassifierContent : string * string * string * System.Collections.Generic.IDictionary<string, Azure.AI.DocumentIntelligence.ClassifierDocumentTypeDetails> * Nullable<bool> -> Azure.AI.DocumentIntelligence.BuildDocumentClassifierContent
Public Shared Function BuildDocumentClassifierContent (Optional classifierId As String = Nothing, Optional description As String = Nothing, Optional baseClassifierId As String = Nothing, Optional docTypes As IDictionary(Of String, ClassifierDocumentTypeDetails) = Nothing, Optional allowOverwrite As Nullable(Of Boolean) = Nothing) As BuildDocumentClassifierContent

Parameters

classifierId
String

Unique document classifier name.

description
String

Document classifier description.

baseClassifierId
String

Base classifierId on top of which to train the classifier.

docTypes
IDictionary<String,ClassifierDocumentTypeDetails>

List of document types to classify against.

allowOverwrite
Nullable<Boolean>

Allow overwriting an existing classifier with the same name.

Returns

A new BuildDocumentClassifierContent instance for mocking.

Applies to