Class ToolCallDeltaObject.Builder
-
- All Implemented Interfaces:
public final class ToolCallDeltaObject.Builder
A builder for ToolCallDeltaObject.
-
-
Method Summary
-
-
Method Detail
-
type
final ToolCallDeltaObject.Builder type(JsonValue type)
Always
tool_calls
.
-
toolCalls
final ToolCallDeltaObject.Builder toolCalls(List<ToolCallDelta> toolCalls)
An array of tool calls the run step was involved in. These can be associated with one of three types of tools:
code_interpreter
,file_search
, orfunction
.
-
toolCalls
final ToolCallDeltaObject.Builder toolCalls(JsonField<List<ToolCallDelta>> toolCalls)
An array of tool calls the run step was involved in. These can be associated with one of three types of tools:
code_interpreter
,file_search
, orfunction
.
-
addToolCall
final ToolCallDeltaObject.Builder addToolCall(ToolCallDelta toolCall)
An array of tool calls the run step was involved in. These can be associated with one of three types of tools:
code_interpreter
,file_search
, orfunction
.
-
addToolCall
final ToolCallDeltaObject.Builder addToolCall(CodeInterpreterToolCallDelta codeInterpreter)
Details of the Code Interpreter tool call the run step was involved in.
-
addToolCall
final ToolCallDeltaObject.Builder addToolCall(FileSearchToolCallDelta fileSearch)
An array of tool calls the run step was involved in. These can be associated with one of three types of tools:
code_interpreter
,file_search
, orfunction
.
-
addToolCall
final ToolCallDeltaObject.Builder addToolCall(FunctionToolCallDelta function)
An array of tool calls the run step was involved in. These can be associated with one of three types of tools:
code_interpreter
,file_search
, orfunction
.
-
addCodeInterpreterToolCall
final ToolCallDeltaObject.Builder addCodeInterpreterToolCall(Long index)
Details of the Code Interpreter tool call the run step was involved in.
-
addFunctionToolCall
final ToolCallDeltaObject.Builder addFunctionToolCall(Long index)
An array of tool calls the run step was involved in. These can be associated with one of three types of tools:
code_interpreter
,file_search
, orfunction
.
-
additionalProperties
final ToolCallDeltaObject.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ToolCallDeltaObject.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ToolCallDeltaObject.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ToolCallDeltaObject.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ToolCallDeltaObject.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ToolCallDeltaObject build()
-
-
-
-