fix: embedding model dimensions

This commit is contained in:
daggeryu 2024-07-17 16:40:44 +08:00 committed by GitHub
parent 4d0d18931d
commit fd87260209
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,6 +31,7 @@ type GeneralOpenAIRequest struct {
User string `json:"user,omitempty"`
LogProbs bool `json:"logprobs,omitempty"`
TopLogProbs int `json:"top_logprobs,omitempty"`
Dimensions int `json:"dimensions,omitempty"`
}
type OpenAITools struct {