Package com.openai.models.vectorstores
Class VectorStoreSearchParams.RankingOptions
-
- All Implemented Interfaces:
public final class VectorStoreSearchParams.RankingOptionsRanking options for search.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVectorStoreSearchParams.RankingOptions.BuilderA builder for RankingOptions.
public final classVectorStoreSearchParams.RankingOptions.RankerEnable re-ranking; set to
noneto disable, which can help reduce latency.
-
Method Summary
Modifier and Type Method Description final Optional<VectorStoreSearchParams.RankingOptions.Ranker>ranker()Enable re-ranking; set to noneto disable, which can help reduce latency.final Optional<Double>scoreThreshold()final JsonField<VectorStoreSearchParams.RankingOptions.Ranker>_ranker()Returns the raw JSON value of ranker. final JsonField<Double>_scoreThreshold()Returns the raw JSON value of scoreThreshold. final Map<String, JsonValue>_additionalProperties()final VectorStoreSearchParams.RankingOptions.BuildertoBuilder()final VectorStoreSearchParams.RankingOptionsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VectorStoreSearchParams.RankingOptions.Builderbuilder()Returns a mutable builder for constructing an instance of RankingOptions. -
-
Method Detail
-
ranker
final Optional<VectorStoreSearchParams.RankingOptions.Ranker> ranker()
Enable re-ranking; set to
noneto disable, which can help reduce latency.
-
scoreThreshold
final Optional<Double> scoreThreshold()
-
_ranker
final JsonField<VectorStoreSearchParams.RankingOptions.Ranker> _ranker()
Returns the raw JSON value of ranker.
Unlike ranker, this method doesn't throw if the JSON field has an unexpected type.
-
_scoreThreshold
final JsonField<Double> _scoreThreshold()
Returns the raw JSON value of scoreThreshold.
Unlike scoreThreshold, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VectorStoreSearchParams.RankingOptions.Builder toBuilder()
-
validate
final VectorStoreSearchParams.RankingOptions validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static VectorStoreSearchParams.RankingOptions.Builder builder()
Returns a mutable builder for constructing an instance of RankingOptions.
-
-
-
-