GeminiPromptExecutionSettings.StopSequences Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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