com.launchableinc.openai.runs.ToolCall 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
The newest version!
package com.launchableinc.openai.runs;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Map;
/**
* @description:
* @author: vacuity
* @create: 2023-11-16 22:32
**/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ToolCall {
private String id;
private String type;
@JsonProperty("code_interpreter")
private ToolCallCodeInterpreter codeInterpreter;
private Map retrieval;
private ToolCallFunction function;
}