add create modelfile field

This commit is contained in:
Michael Yang
2023-11-14 13:45:07 -08:00
parent b0d14ed51c
commit 3ca56b5ada
2 changed files with 20 additions and 9 deletions

View File

@@ -99,9 +99,10 @@ type EmbeddingResponse struct {
}
type CreateRequest struct {
Name string `json:"name"`
Path string `json:"path"`
Stream *bool `json:"stream,omitempty"`
Name string `json:"name"`
Path string `json:"path"`
Modelfile string `json:"modelfile"`
Stream *bool `json:"stream,omitempty"`
}
type DeleteRequest struct {