ee.carlrobert.llm.client.openai.completion.request.OpenAIMessageContent 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.openai.completion.request;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
property = "type")
@JsonSubTypes({
@JsonSubTypes.Type(value = OpenAIMessageTextContent.class, name = "text"),
@JsonSubTypes.Type(value = OpenAIMessageImageURLContent.class, name = "image_url")})
public abstract class OpenAIMessageContent {
}