Package com.openai.models.beta.threads
Class ThreadUpdateParams.ToolResources
-
- All Implemented Interfaces:
public final class ThreadUpdateParams.ToolResourcesA 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_interpretertool requires a list of file IDs, while thefile_searchtool requires a list of vector store IDs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadUpdateParams.ToolResources.BuilderA builder for ToolResources.
public final classThreadUpdateParams.ToolResources.CodeInterpreterpublic final classThreadUpdateParams.ToolResources.FileSearch
-
Method Summary
Modifier and Type Method Description final Optional<ThreadUpdateParams.ToolResources.CodeInterpreter>codeInterpreter()final Optional<ThreadUpdateParams.ToolResources.FileSearch>fileSearch()final JsonField<ThreadUpdateParams.ToolResources.CodeInterpreter>_codeInterpreter()final JsonField<ThreadUpdateParams.ToolResources.FileSearch>_fileSearch()final Map<String, JsonValue>_additionalProperties()final ThreadUpdateParams.ToolResourcesvalidate()final ThreadUpdateParams.ToolResources.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThreadUpdateParams.ToolResources.Builderbuilder()Returns a mutable builder for constructing an instance of ToolResources. -
-
Method Detail
-
codeInterpreter
final Optional<ThreadUpdateParams.ToolResources.CodeInterpreter> codeInterpreter()
-
fileSearch
final Optional<ThreadUpdateParams.ToolResources.FileSearch> fileSearch()
-
_codeInterpreter
final JsonField<ThreadUpdateParams.ToolResources.CodeInterpreter> _codeInterpreter()
-
_fileSearch
final JsonField<ThreadUpdateParams.ToolResources.FileSearch> _fileSearch()
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ThreadUpdateParams.ToolResources validate()
-
toBuilder
final ThreadUpdateParams.ToolResources.Builder toBuilder()
-
builder
final static ThreadUpdateParams.ToolResources.Builder builder()
Returns a mutable builder for constructing an instance of ToolResources.
-
-
-
-