AnnotatedRegion 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.
Describes the portion of an associated AIContent to which an annotation applies.
public ref class AnnotatedRegion
[System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.TextSpanAnnotatedRegion), "textSpan")]
[System.Text.Json.Serialization.JsonPolymorphic(TypeDiscriminatorPropertyName="$type")]
public class AnnotatedRegion
[<System.Text.Json.Serialization.JsonDerivedType(typeof(Microsoft.Extensions.AI.TextSpanAnnotatedRegion), "textSpan")>]
[<System.Text.Json.Serialization.JsonPolymorphic(TypeDiscriminatorPropertyName="$type")>]
type AnnotatedRegion = class
Public Class AnnotatedRegion
- Inheritance
-
AnnotatedRegion
- Derived
- Attributes
Remarks
Details about the region is provided by derived types based on how the region is described. For example, starting and ending indices into text content are provided by TextSpanAnnotatedRegion.
Constructors
| AnnotatedRegion() |
Initializes a new instance of the AnnotatedRegion class. |