Jelajahi Sumber

Update api.md

Jeffrey Morgan 1 tahun lalu
induk
melakukan
2eaa95b417
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      docs/api.md

+ 2 - 2
docs/api.md

@@ -299,9 +299,9 @@ Create a model from a [`Modelfile`](./modelfile.md). It is recommended to set `m
 ### Parameters
 
 - `name`: name of the model to create
-- `modelfile`: contents of the Modelfile
+- `modelfile` (optional): contents of the Modelfile
 - `stream`: (optional) if `false` the response will be returned as a single response object, rather than a stream of objects
-- `path` (deprecated): path to the Modelfile
+- `path` (optional): path to the Modelfile
 
 ### Examples