update GeneralOpenAIRequest

This commit is contained in:
CaIon
2023-12-20 21:20:09 +08:00
parent f5a36a05e5
commit 45e1042e58
6 changed files with 8 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ type PaLMChatRequest struct {
Temperature float64 `json:"temperature,omitempty"`
CandidateCount int `json:"candidateCount,omitempty"`
TopP float64 `json:"topP,omitempty"`
TopK int `json:"topK,omitempty"`
TopK uint `json:"topK,omitempty"`
}
type PaLMError struct {