你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DocumentIntelligenceModelFactory.ComposeModelOptions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ComposeModelOptions.
public static Azure.AI.DocumentIntelligence.ComposeModelOptions ComposeModelOptions (string modelId = default, string description = default, string classifierId = default, Azure.AI.DocumentIntelligence.SplitMode? split = default, System.Collections.Generic.IDictionary<string,Azure.AI.DocumentIntelligence.DocumentTypeDetails> documentTypes = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member ComposeModelOptions : 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.ComposeModelOptions
Public Shared Function ComposeModelOptions (Optional modelId As String = Nothing, Optional description As String = Nothing, Optional classifierId As String = Nothing, Optional split As Nullable(Of SplitMode) = Nothing, Optional documentTypes As IDictionary(Of String, DocumentTypeDetails) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As ComposeModelOptions
Parameters
- modelId
- String
Unique document model name.
- description
- String
Document model description.
- classifierId
- String
Custom classifier to split and classify the input file.
- documentTypes
- 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 ComposeModelOptions instance for mocking.