Language

DocumentContentSegment Class

Definition

Detected document content segment.

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

Properties

Name Description
Category

Classified content category.

Confidence

Confidence of the segmentation and category classification.

EndPageNumber

End page number (1-indexed) of the segment.

SegmentId

Segment identifier.

Source

Encoded source that identifies the position of the segment in the content. Can be used as the 'range' input to route this segment to a sub-analyzer.

Span

Span of the segment in the markdown content.

StartPageNumber

Start page number (1-indexed) of the segment.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<DocumentContentSegment>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<DocumentContentSegment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<DocumentContentSegment>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<DocumentContentSegment>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<DocumentContentSegment>.Write(ModelReaderWriterOptions)

Applies to