mirror of
				https://github.com/linux-do/new-api.git
				synced 2025-11-04 13:23:42 +08:00 
			
		
		
		
	fix: embedding model dimensions
This commit is contained in:
		@@ -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 {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user