Package com.openai.models
Class FileSearchTool.FileSearch.RankingOptions.Builder
-
- All Implemented Interfaces:
public final class FileSearchTool.FileSearch.RankingOptions.Builder
A builder for RankingOptions.
-
-
Method Summary
-
-
Method Detail
-
scoreThreshold
final FileSearchTool.FileSearch.RankingOptions.Builder scoreThreshold(Double scoreThreshold)
The score threshold for the file search. All values must be a floating point number between 0 and 1.
-
scoreThreshold
final FileSearchTool.FileSearch.RankingOptions.Builder scoreThreshold(JsonField<Double> scoreThreshold)
The score threshold for the file search. All values must be a floating point number between 0 and 1.
-
ranker
final FileSearchTool.FileSearch.RankingOptions.Builder ranker(FileSearchTool.FileSearch.RankingOptions.Ranker ranker)
The ranker to use for the file search. If not specified will use the
auto
ranker.
-
ranker
final FileSearchTool.FileSearch.RankingOptions.Builder ranker(JsonField<FileSearchTool.FileSearch.RankingOptions.Ranker> ranker)
The ranker to use for the file search. If not specified will use the
auto
ranker.
-
additionalProperties
final FileSearchTool.FileSearch.RankingOptions.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileSearchTool.FileSearch.RankingOptions.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileSearchTool.FileSearch.RankingOptions.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileSearchTool.FileSearch.RankingOptions.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileSearchTool.FileSearch.RankingOptions.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileSearchTool.FileSearch.RankingOptions build()
-
-
-
-