Package com.openai.models.beta.threads
Class Thread.ToolResources.Builder
-
- All Implemented Interfaces:
public final class Thread.ToolResources.Builder
A builder for ToolResources.
-
-
Method Summary
-
-
Method Detail
-
codeInterpreter
final Thread.ToolResources.Builder codeInterpreter(Thread.ToolResources.CodeInterpreter codeInterpreter)
-
codeInterpreter
final Thread.ToolResources.Builder codeInterpreter(JsonField<Thread.ToolResources.CodeInterpreter> codeInterpreter)
Sets Builder.codeInterpreter to an arbitrary JSON value.
You should usually call Builder.codeInterpreter with a well-typed CodeInterpreter value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileSearch
final Thread.ToolResources.Builder fileSearch(Thread.ToolResources.FileSearch fileSearch)
-
fileSearch
final Thread.ToolResources.Builder fileSearch(JsonField<Thread.ToolResources.FileSearch> fileSearch)
Sets Builder.fileSearch to an arbitrary JSON value.
You should usually call Builder.fileSearch with a well-typed FileSearch value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Thread.ToolResources.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Thread.ToolResources.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Thread.ToolResources.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Thread.ToolResources.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Thread.ToolResources.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Thread.ToolResources build()
Returns an immutable instance of ToolResources.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-