Class ToolCallDeltaObject.Builder
-
- All Implemented Interfaces:
public final class ToolCallDeltaObject.Builder
-
-
Constructor Summary
Constructors Constructor Description ToolCallDeltaObject.Builder()
-
Method Summary
-
-
Method Detail
-
type
final ToolCallDeltaObject.Builder type(ToolCallDeltaObject.Type type)
Always
tool_calls
.
-
type
final ToolCallDeltaObject.Builder type(JsonField<ToolCallDeltaObject.Type> 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 codeInterpreterToolCallDelta)
Details of the Code Interpreter tool call the run step was involved in.
-
addToolCall
final ToolCallDeltaObject.Builder addToolCall(FileSearchToolCallDelta fileSearchToolCallDelta)
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 functionToolCallDelta)
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()
-
-
-
-