9package io.github.ollama4j.models.response;
11import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
12import com.fasterxml.jackson.annotation.JsonProperty;
13import com.fasterxml.jackson.core.JsonProcessingException;
14import io.github.ollama4j.utils.Utils;
18@JsonIgnoreProperties(ignoreUnknown =
true)
20 private String license;
22 @JsonProperty(
"modelfile")
23 private String modelFile;
25 private String parameters;
26 private String
template;
27 private String system;
34 .writerWithDefaultPrettyPrinter()
35 .writeValueAsString(
this);
36 }
catch (JsonProcessingException e) {
37 throw new RuntimeException(e);
static ObjectMapper getObjectMapper()