io.github.sashirestela.openai.domain.assistant.ThreadMessageRole Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simple-openai Show documentation
Show all versions of simple-openai Show documentation
A Java library to use the OpenAI API in the simplest possible way.
package io.github.sashirestela.openai.domain.assistant;
import com.fasterxml.jackson.annotation.JsonProperty;
public enum ThreadMessageRole {
@JsonProperty("user")
USER,
@JsonProperty("assistant")
ASSISTANT;
}