update GeneralOpenAIRequest

This commit is contained in:
CaIon
2023-12-20 21:20:09 +08:00
parent f74a89fc7d
commit 48b94dd24d
6 changed files with 8 additions and 8 deletions
+1 -1
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 {