Class VectorStoreSearchParams
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            com.openai.core.Params
 
 public final class VectorStoreSearchParams implements Params Search a vector store for relevant chunks based on a query and file attributes filter. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classVectorStoreSearchParams.BuilderA builder for VectorStoreSearchParams. public final classVectorStoreSearchParams.Bodypublic final classVectorStoreSearchParams.QueryA query string for a search public final classVectorStoreSearchParams.FiltersA filter to apply based on file attributes. public final classVectorStoreSearchParams.RankingOptionsRanking options for search. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<String>vectorStoreId()final VectorStoreSearchParams.Queryquery()A query string for a search final Optional<VectorStoreSearchParams.Filters>filters()A filter to apply based on file attributes. final Optional<Long>maxNumResults()The maximum number of results to return. final Optional<VectorStoreSearchParams.RankingOptions>rankingOptions()Ranking options for search. final Optional<Boolean>rewriteQuery()Whether to rewrite the natural language query for vector search. final JsonField<VectorStoreSearchParams.Query>_query()Returns the raw JSON value of query. final JsonField<VectorStoreSearchParams.Filters>_filters()Returns the raw JSON value of filters. final JsonField<Long>_maxNumResults()Returns the raw JSON value of maxNumResults. final JsonField<VectorStoreSearchParams.RankingOptions>_rankingOptions()Returns the raw JSON value of rankingOptions. final JsonField<Boolean>_rewriteQuery()Returns the raw JSON value of rewriteQuery. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final VectorStoreSearchParams.BuildertoBuilder()final VectorStoreSearchParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static VectorStoreSearchParams.Builderbuilder()Returns a mutable builder for constructing an instance of VectorStoreSearchParams. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        vectorStoreIdfinal Optional<String> vectorStoreId() 
 - 
                                        queryfinal VectorStoreSearchParams.Query query() A query string for a search 
 - 
                                        filtersfinal Optional<VectorStoreSearchParams.Filters> filters() A filter to apply based on file attributes. 
 - 
                                        maxNumResultsfinal Optional<Long> maxNumResults() The maximum number of results to return. This number should be between 1 and 50 inclusive. 
 - 
                                        rankingOptionsfinal Optional<VectorStoreSearchParams.RankingOptions> rankingOptions() Ranking options for search. 
 - 
                                        rewriteQueryfinal Optional<Boolean> rewriteQuery() Whether to rewrite the natural language query for vector search. 
 - 
                                        _queryfinal JsonField<VectorStoreSearchParams.Query> _query() Returns the raw JSON value of query. Unlike query, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _filtersfinal JsonField<VectorStoreSearchParams.Filters> _filters() Returns the raw JSON value of filters. Unlike filters, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _maxNumResultsfinal JsonField<Long> _maxNumResults() Returns the raw JSON value of maxNumResults. Unlike maxNumResults, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _rankingOptionsfinal JsonField<VectorStoreSearchParams.RankingOptions> _rankingOptions() Returns the raw JSON value of rankingOptions. Unlike rankingOptions, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _rewriteQueryfinal JsonField<Boolean> _rewriteQuery() Returns the raw JSON value of rewriteQuery. Unlike rewriteQuery, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalBodyPropertiesfinal Map<String, JsonValue> _additionalBodyProperties() 
 - 
                                        _additionalHeadersfinal Headers _additionalHeaders() Additional headers to send with the request. 
 - 
                                        _additionalQueryParamsfinal QueryParams _additionalQueryParams() Additional query param to send with the request. 
 - 
                                        toBuilderfinal VectorStoreSearchParams.Builder toBuilder() 
 - 
                                        _bodyfinal VectorStoreSearchParams.Body _body() 
 - 
                                        _pathParamfinal String _pathParam(Integer index) 
 - 
                                        _headersHeaders _headers() The full set of headers in the parameters, including both fixed and additional headers. 
 - 
                                        _queryParamsQueryParams _queryParams() The full set of query params in the parameters, including both fixed and additional query params. 
 - 
                                        builderfinal static VectorStoreSearchParams.Builder builder() Returns a mutable builder for constructing an instance of VectorStoreSearchParams. The following fields are required: .query()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-