浏览代码

Update api.md

Jeffrey Morgan 1 年之前
父节点
当前提交
2eaa95b417
共有 1 个文件被更改,包括 2 次插入2 次删除
  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