ee.carlrobert.llm.client.anthropic.completion.ClaudeMessageImageContent 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.anthropic.completion;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* Messages with image content are supported starting with Claude 3 models.
*/
@JsonTypeName("image")
public class ClaudeMessageImageContent extends ClaudeMessageContent {
private ClaudeSource source;
public ClaudeMessageImageContent() {
}
public ClaudeSource getSource() {
return source;
}
public ClaudeMessageImageContent(ClaudeSource source) {
this.source = source;
}
}