Class PullModelRequest
- Namespace
- OllamaSharp.Models
- Assembly
- OllamaSharp.dll
Download a model from the ollama library. Cancelled pulls are resumed from where they left off, and multiple calls will share the same download progress.
public class PullModelRequest : OllamaRequest
- Inheritance
-
PullModelRequest
- Inherited Members
Properties
Insecure
Gets or sets a value indicating whether to allow insecure connections to the library. Only use this if you are pulling from your own library during development.
[JsonPropertyName("insecure")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? Insecure { get; set; }
Property Value
- bool?
Model
Gets or sets the name of the model to pull.
[JsonPropertyName("model")]
public string? Model { get; set; }
Property Value
Stream
Gets or sets a value indicating whether to stream the response.
[JsonPropertyName("stream")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? Stream { get; set; }
Property Value
- bool?