Commit 9d3381a5 by daggeryu Committed by GitHub

fix: embedding model dimensions

parent 5f137378
...@@ -31,6 +31,7 @@ type GeneralOpenAIRequest struct { ...@@ -31,6 +31,7 @@ type GeneralOpenAIRequest struct {
User string `json:"user,omitempty"` User string `json:"user,omitempty"`
LogProbs bool `json:"logprobs,omitempty"` LogProbs bool `json:"logprobs,omitempty"`
TopLogProbs int `json:"top_logprobs,omitempty"` TopLogProbs int `json:"top_logprobs,omitempty"`
Dimensions int `json:"dimensions,omitempty"`
} }
type OpenAITools struct { type OpenAITools struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment