語言

AnnotatedRegion 類別

定義

描述關聯中 AIContent 註解適用的部分。

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
繼承
AnnotatedRegion
衍生
屬性

備註

關於該區域的細節由根據描述區域的衍生類型提供。 例如,文本內容的起始與結束索引由 提供 TextSpanAnnotatedRegion。

建構函式

名稱 Description
AnnotatedRegion()

初始化 AnnotatedRegion 類別的新執行個體。

適用於