Class VectorStoreSearchPageResponse
-
- All Implemented Interfaces:
public final class VectorStoreSearchPageResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVectorStoreSearchPageResponse.BuilderA builder for VectorStoreSearchPageResponse.
-
Method Summary
Modifier and Type Method Description final List<VectorStoreSearchResponse>data()The list of search result items. final BooleanhasMore()Indicates if there are more results to fetch. final Optional<String>nextPage()The token for the next page, if any. final JsonValue_object_()The object type, which is always vector_store.search_results.pageExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("vector_store.search_results.page")final List<String>searchQuery()final JsonField<List<VectorStoreSearchResponse>>_data()Returns the raw JSON value of data. final JsonField<Boolean>_hasMore()Returns the raw JSON value of hasMore. final JsonField<String>_nextPage()Returns the raw JSON value of nextPage. final JsonField<List<String>>_searchQuery()Returns the raw JSON value of searchQuery. final Map<String, JsonValue>_additionalProperties()final VectorStoreSearchPageResponse.BuildertoBuilder()final VectorStoreSearchPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VectorStoreSearchPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of VectorStoreSearchPageResponse. -
-
Method Detail
-
data
final List<VectorStoreSearchResponse> data()
The list of search result items.
-
_object_
final JsonValue _object_()
The object type, which is always
vector_store.search_results.pageExpected to always return the following:
JsonValue.from("vector_store.search_results.page")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
searchQuery
final List<String> searchQuery()
-
_data
final JsonField<List<VectorStoreSearchResponse>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_hasMore
final JsonField<Boolean> _hasMore()
Returns the raw JSON value of hasMore.
Unlike hasMore, this method doesn't throw if the JSON field has an unexpected type.
-
_nextPage
final JsonField<String> _nextPage()
Returns the raw JSON value of nextPage.
Unlike nextPage, this method doesn't throw if the JSON field has an unexpected type.
-
_searchQuery
final JsonField<List<String>> _searchQuery()
Returns the raw JSON value of searchQuery.
Unlike searchQuery, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VectorStoreSearchPageResponse.Builder toBuilder()
-
validate
final VectorStoreSearchPageResponse 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 VectorStoreSearchPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of VectorStoreSearchPageResponse.
The following fields are required:
.data() .hasMore() .nextPage() .searchQuery()
-
-
-
-