openai.createcompletionprops.stop
Home > @runlightyear/openai > CreateCompletionProps > stop
CreateCompletionProps.stop property
Defaults to null Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.
Signature:stop?: string | string[] | null;