Class ResponseFileSearchToolCall.Result
-
- All Implemented Interfaces:
public final class ResponseFileSearchToolCall.Result
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseFileSearchToolCall.Result.Builder
A builder for Result.
public final class
ResponseFileSearchToolCall.Result.Attributes
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.
-
Method Summary
Modifier and Type Method Description final Optional<ResponseFileSearchToolCall.Result.Attributes>
attributes()
Set of 16 key-value pairs that can be attached to an object. final Optional<String>
fileId()
The unique ID of the file. final Optional<String>
filename()
The name of the file. final Optional<Double>
score()
The relevance score of the file - a value between 0 and 1. final Optional<String>
text()
The text that was retrieved from the file. final JsonField<ResponseFileSearchToolCall.Result.Attributes>
_attributes()
Returns the raw JSON value of attributes. final JsonField<String>
_fileId()
Returns the raw JSON value of fileId. final JsonField<String>
_filename()
Returns the raw JSON value of filename. final JsonField<Double>
_score()
Returns the raw JSON value of score. final JsonField<String>
_text()
Returns the raw JSON value of text. final Map<String, JsonValue>
_additionalProperties()
final ResponseFileSearchToolCall.Result.Builder
toBuilder()
final ResponseFileSearchToolCall.Result
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseFileSearchToolCall.Result.Builder
builder()
Returns a mutable builder for constructing an instance of Result. -
-
Method Detail
-
attributes
final Optional<ResponseFileSearchToolCall.Result.Attributes> attributes()
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.
-
_attributes
final JsonField<ResponseFileSearchToolCall.Result.Attributes> _attributes()
Returns the raw JSON value of attributes.
Unlike attributes, this method doesn't throw if the JSON field has an unexpected type.
-
_fileId
final JsonField<String> _fileId()
Returns the raw JSON value of fileId.
Unlike fileId, this method doesn't throw if the JSON field has an unexpected type.
-
_filename
final JsonField<String> _filename()
Returns the raw JSON value of filename.
Unlike filename, this method doesn't throw if the JSON field has an unexpected type.
-
_score
final JsonField<Double> _score()
Returns the raw JSON value of score.
Unlike score, this method doesn't throw if the JSON field has an unexpected type.
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseFileSearchToolCall.Result.Builder toBuilder()
-
validate
final ResponseFileSearchToolCall.Result validate()
-
builder
final static ResponseFileSearchToolCall.Result.Builder builder()
Returns a mutable builder for constructing an instance of Result.
-
-
-
-