Package com.openai.models.responses
Class FileSearchTool.RankingOptions
-
- All Implemented Interfaces:
public final class FileSearchTool.RankingOptionsRanking options for search.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileSearchTool.RankingOptions.BuilderA builder for RankingOptions.
public final classFileSearchTool.RankingOptions.RankerThe ranker to use for the file search.
-
Method Summary
Modifier and Type Method Description final Optional<FileSearchTool.RankingOptions.Ranker>ranker()The ranker to use for the file search. final Optional<Double>scoreThreshold()The score threshold for the file search, a number between 0 and 1. final JsonField<FileSearchTool.RankingOptions.Ranker>_ranker()The ranker to use for the file search. final JsonField<Double>_scoreThreshold()The score threshold for the file search, a number between 0 and 1. final Map<String, JsonValue>_additionalProperties()final FileSearchTool.RankingOptionsvalidate()final FileSearchTool.RankingOptions.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileSearchTool.RankingOptions.Builderbuilder()Returns a mutable builder for constructing an instance of RankingOptions. -
-
Method Detail
-
ranker
final Optional<FileSearchTool.RankingOptions.Ranker> ranker()
The ranker to use for the file search.
-
scoreThreshold
final Optional<Double> scoreThreshold()
The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.
-
_ranker
final JsonField<FileSearchTool.RankingOptions.Ranker> _ranker()
The ranker to use for the file search.
-
_scoreThreshold
final JsonField<Double> _scoreThreshold()
The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FileSearchTool.RankingOptions validate()
-
toBuilder
final FileSearchTool.RankingOptions.Builder toBuilder()
-
builder
final static FileSearchTool.RankingOptions.Builder builder()
Returns a mutable builder for constructing an instance of RankingOptions.
-
-
-
-