mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-17 16:06:38 +08:00
Merge pull request #371 from daggeryu/patch-1
fix: embedding model dimensions
This commit is contained in:
commit
9a8fd5cd6f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user