Table of Contents

TTMSMCPSamplingRequestBuilder.AddAssistantMessage Method

Appends a text turn attributed to the assistant, to replay an earlier model reply as part of the history.

API unit family: TMS.MCP.Sampling Declaring type: TTMSMCPSamplingRequestBuilder

Syntax

function AddAssistantMessage(const AText: string): TTMSMCPSamplingRequestBuilder;

Parameters

Name Description
AText Text of the turn.

Returns

The builder, so that further calls can be chained.