Package com.openai.models.responses
Class FileSearchTool.RankingOptions.Builder
-
- All Implemented Interfaces:
public final class FileSearchTool.RankingOptions.Builder
A builder for RankingOptions.
-
-
Method Summary
-
-
Method Detail
-
ranker
final FileSearchTool.RankingOptions.Builder ranker(FileSearchTool.RankingOptions.Ranker ranker)
The ranker to use for the file search.
-
ranker
final FileSearchTool.RankingOptions.Builder ranker(JsonField<FileSearchTool.RankingOptions.Ranker> ranker)
The ranker to use for the file search.
-
scoreThreshold
final FileSearchTool.RankingOptions.Builder scoreThreshold(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.
-
scoreThreshold
final FileSearchTool.RankingOptions.Builder scoreThreshold(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 FileSearchTool.RankingOptions.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileSearchTool.RankingOptions.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileSearchTool.RankingOptions.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileSearchTool.RankingOptions.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileSearchTool.RankingOptions.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileSearchTool.RankingOptions build()
-
-
-
-