Skip to main content
Table of Contents

TTMSMCPSamplingRequest.StopSequences Property

Texts that end generation as soon as the model produces one of them, one sequence per line.

API unit family: TMS.MCP.Sampling Declaring type: TTMSMCPSamplingRequest Type: TStringList

Syntax

TMS.MCP.Sampling.hppPascalC++
property StopSequences: TStringList;
__property System::Classes::TStringList* StopSequences = {read=FStopSequences, write=SetStopSequences};

Remarks

Assigning copies the supplied lines into the existing list rather than replacing it. Left out of the payload when empty. Hitting one of the sequences ends the reply with the ssrStopSequence stop reason.