Freigeben über


DocumentIntelligenceModelFactory.ComposeDocumentModelContent Method

Definition

Initializes a new instance of ComposeDocumentModelContent.

public static Azure.AI.DocumentIntelligence.ComposeDocumentModelContent ComposeDocumentModelContent (string modelId = default, string description = default, string classifierId = default, Azure.AI.DocumentIntelligence.SplitMode? split = default, System.Collections.Generic.IDictionary<string,Azure.AI.DocumentIntelligence.DocumentTypeDetails> docTypes = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member ComposeDocumentModelContent : string * string * string * Nullable<Azure.AI.DocumentIntelligence.SplitMode> * System.Collections.Generic.IDictionary<string, Azure.AI.DocumentIntelligence.DocumentTypeDetails> * System.Collections.Generic.IDictionary<string, string> -> Azure.AI.DocumentIntelligence.ComposeDocumentModelContent
Public Shared Function ComposeDocumentModelContent (Optional modelId As String = Nothing, Optional description As String = Nothing, Optional classifierId As String = Nothing, Optional split As Nullable(Of SplitMode) = Nothing, Optional docTypes As IDictionary(Of String, DocumentTypeDetails) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As ComposeDocumentModelContent

Parameters

modelId
String

Unique document model name.

description
String

Document model description.

classifierId
String

Custom classifier to split and classify the input file.

split
Nullable<SplitMode>

File splitting behavior.

docTypes
IDictionary<String,DocumentTypeDetails>

Dictionary mapping supported docTypes to the corresponding document models.

tags
IDictionary<String,String>

List of key-value tag attributes associated with the document model.

Returns

A new ComposeDocumentModelContent instance for mocking.

Applies to