Table of Contents

Class Model

Namespace
OllamaSharp.Models
Assembly
OllamaSharp.dll

Represents a model with its associated metadata.

public class Model
Inheritance
Model
Derived
Inherited Members

Properties

Details

Gets or sets additional details about the model.

[JsonPropertyName("details")]
public Details Details { get; set; }

Property Value

Details

Digest

Gets or sets a cryptographic hash of the model file.

[JsonPropertyName("digest")]
public string Digest { get; set; }

Property Value

string

ModifiedAt

Gets or sets the time the model was created or last modified.

[JsonPropertyName("modified_at")]
public DateTime ModifiedAt { get; set; }

Property Value

DateTime

Name

Gets or sets the name of the model.

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string

Size

Gets or sets the size of the model file in bytes.

[JsonPropertyName("size")]
public long Size { get; set; }

Property Value

long