stopSequences property
Optional. The set of character sequences (up to 5) that will stop output
generation. If specified, the API will stop at the first appearance of a
stop_sequence. The stop sequence will not be included as part of the
response.
Implementation
final List<String> stopSequences;