1package io.github.ollama4j.models.ps;
3import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4import com.fasterxml.jackson.annotation.JsonProperty;
6import lombok.NoArgsConstructor;
12@JsonIgnoreProperties(ignoreUnknown =
true)
14 @JsonProperty(
"models")
15 private List<ModelProcess> models;
19 public static class ModelProcess {
23 @JsonProperty(
"model")
29 @JsonProperty(
"digest")
30 private String digest;
32 @JsonProperty(
"details")
33 private ModelDetails details;
35 @JsonProperty(
"expires_at")
36 private String expiresAt;
38 @JsonProperty(
"size_vram")
39 private long sizeVram;
44 public static class ModelDetails {
45 @JsonProperty(
"parent_model")
46 private String parentModel;
48 @JsonProperty(
"format")
49 private String format;
51 @JsonProperty(
"family")
52 private String family;
54 @JsonProperty(
"families")
55 private List<String> families;
57 @JsonProperty(
"parameter_size")
58 private String parameterSize;
60 @JsonProperty(
"quantization_level")
61 private String quantizationLevel;