Skip to main content
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

TMS.MCP.Sampling.hppPascalC++
function AddAssistantMessage(const AText: string): TTMSMCPSamplingRequestBuilder;
TTMSMCPSamplingRequestBuilder* __fastcall AddAssistantMessage(const System::UnicodeString AText);

Parameters

Name Description
AText Text of the turn.

Returns

The builder, so that further calls can be chained.