Class VectorStoreSearchParams.Body
-
- All Implemented Interfaces:
public final class VectorStoreSearchParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
VectorStoreSearchParams.Body.Builder
A builder for Body.
-
Method Summary
-
-
Method Detail
-
query
final VectorStoreSearchParams.Query query()
A query string for a search
-
filters
final Optional<VectorStoreSearchParams.Filters> filters()
A filter to apply based on file attributes.
-
maxNumResults
final Optional<Long> maxNumResults()
The maximum number of results to return. This number should be between 1 and 50 inclusive.
-
rankingOptions
final Optional<VectorStoreSearchParams.RankingOptions> rankingOptions()
Ranking options for search.
-
rewriteQuery
final Optional<Boolean> rewriteQuery()
Whether to rewrite the natural language query for vector search.
-
_query
final 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.
-
_filters
final 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.
-
_maxNumResults
final 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.
-
_rankingOptions
final 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.
-
_rewriteQuery
final 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VectorStoreSearchParams.Body.Builder toBuilder()
-
validate
final VectorStoreSearchParams.Body validate()
-
builder
final static VectorStoreSearchParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.query()
-
-
-
-