AzureGroundingEnhancementLineSpan Class
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.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for