ee.carlrobert.llm.client.ollama.completion.response.OllamaChatCompletionMessageResponse 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 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;
}
}