TTMSMCPSamplingMessages.AddAssistantMessage Method
Creates a text turn attributed to the assistant and appends it to the conversation, to replay an earlier model reply as part of the history.
API unit family: TMS.MCP.Sampling
Declaring type: TTMSMCPSamplingMessages
Syntax
function AddAssistantMessage(const AText: string): Integer;
Parameters
| Name | Description |
|---|---|
AText |
Text of the turn. |
Returns
Index of the new turn in the conversation.