Class FileSearchToolCall.FileSearch.RankingOptions
-
- All Implemented Interfaces:
public final class FileSearchToolCall.FileSearch.RankingOptionsThe ranking options for the file search.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileSearchToolCall.FileSearch.RankingOptions.BuilderA builder for RankingOptions.
public final classFileSearchToolCall.FileSearch.RankingOptions.RankerThe ranker to use for the file search. If not specified will use the
autoranker.
-
Method Summary
Modifier and Type Method Description final FileSearchToolCall.FileSearch.RankingOptions.Rankerranker()The ranker to use for the file search. final DoublescoreThreshold()The score threshold for the file search. final JsonField<FileSearchToolCall.FileSearch.RankingOptions.Ranker>_ranker()The ranker to use for the file search. final JsonField<Double>_scoreThreshold()The score threshold for the file search. final Map<String, JsonValue>_additionalProperties()final FileSearchToolCall.FileSearch.RankingOptionsvalidate()final FileSearchToolCall.FileSearch.RankingOptions.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileSearchToolCall.FileSearch.RankingOptions.Builderbuilder()Returns a mutable builder for constructing an instance of RankingOptions. -
-
Method Detail
-
ranker
final FileSearchToolCall.FileSearch.RankingOptions.Ranker ranker()
The ranker to use for the file search. If not specified will use the
autoranker.
-
scoreThreshold
final Double scoreThreshold()
The score threshold for the file search. All values must be a floating point number between 0 and 1.
-
_ranker
final JsonField<FileSearchToolCall.FileSearch.RankingOptions.Ranker> _ranker()
The ranker to use for the file search. If not specified will use the
autoranker.
-
_scoreThreshold
final JsonField<Double> _scoreThreshold()
The score threshold for the file search. All values must be a floating point number between 0 and 1.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FileSearchToolCall.FileSearch.RankingOptions validate()
-
toBuilder
final FileSearchToolCall.FileSearch.RankingOptions.Builder toBuilder()
-
builder
final static FileSearchToolCall.FileSearch.RankingOptions.Builder builder()
Returns a mutable builder for constructing an instance of RankingOptions.
The following fields are required:
.ranker() .scoreThreshold()
-
-
-
-