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