stopSequences

public final GenerationConfig.Builder stopSequences(List<String> stopSequences)

A list of character sequences that will stop output interaction.


public final GenerationConfig.Builder stopSequences(JsonField<List<String>> stopSequences)

Sets Builder.stopSequences to an arbitrary JSON value.

You should usually call Builder.stopSequences with a well-typed List<String> value instead. This method is primarily for setting the field to an undocumented or not yet supported value.