com.launchableinc.openai.completion.chat.ChatFunctionProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Basic java objects for the OpenAI GPT APIs
package com.launchableinc.openai.completion.chat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;
import lombok.NonNull;
import java.util.Set;
@Data
@Builder
public class ChatFunctionProperty {
@NonNull
@JsonIgnore
private String name;
@NonNull
private String type;
@JsonIgnore
private Boolean required;
private String description;
private ChatFunctionProperty items;
@JsonProperty("enum")
private Set> enumValues;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy