Package com.openai.models
Class ToolCallDelta
-
- All Implemented Interfaces:
public final class ToolCallDelta
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
ToolCallDelta.Visitor
An interface that defines how to map each variant of ToolCallDelta to a value of type T.
-
Method Summary
-
-
Method Detail
-
codeInterpreter
final Optional<CodeInterpreterToolCallDelta> codeInterpreter()
Details of the Code Interpreter tool call the run step was involved in.
-
fileSearch
final Optional<FileSearchToolCallDelta> fileSearch()
-
function
final Optional<FunctionToolCallDelta> function()
-
isCodeInterpreter
final Boolean isCodeInterpreter()
-
isFileSearch
final Boolean isFileSearch()
-
isFunction
final Boolean isFunction()
-
asCodeInterpreter
final CodeInterpreterToolCallDelta asCodeInterpreter()
Details of the Code Interpreter tool call the run step was involved in.
-
asFileSearch
final FileSearchToolCallDelta asFileSearch()
-
asFunction
final FunctionToolCallDelta asFunction()
-
accept
final <T extends Any> T accept(ToolCallDelta.Visitor<T> visitor)
-
validate
final ToolCallDelta validate()
-
ofCodeInterpreter
final static ToolCallDelta ofCodeInterpreter(CodeInterpreterToolCallDelta codeInterpreter)
Details of the Code Interpreter tool call the run step was involved in.
-
ofFileSearch
final static ToolCallDelta ofFileSearch(FileSearchToolCallDelta fileSearch)
-
ofFunction
final static ToolCallDelta ofFunction(FunctionToolCallDelta function)
-
-
-
-