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

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

There is a newer version: 0.4.0
Show newest version
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