All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ee.carlrobert.llm.client.ollama.completion.response.OllamaModelInfoResponse Maven / Gradle / Ivy

There is a newer version: 0.8.28
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy