feat: add field stop in GeneralOpenAIRequest

This commit is contained in:
Zhang Jian 2024-07-13 17:29:44 +08:00
parent 6ad169975f
commit 069f72c55f
No known key found for this signature in database
GPG Key ID: 9CCB0F27C04BD78E

View File

@ -13,6 +13,7 @@ type GeneralOpenAIRequest struct {
PresencePenalty float64 `json:"presence_penalty,omitempty"`
ResponseFormat *ResponseFormat `json:"response_format,omitempty"`
Seed float64 `json:"seed,omitempty"`
Stop any `json:"stop,omitempty"`
Stream bool `json:"stream,omitempty"`
Temperature float64 `json:"temperature,omitempty"`
TopP float64 `json:"top_p,omitempty"`