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

io.github.sashirestela.openai.common.tool.ToolCall Maven / Gradle / Ivy

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

import io.github.sashirestela.openai.common.function.FunctionCall;
import io.github.sashirestela.slimvalidator.constraints.Required;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

@AllArgsConstructor
@NoArgsConstructor
@Getter
@ToString
public class ToolCall {

    private Integer index;

    @Required
    private String id;

    @Required
    private ToolType type;

    @Required
    private FunctionCall function;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy