Package com.openai.models
Class FileSearchTool.FileSearch.RankingOptions
-
- All Implemented Interfaces:
public final class FileSearchTool.FileSearch.RankingOptions
The ranking options for the file search. If not specified, the file search tool will use the
auto
ranker and a score_threshold of 0.See the file search tool documentation for more information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
FileSearchTool.FileSearch.RankingOptions.Builder
A builder for RankingOptions.
public final class
FileSearchTool.FileSearch.RankingOptions.Ranker
The ranker to use for the file search. If not specified will use the
auto
ranker.
-
Method Summary
Modifier and Type Method Description final Double
scoreThreshold()
The score threshold for the file search. final Optional<FileSearchTool.FileSearch.RankingOptions.Ranker>
ranker()
The ranker to use for the file search. final JsonField<Double>
_scoreThreshold()
The score threshold for the file search. final JsonField<FileSearchTool.FileSearch.RankingOptions.Ranker>
_ranker()
The ranker to use for the file search. final Map<String, JsonValue>
_additionalProperties()
final FileSearchTool.FileSearch.RankingOptions
validate()
final FileSearchTool.FileSearch.RankingOptions.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FileSearchTool.FileSearch.RankingOptions.Builder
builder()
-
-
Method Detail
-
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 Optional<FileSearchTool.FileSearch.RankingOptions.Ranker> ranker()
The ranker to use for the file search. If not specified will use the
auto
ranker.
-
_scoreThreshold
final JsonField<Double> _scoreThreshold()
The score threshold for the file search. All values must be a floating point number between 0 and 1.
-
_ranker
final JsonField<FileSearchTool.FileSearch.RankingOptions.Ranker> _ranker()
The ranker to use for the file search. If not specified will use the
auto
ranker.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FileSearchTool.FileSearch.RankingOptions validate()
-
toBuilder
final FileSearchTool.FileSearch.RankingOptions.Builder toBuilder()
-
builder
final static FileSearchTool.FileSearch.RankingOptions.Builder builder()
-
-
-
-