1package io.github.ollama4j.models.request;
4import com.fasterxml.jackson.annotation.JsonInclude;
5import com.fasterxml.jackson.annotation.JsonProperty;
6import com.fasterxml.jackson.core.JsonProcessingException;
7import com.fasterxml.jackson.databind.annotation.JsonSerialize;
9import io.github.ollama4j.utils.BooleanToJsonFormatFlagSerializer;
10import io.github.ollama4j.utils.Utils;
14@JsonInclude(JsonInclude.Include.NON_NULL)
19 @JsonProperty(value =
"format")
24 @JsonProperty(value =
"keep_alive")
31 }
catch (JsonProcessingException e) {
32 throw new RuntimeException(e);
Map< String, Object > options
static ObjectMapper getObjectMapper()