Condividi tramite


DocumentTypeDetails Class

Definition

Document type info.

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

Constructors

DocumentTypeDetails()

Initializes a new instance of DocumentTypeDetails.

Properties

BuildMode

Custom document model build mode.

ConfidenceThreshold

Only perform analysis if docType confidence is above threshold.

Description

Document model description.

Features

List of optional analysis features.

FieldConfidence

Estimated confidence for each field.

FieldSchema

Description of the document semantic schema using a JSON Schema style syntax.

MaxDocumentsToAnalyze

Maximum number of documents of specified type to analyze. Default=all.

ModelId

Document model to use for analyzing documents with specified type.

QueryFields

List of additional fields to extract. Ex. "NumberOfGuests,StoreNumber".

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DocumentTypeDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DocumentTypeDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DocumentTypeDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentTypeDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DocumentTypeDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to