AzureGroundingEnhancementLine Class
- java.
lang. Object - com.
azure. ai. openai. models. AzureGroundingEnhancementLine
- com.
Implements
public final class AzureGroundingEnhancementLine
implements JsonSerializable<AzureGroundingEnhancementLine>
A content line object consisting of an adjacent sequence of content elements, such as words and selection marks.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
List<Azure |
getSpans()
Get the spans property: An array of spans that represent detected objects and its bounding box information. |
String |
getText()
Get the text property: The text within the line. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AzureGroundingEnhancementLine fromJson(JsonReader jsonReader)
Reads an instance of AzureGroundingEnhancementLine from the JsonReader.
Parameters:
Returns:
Throws:
getSpans
public List
Get the spans property: An array of spans that represent detected objects and its bounding box information.
Returns:
getText
public String getText()
Get the text property: The text within the line.
Returns:
toJson
Applies to
Azure SDK for Java