Package com.openai.models
Class FileSearchToolCall.FileSearch.Result
-
- All Implemented Interfaces:
public final class FileSearchToolCall.FileSearch.Result
A result instance of the file search.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
FileSearchToolCall.FileSearch.Result.Builder
A builder for Result.
public final class
FileSearchToolCall.FileSearch.Result.Content
-
Method Summary
Modifier and Type Method Description final String
fileId()
The ID of the file that result was found in. final String
fileName()
The name of the file that result was found in. final Double
score()
The score of the result. final Optional<List<FileSearchToolCall.FileSearch.Result.Content>>
content()
The content of the result that was found. final JsonField<String>
_fileId()
The ID of the file that result was found in. final JsonField<String>
_fileName()
The name of the file that result was found in. final JsonField<Double>
_score()
The score of the result. final JsonField<List<FileSearchToolCall.FileSearch.Result.Content>>
_content()
The content of the result that was found. final Map<String, JsonValue>
_additionalProperties()
final FileSearchToolCall.FileSearch.Result
validate()
final FileSearchToolCall.FileSearch.Result.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FileSearchToolCall.FileSearch.Result.Builder
builder()
-
-
Method Detail
-
score
final Double score()
The score of the result. All values must be a floating point number between 0 and 1.
-
content
final Optional<List<FileSearchToolCall.FileSearch.Result.Content>> content()
The content of the result that was found. The content is only included if requested via the include query parameter.
-
_score
final JsonField<Double> _score()
The score of the result. All values must be a floating point number between 0 and 1.
-
_content
final JsonField<List<FileSearchToolCall.FileSearch.Result.Content>> _content()
The content of the result that was found. The content is only included if requested via the include query parameter.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FileSearchToolCall.FileSearch.Result validate()
-
toBuilder
final FileSearchToolCall.FileSearch.Result.Builder toBuilder()
-
builder
final static FileSearchToolCall.FileSearch.Result.Builder builder()
-
-
-
-