Compartir a través de


TextContent Class

Definition

Represents text content in a chat.

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
Inheritance
TextContent

Constructors

TextContent(String)

Initializes a new instance of the TextContent class.

Properties

AdditionalProperties

Gets or sets additional properties for the content.

(Inherited from AIContent)
RawRepresentation

Gets or sets the raw representation of the content from an underlying implementation.

(Inherited from AIContent)
Text

Gets or sets the text content.

Methods

ToString()

Returns a string that represents the current object.

Applies to