Class PullModelResponse
- Namespace
- OllamaSharp.Models
- Assembly
- OllamaSharp.dll
Represents the streamed response from the /api/pull endpoint.
public class PullModelResponse
- Inheritance
-
PullModelResponse
- Inherited Members
Properties
Completed
Gets or sets the number of bytes pulled so far.
[JsonPropertyName("completed")]
public long Completed { get; set; }
Property Value
Digest
Gets or sets the hash of the model file.
[JsonPropertyName("digest")]
public string Digest { get; set; }
Property Value
Percent
Gets the percentage of the pull operation that has been completed.
[JsonIgnore]
public double Percent { get; }
Property Value
Status
Gets or sets the status of the pull operation.
[JsonPropertyName("status")]
public string Status { get; set; }
Property Value
Total
Gets or sets the total number of bytes to pull.
[JsonPropertyName("total")]
public long Total { get; set; }