Merge pull request #371 from daggeryu/patch-1

fix: embedding model dimensions
This commit is contained in:
Calcium-Ion 2024-07-17 17:03:42 +08:00 committed by GitHub
commit 9a8fd5cd6f
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 {