Update model.go with max_tokens param

This commit is contained in:
MotorBottle
2024-07-24 20:05:53 +08:00
committed by GitHub
parent 8c40a1dae0
commit 804fd7e405

View File

@@ -7,6 +7,7 @@ type Options struct {
TopP float64 `json:"top_p,omitempty"` TopP float64 `json:"top_p,omitempty"`
FrequencyPenalty float64 `json:"frequency_penalty,omitempty"` FrequencyPenalty float64 `json:"frequency_penalty,omitempty"`
PresencePenalty float64 `json:"presence_penalty,omitempty"` PresencePenalty float64 `json:"presence_penalty,omitempty"`
NumPredict float64 `json:"num_predict,omitempty"`
} }
type Message struct { type Message struct {