Compartilhar via


TextPart Class

Definition

Plain text content part.

public sealed class TextPart : Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.Messages.IMessagePart
type TextPart = class
    interface IMessagePart
Public NotInheritable Class TextPart
Implements IMessagePart
Inheritance
TextPart
Implements

Constructors

Name Description
TextPart(String)

Initializes a new instance of the TextPart class.

Properties

Name Description
Content

Gets the text content.

Type

Gets the discriminator string for this part type (e.g. "text", "tool_call").

Applies to