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

ee.carlrobert.llm.client.ollama.completion.request.OllamaPullRequest Maven / Gradle / Ivy

There is a newer version: 0.8.28
Show newest version
package ee.carlrobert.llm.client.ollama.completion.request;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

/*
 * See ollama/api
 */
@JsonInclude(Include.NON_NULL)
public class OllamaPullRequest {

  private final String name;
  private final boolean stream;

  public OllamaPullRequest(String name, boolean stream) {
    this.name = name;
    this.stream = stream;
  }

  public String getName() {
    return name;
  }

  public boolean isStream() {
    return stream;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy