AzureGroundingEnhancementLineSpan Class

Definition

A span object that represents a detected object and its bounding box information.

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

Properties

Length

The length of the span in characters, measured in Unicode codepoints.

Offset

The character offset within the text where the span begins. This offset is defined as the position of the first character of the span, counting from the start of the text as Unicode codepoints.

Polygon

An array of objects representing points in the polygon that encloses the detected object.

Text

The text content of the span that represents the detected object.

Explicit Interface Implementations

IJsonModel<AzureGroundingEnhancementLineSpan>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureGroundingEnhancementLineSpan>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AzureGroundingEnhancementLineSpan>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureGroundingEnhancementLineSpan>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureGroundingEnhancementLineSpan>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to