Package com.openai.models
Class ToolCall
-
- All Implemented Interfaces:
public final class ToolCall
Details of the Code Interpreter tool call the run step was involved in.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
ToolCall.Visitor
public final class
ToolCall.Deserializer
public final class
ToolCall.Serializer
-
Method Summary
-
-
Method Detail
-
codeInterpreterToolCall
final Optional<CodeInterpreterToolCall> codeInterpreterToolCall()
Details of the Code Interpreter tool call the run step was involved in.
-
fileSearchToolCall
final Optional<FileSearchToolCall> fileSearchToolCall()
-
functionToolCall
final Optional<FunctionToolCall> functionToolCall()
-
isCodeInterpreterToolCall
final Boolean isCodeInterpreterToolCall()
-
isFileSearchToolCall
final Boolean isFileSearchToolCall()
-
isFunctionToolCall
final Boolean isFunctionToolCall()
-
asCodeInterpreterToolCall
final CodeInterpreterToolCall asCodeInterpreterToolCall()
Details of the Code Interpreter tool call the run step was involved in.
-
asFileSearchToolCall
final FileSearchToolCall asFileSearchToolCall()
-
asFunctionToolCall
final FunctionToolCall asFunctionToolCall()
-
accept
final <T extends Any> T accept(ToolCall.Visitor<T> visitor)
-
ofCodeInterpreterToolCall
final static ToolCall ofCodeInterpreterToolCall(CodeInterpreterToolCall codeInterpreterToolCall)
Details of the Code Interpreter tool call the run step was involved in.
-
ofFileSearchToolCall
final static ToolCall ofFileSearchToolCall(FileSearchToolCall fileSearchToolCall)
-
ofFunctionToolCall
final static ToolCall ofFunctionToolCall(FunctionToolCall functionToolCall)
-
-
-
-