TTMSMCPSamplingMessage.CreateUserMessage Method
Creates a text turn attributed to the user.
API unit family: TMS.MCP.Sampling
Declaring type: TTMSMCPSamplingMessage
Syntax
class function CreateUserMessage(const AText: string): TTMSMCPSamplingMessage; static;
static TTMSMCPSamplingMessage* __fastcall CreateUserMessage(const System::UnicodeString AText);
Parameters
| Name | Description |
|---|---|
AText |
Text of the turn. |
Returns
A new turn, owned by the caller until it is added to a conversation.