All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.theokanning.openai.completion.chat.ChatFunctionProperty Maven / Gradle / Ivy

package com.theokanning.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 - 2025 Weber Informatics LLC | Privacy Policy