ee.carlrobert.llm.client.ollama.completion.response.OllamaModelInfoResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of llm-client Show documentation
Show all versions of llm-client Show documentation
Java http client wrapped around the OkHttp3 library
package ee.carlrobert.llm.client.ollama.completion.response;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import ee.carlrobert.llm.client.ollama.completion.response.OllamaModel.OllamaModelDetails;
/**
* see ollama/api.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class OllamaModelInfoResponse {
private String modelfile;
private String parameters;
private String template;
private OllamaModelDetails details;
public String getModelfile() {
return modelfile;
}
public void setModelfile(String modelfile) {
this.modelfile = modelfile;
}
public String getParameters() {
return parameters;
}
public void setParameters(String parameters) {
this.parameters = parameters;
}
public String getTemplate() {
return template;
}
public void setTemplate(String template) {
this.template = template;
}
public OllamaModelDetails getDetails() {
return details;
}
public void setDetails(OllamaModelDetails details) {
this.details = details;
}
}