Share via


GeminiPromptExecutionSettings.StopSequences Property

Definition

Sequences where the completion will stop generating further tokens. Maximum number of stop sequences is 5.

[System.Text.Json.Serialization.JsonPropertyName("stop_sequences")]
public System.Collections.Generic.IList<string>? StopSequences { get; set; }

Property Value

Attributes

Applies to