Class BetaThreadUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class BetaThreadUpdateParams.Body.Builder
A builder for Body.
-
-
Method Summary
-
-
Method Detail
-
metadata
final BetaThreadUpdateParams.Body.Builder metadata(Metadata 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, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
metadata
final BetaThreadUpdateParams.Body.Builder metadata(Optional<Metadata> 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, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
metadata
final BetaThreadUpdateParams.Body.Builder metadata(JsonField<Metadata> 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, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
toolResources
final BetaThreadUpdateParams.Body.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.Body.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.Body.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.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaThreadUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaThreadUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaThreadUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaThreadUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaThreadUpdateParams.Body build()
-
-
-
-