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

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

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

import java.util.List;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class OllamaChatCompletionMessageResponse {

  private String role;
  private String content;
  private List images;

  public OllamaChatCompletionMessageResponse() {
  }

  public OllamaChatCompletionMessageResponse(@NotNull String role, @NotNull String content,
      @Nullable List images) {
    this.role = role;
    this.content = content;
    this.images = images;
  }

  @NotNull
  public String getRole() {
    return role;
  }

  public void setRole(@NotNull String role) {
    this.role = role;
  }

  @NotNull
  public String getContent() {
    return content;
  }

  public void setContent(@NotNull String content) {
    this.content = content;
  }

  @Nullable
  public List getImages() {
    return images;
  }

  public void setImages(@Nullable List images) {
    this.images = images;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy