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