Condividi tramite


DocumentIntelligenceModelFactory.BuildClassifierOptions Method

Definition

Initializes a new instance of BuildClassifierOptions.

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

Parameters

classifierId
String

Unique document classifier name.

description
String

Document classifier description.

baseClassifierId
String

Base classifierId on top of which to train the classifier.

documentTypes
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 BuildClassifierOptions instance for mocking.

Applies to