Package com.openai.models.beta.threads
Class ThreadCreateAndRunParams.Thread.ToolResources.Builder
-
- All Implemented Interfaces:
public final class ThreadCreateAndRunParams.Thread.ToolResources.Builder
A builder for ToolResources.
-
-
Method Summary
-
-
Method Detail
-
codeInterpreter
final ThreadCreateAndRunParams.Thread.ToolResources.Builder codeInterpreter(ThreadCreateAndRunParams.Thread.ToolResources.CodeInterpreter codeInterpreter)
-
codeInterpreter
final ThreadCreateAndRunParams.Thread.ToolResources.Builder codeInterpreter(JsonField<ThreadCreateAndRunParams.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 ThreadCreateAndRunParams.Thread.ToolResources.Builder fileSearch(ThreadCreateAndRunParams.Thread.ToolResources.FileSearch fileSearch)
-
fileSearch
final ThreadCreateAndRunParams.Thread.ToolResources.Builder fileSearch(JsonField<ThreadCreateAndRunParams.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 ThreadCreateAndRunParams.Thread.ToolResources.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ThreadCreateAndRunParams.Thread.ToolResources.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ThreadCreateAndRunParams.Thread.ToolResources.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ThreadCreateAndRunParams.Thread.ToolResources.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ThreadCreateAndRunParams.Thread.ToolResources.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ThreadCreateAndRunParams.Thread.ToolResources build()
Returns an immutable instance of ToolResources.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-