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

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