TTMSMCPSamplingRequestBuilder.AddStopSequence Method
Adds a text that ends generation as soon as the model produces it.
API unit family: TMS.MCP.Sampling
Declaring type: TTMSMCPSamplingRequestBuilder
Syntax
function AddStopSequence(const ASequence: string): TTMSMCPSamplingRequestBuilder;
Parameters
| Name | Description |
|---|---|
ASequence |
Stop sequence to add. |
Returns
The builder, so that further calls can be chained.