OllamaClient.createModel

Creates a custom model from a modelfile.

class OllamaClient
@safe
JSONValue
createModel
(
string name
,
string modelfile
)

Parameters

name string

New model name.

modelfile string

Modelfile content string.

Return Value

Type: JSONValue

A JSONValue with creation status.

Meta