Class ResponseFileSearchToolCall.Result
-
- All Implemented Interfaces:
public final class ResponseFileSearchToolCall.Result
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseFileSearchToolCall.Result.BuilderA builder for Result.
public final classResponseFileSearchToolCall.Result.AttributesSet 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()Set of 16 key-value pairs that can be attached to an object. final JsonField<String>_fileId()The unique ID of the file. final JsonField<String>_filename()The name of the file. final JsonField<Double>_score()The relevance score of the file - a value between 0 and 1. final JsonField<String>_text()The text that was retrieved from the file. final Map<String, JsonValue>_additionalProperties()final ResponseFileSearchToolCall.Resultvalidate()final ResponseFileSearchToolCall.Result.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseFileSearchToolCall.Result.Builderbuilder()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()
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseFileSearchToolCall.Result validate()
-
toBuilder
final ResponseFileSearchToolCall.Result.Builder toBuilder()
-
builder
final static ResponseFileSearchToolCall.Result.Builder builder()
Returns a mutable builder for constructing an instance of Result.
-
-
-
-