Partager 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; }
[<System.Text.Json.Serialization.JsonPropertyName("stop_sequences")>]
member this.StopSequences : System.Collections.Generic.IList<string> with get, set
Public Property StopSequences As IList(Of String)

Property Value

Attributes

Applies to