Skip to main content
Version: v2

TreeAgentUserMessage Interface

A user message containing a query or instruction.

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 TreeAgentUserMessage

Properties​

PropertyAlertsModifiersTypeDescription
contentAlphareadonlystringThe text content of the message.
roleAlphareadonly"user"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: "user";

Type: "user"