Package com.openai.models.beta.threads
Class Thread.ToolResources.CodeInterpreter
-
- All Implemented Interfaces:
public final class Thread.ToolResources.CodeInterpreter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Thread.ToolResources.CodeInterpreter.Builder
A builder for CodeInterpreter.
-
Method Summary
Modifier and Type Method Description final Optional<List<String>>
fileIds()
A list of file IDs made available to the code_interpreter
tool.final JsonField<List<String>>
_fileIds()
Returns the raw JSON value of fileIds. final Map<String, JsonValue>
_additionalProperties()
final Thread.ToolResources.CodeInterpreter.Builder
toBuilder()
final Thread.ToolResources.CodeInterpreter
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Thread.ToolResources.CodeInterpreter.Builder
builder()
Returns a mutable builder for constructing an instance of CodeInterpreter. -
-
Method Detail
-
fileIds
final Optional<List<String>> fileIds()
A list of file IDs made available to the
code_interpreter
tool. There can be a maximum of 20 files associated with the tool.
-
_fileIds
final JsonField<List<String>> _fileIds()
Returns the raw JSON value of fileIds.
Unlike fileIds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Thread.ToolResources.CodeInterpreter.Builder toBuilder()
-
validate
final Thread.ToolResources.CodeInterpreter validate()
-
builder
final static Thread.ToolResources.CodeInterpreter.Builder builder()
Returns a mutable builder for constructing an instance of CodeInterpreter.
-
-
-
-