Table of Contents

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;

Parameters

Name Description
AText Text of the turn.

Returns

A new turn, owned by the caller until it is added to a conversation.