Udostępnij przez


OllamaPromptExecutionSettings.Stop Property

Definition

Sets the stop sequences to use. When this pattern is encountered the LLM will stop generating text and return. Multiple stop patterns may be set by specifying multiple separate stop parameters in a model file.

[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
[System.Text.Json.Serialization.JsonPropertyName("stop")]
public System.Collections.Generic.List<string>? Stop { get; set; }
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)>]
[<System.Text.Json.Serialization.JsonPropertyName("stop")>]
member this.Stop : System.Collections.Generic.List<string> with get, set
Public Property Stop As List(Of String)

Property Value

Attributes

Applies to