|
@@ -197,14 +197,17 @@ type EmbeddingResponse struct {
|
|
|
|
|
|
// CreateRequest is the request passed to [Client.Create].
|
|
|
type CreateRequest struct {
|
|
|
- Model string `json:"model"`
|
|
|
- Path string `json:"path"`
|
|
|
- Modelfile string `json:"modelfile"`
|
|
|
- Stream *bool `json:"stream,omitempty"`
|
|
|
- Quantization string `json:"quantization,omitempty"`
|
|
|
+ Model string `json:"model"`
|
|
|
+ Path string `json:"path"`
|
|
|
+ Modelfile string `json:"modelfile"`
|
|
|
+ Stream *bool `json:"stream,omitempty"`
|
|
|
+ Quantize string `json:"quantize,omitempty"`
|
|
|
|
|
|
// Name is deprecated, see Model
|
|
|
Name string `json:"name"`
|
|
|
+
|
|
|
+ // Quantization is deprecated, see Quantize
|
|
|
+ Quantization string `json:"quantization,omitempty"`
|
|
|
}
|
|
|
|
|
|
// DeleteRequest is the request passed to [Client.Delete].
|