OllamaClient.pull

Downloads a model from the Ollama registry.

class OllamaClient
@safe
JSONValue
pull
(
string name
,
bool stream = false
)

Parameters

name string

Model name to pull.

stream bool

Whether to stream progress (not fully supported).

Return Value

Type: JSONValue

A JSONValue with pull status.

Meta