Package com.openai.models.vectorstores
        Class VectorStoreSearchParams.RankingOptions.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class VectorStoreSearchParams.RankingOptions.BuilderA builder for RankingOptions.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
ranker
final VectorStoreSearchParams.RankingOptions.Builder ranker(VectorStoreSearchParams.RankingOptions.Ranker ranker)
Enable re-ranking; set to
noneto disable, which can help reduce latency. 
- 
                                        
ranker
final VectorStoreSearchParams.RankingOptions.Builder ranker(JsonField<VectorStoreSearchParams.RankingOptions.Ranker> ranker)
Sets Builder.ranker to an arbitrary JSON value.
You should usually call Builder.ranker with a well-typed Ranker value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
scoreThreshold
final VectorStoreSearchParams.RankingOptions.Builder scoreThreshold(Double scoreThreshold)
 
- 
                                        
scoreThreshold
final VectorStoreSearchParams.RankingOptions.Builder scoreThreshold(JsonField<Double> scoreThreshold)
Sets Builder.scoreThreshold to an arbitrary JSON value.
You should usually call Builder.scoreThreshold with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final VectorStoreSearchParams.RankingOptions.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final VectorStoreSearchParams.RankingOptions.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final VectorStoreSearchParams.RankingOptions.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final VectorStoreSearchParams.RankingOptions.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final VectorStoreSearchParams.RankingOptions.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final VectorStoreSearchParams.RankingOptions build()
Returns an immutable instance of RankingOptions.
Further updates to this Builder will not mutate the returned instance.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -