Package com.openai.models
Class Thread.ToolResources
-
- All Implemented Interfaces:
public final class Thread.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Thread.ToolResources.Builder
public final class
Thread.ToolResources.CodeInterpreter
public final class
Thread.ToolResources.FileSearch
-
Method Summary
Modifier and Type Method Description final Optional<Thread.ToolResources.CodeInterpreter>
codeInterpreter()
final Optional<Thread.ToolResources.FileSearch>
fileSearch()
final JsonField<Thread.ToolResources.CodeInterpreter>
_codeInterpreter()
final JsonField<Thread.ToolResources.FileSearch>
_fileSearch()
final Map<String, JsonValue>
_additionalProperties()
final Thread.ToolResources
validate()
final Thread.ToolResources.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Thread.ToolResources.Builder
builder()
-
-
Method Detail
-
codeInterpreter
final Optional<Thread.ToolResources.CodeInterpreter> codeInterpreter()
-
fileSearch
final Optional<Thread.ToolResources.FileSearch> fileSearch()
-
_codeInterpreter
final JsonField<Thread.ToolResources.CodeInterpreter> _codeInterpreter()
-
_fileSearch
final JsonField<Thread.ToolResources.FileSearch> _fileSearch()
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final Thread.ToolResources validate()
-
toBuilder
final Thread.ToolResources.Builder toBuilder()
-
builder
final static Thread.ToolResources.Builder builder()
-
-
-
-