Skip to main content

TreeAgentAssistantMessage Interface

An assistant message containing the model's text response (when no tool call is made).

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/tree-agent/alpha.

For more information about our API support guarantees, see here.

Signature​

export interface TreeAgentAssistantMessage

Properties​

PropertyAlertsModifiersTypeDescription
contentAlphareadonlystringThe text content of the message.
roleAlphareadonly"assistant"Identifies the message type within a TreeAgentChatMessage array.

Property Details​

content​

The text content of the message.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature​

readonly content: string;

Type: string

role​

Identifies the message type within a TreeAgentChatMessage array.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature​

readonly role: "assistant";

Type: "assistant"