create
ollama.create(request)
request
<Object>
: The request object containing create parameters.model
<string>
The name of the model to create.path
<string>
: (Optional) The path to the Modelfile of the model to create.modelfile
<string>
: (Optional) The content of the Modelfile to create.stream
<boolean>
: (Optional) When true anAsyncGenerator
is returned.
- Returns:
<ProgressResponse>