Class BetaThreadUpdateParams.BetaThreadUpdateBody.Builder
-
- All Implemented Interfaces:
public final class BetaThreadUpdateParams.BetaThreadUpdateBody.Builder
-
-
Constructor Summary
Constructors Constructor Description BetaThreadUpdateParams.BetaThreadUpdateBody.Builder()
-
Method Summary
-
-
Method Detail
-
metadata
final BetaThreadUpdateParams.BetaThreadUpdateBody.Builder metadata(JsonValue metadata)
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
-
toolResources
final BetaThreadUpdateParams.BetaThreadUpdateBody.Builder toolResources(BetaThreadUpdateParams.ToolResources toolResources)
A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the
code_interpreter
tool requires a list of file IDs, while thefile_search
tool requires a list of vector store IDs.
-
toolResources
final BetaThreadUpdateParams.BetaThreadUpdateBody.Builder toolResources(Optional<BetaThreadUpdateParams.ToolResources> toolResources)
A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the
code_interpreter
tool requires a list of file IDs, while thefile_search
tool requires a list of vector store IDs.
-
toolResources
final BetaThreadUpdateParams.BetaThreadUpdateBody.Builder toolResources(JsonField<BetaThreadUpdateParams.ToolResources> toolResources)
A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the
code_interpreter
tool requires a list of file IDs, while thefile_search
tool requires a list of vector store IDs.
-
additionalProperties
final BetaThreadUpdateParams.BetaThreadUpdateBody.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaThreadUpdateParams.BetaThreadUpdateBody.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaThreadUpdateParams.BetaThreadUpdateBody.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaThreadUpdateParams.BetaThreadUpdateBody.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaThreadUpdateParams.BetaThreadUpdateBody.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaThreadUpdateParams.BetaThreadUpdateBody build()
-
-
-
-