TTMSMCPPromptMessages.AddAssistantMessage Method
Appends a message spoken by the assistant, for example to seed the conversation with an expected form of answer.
API unit family: TMS.MCP.Prompts
Declaring type: TTMSMCPPromptMessages
Syntax
function AddAssistantMessage(const Text: string): TTMSMCPPromptMessage;
Parameters
| Name | Description |
|---|---|
Text |
Content of the message. |
Returns
The new message, which stays owned by the collection.