Package com.openai.models.beta.threads
Class ThreadUpdateParams.ToolResources.CodeInterpreter.Builder
-
- All Implemented Interfaces:
public final class ThreadUpdateParams.ToolResources.CodeInterpreter.Builder
A builder for CodeInterpreter.
-
-
Method Summary
-
-
Method Detail
-
fileIds
final ThreadUpdateParams.ToolResources.CodeInterpreter.Builder fileIds(List<String> fileIds)
A list of file IDs made available to the
code_interpreter
tool. There can be a maximum of 20 files associated with the tool.
-
fileIds
final ThreadUpdateParams.ToolResources.CodeInterpreter.Builder fileIds(JsonField<List<String>> fileIds)
Sets Builder.fileIds to an arbitrary JSON value.
You should usually call Builder.fileIds with a well-typed
List<String>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addFileId
final ThreadUpdateParams.ToolResources.CodeInterpreter.Builder addFileId(String fileId)
-
additionalProperties
final ThreadUpdateParams.ToolResources.CodeInterpreter.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ThreadUpdateParams.ToolResources.CodeInterpreter.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ThreadUpdateParams.ToolResources.CodeInterpreter.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ThreadUpdateParams.ToolResources.CodeInterpreter.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ThreadUpdateParams.ToolResources.CodeInterpreter.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ThreadUpdateParams.ToolResources.CodeInterpreter build()
Returns an immutable instance of CodeInterpreter.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-