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
| Property | Alerts | Modifiers | Type | Description |
|---|---|---|---|---|
| content | Alpha | readonly | string | The text content of the message. |
| role | Alpha | readonly | "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"