Class FileSearchTool
-
- All Implemented Interfaces:
public final class FileSearchTool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
FileSearchTool.Builder
A builder for FileSearchTool.
public final class
FileSearchTool.FileSearch
Overrides for the file search tool.
-
Method Summary
Modifier and Type Method Description final JsonValue
_type()
The type of tool being defined: file_search
Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("file_search")
final Optional<FileSearchTool.FileSearch>
fileSearch()
Overrides for the file search tool. final JsonField<FileSearchTool.FileSearch>
_fileSearch()
Returns the raw JSON value of fileSearch. final Map<String, JsonValue>
_additionalProperties()
final FileSearchTool.Builder
toBuilder()
final FileSearchTool
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FileSearchTool.Builder
builder()
Returns a mutable builder for constructing an instance of FileSearchTool. -
-
Method Detail
-
_type
final JsonValue _type()
The type of tool being defined:
file_search
Expected to always return the following:
JsonValue.from("file_search")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
fileSearch
final Optional<FileSearchTool.FileSearch> fileSearch()
Overrides for the file search tool.
-
_fileSearch
final JsonField<FileSearchTool.FileSearch> _fileSearch()
Returns the raw JSON value of fileSearch.
Unlike fileSearch, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FileSearchTool.Builder toBuilder()
-
validate
final FileSearchTool validate()
-
builder
final static FileSearchTool.Builder builder()
Returns a mutable builder for constructing an instance of FileSearchTool.
-
-
-
-