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