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

io.github.sashirestela.openai.common.function.FunctionDef Maven / Gradle / Ivy

There is a newer version: 3.9.2
Show newest version
package io.github.sashirestela.openai.common.function;

import io.github.sashirestela.openai.support.JsonSchemaUtil;
import lombok.Builder;
import lombok.Getter;
import lombok.NonNull;

@Getter
@Builder
public class FunctionDef {

    @NonNull
    private String name;

    private String description;

    @NonNull
    private Class functionalClass;

    private Boolean strict;

    @Builder.Default
    private SchemaConverter schemaConverter = JsonSchemaUtil.defaultConverter;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy