TextContent 類別

定義

代表聊天中的文字內容。

public ref class TextContent sealed : Microsoft::Extensions::AI::AIContent
public sealed class TextContent : Microsoft.Extensions.AI.AIContent
type TextContent = class
    inherit AIContent
Public NotInheritable Class TextContent
Inherits AIContent
繼承
TextContent

建構函式

名稱 Description
TextContent(String)

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

屬性

名稱 Description
AdditionalProperties

為內容取得或設定額外的屬性。

(繼承來源 AIContent)
Annotations

取得或設定這些內容的註解清單。

(繼承來源 AIContent)
RawRepresentation

從底層實作中取得或設定內容的原始表示。

(繼承來源 AIContent)
Text

取得或設定文字內容。

方法

名稱 Description
ToString()

傳回表示目前 物件的字串。

適用於