Partager via


ComposeModelOptions Class

Definition

Request body to create a composed document model from component document models.

public class ComposeModelOptions : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.ComposeModelOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.ComposeModelOptions>
type ComposeModelOptions = class
    interface IJsonModel<ComposeModelOptions>
    interface IPersistableModel<ComposeModelOptions>
Public Class ComposeModelOptions
Implements IJsonModel(Of ComposeModelOptions), IPersistableModel(Of ComposeModelOptions)
Inheritance
ComposeModelOptions
Implements

Constructors

ComposeModelOptions(String, String, IDictionary<String,DocumentTypeDetails>)

Initializes a new instance of ComposeModelOptions.

Properties

ClassifierId

Custom classifier to split and classify the input file.

Description

Document model description.

DocumentTypes

Dictionary mapping supported docTypes to the corresponding document models.

ModelId

Unique document model name.

Split

File splitting behavior.

Tags

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComposeModelOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ComposeModelOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComposeModelOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComposeModelOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ComposeModelOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to