你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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