Skip to main content
Table of Contents

TTMSMCPSamplingRequestBuilder.WithSystemPrompt Method

Sets the instructions that steer the model.

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

Syntax

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

Parameters

Name Description
APrompt Instructions sent alongside the conversation.

Returns

The builder, so that further calls can be chained.