Retrieve an object from the server by its UUID.
The UUID of the object to retrieve.
Optional
opts: FetchObjectByIdOptions<T>The available options for fetching the object.
Retrieve objects from the server without searching.
Optional
opts: FetchObjectsOptions<T>The available options for fetching the objects.
Search for objects in this collection using the keyword-based BM25 algorithm.
See the docs for a more detailed explanation.
This overload is for performing a search without the groupBy
param.
The query to search for.
Optional
opts: BaseBm25Options<T>The available options for the search excluding the groupBy
param.
Search for objects in this collection using the keyword-based BM25 algorithm.
See the docs for a more detailed explanation.
This overload is for performing a search with the groupBy
param.
The query to search for.
The available options for the search including the groupBy
param.
Search for objects in this collection using the keyword-based BM25 algorithm.
See the docs for a more detailed explanation.
This overload is for performing a search with a programmatically defined opts
param.
The query to search for.
Optional
opts: Bm25Options<T>The available options for the search including the groupBy
param.
Search for objects in this collection using the hybrid algorithm blending keyword-based BM25 and vector-based similarity.
See the docs for a more detailed explanation.
This overload is for performing a search without the groupBy
param.
The query to search for in the BM25 keyword search..
Optional
opts: BaseHybridOptions<T>The available options for the search excluding the groupBy
param.
Search for objects in this collection using the hybrid algorithm blending keyword-based BM25 and vector-based similarity.
See the docs for a more detailed explanation.
This overload is for performing a search with the groupBy
param.
The query to search for in the BM25 keyword search..
The available options for the search including the groupBy
param.
Search for objects in this collection using the hybrid algorithm blending keyword-based BM25 and vector-based similarity.
See the docs for a more detailed explanation.
This overload is for performing a search with a programmatically defined opts
param.
The query to search for in the BM25 keyword search..
Optional
opts: HybridOptions<T>The available options for the search including the groupBy
param.
Search for objects by image in this collection using an image-capable vectorization module and vector-based similarity search.
You must have an image-capable vectorization module installed in order to use this method,
e.g. img2vec-neural
, multi2vec-clip
, or `multi2vec-bind.
See the docs for a more detailed explanation.
This overload is for performing a search without the groupBy
param.
@param {string | Buffer} image - The image to search on. This can be a base64 string, a file path string, or a buffer.
@param {BaseNearOptionsgroupBy
param.
Optional
opts: BaseNearOptions<T>Search for objects by image in this collection using an image-capable vectorization module and vector-based similarity search.
You must have an image-capable vectorization module installed in order to use this method,
e.g. img2vec-neural
, multi2vec-clip
, or `multi2vec-bind.
See the docs for a more detailed explanation.
This overload is for performing a search with the groupBy
param.
@param {string | Buffer} image - The image to search on. This can be a base64 string, a file path string, or a buffer.
@param {GroupByNearOptionsgroupBy
param.
Search for objects by image in this collection using an image-capable vectorization module and vector-based similarity search.
You must have an image-capable vectorization module installed in order to use this method,
e.g. img2vec-neural
, multi2vec-clip
, or `multi2vec-bind.
See the docs for a more detailed explanation.
This overload is for performing a search with a programmatically defined opts
param.
The image to search on. This can be a base64 string, a file path string, or a buffer.
Optional
opts: NearOptions<T>The available options for the search.
Search for objects by image in this collection using an image-capable vectorization module and vector-based similarity search.
You must have a multi-media-capable vectorization module installed in order to use this method, e.g. multi2vec-bind
or multi2vec-palm
.
See the docs for a more detailed explanation.
This overload is for performing a search without the groupBy
param.
The media to search on. This can be a base64 string, a file path string, or a buffer.
The type of media to search for, e.g. 'audio'.
Optional
opts: BaseNearOptions<T>The available options for the search excluding the groupBy
param.
Search for objects by image in this collection using an image-capable vectorization module and vector-based similarity search.
You must have a multi-media-capable vectorization module installed in order to use this method, e.g. multi2vec-bind
or multi2vec-palm
.
See the docs for a more detailed explanation.
This overload is for performing a search with the groupBy
param.
The media to search on. This can be a base64 string, a file path string, or a buffer.
The type of media to search for, e.g. 'audio'.
The available options for the search including the groupBy
param.
Search for objects by image in this collection using an image-capable vectorization module and vector-based similarity search.
You must have a multi-media-capable vectorization module installed in order to use this method, e.g. multi2vec-bind
or multi2vec-palm
.
See the docs for a more detailed explanation.
This overload is for performing a search with a programmatically defined opts
param.
The media to search on. This can be a base64 string, a file path string, or a buffer.
The type of media to search for, e.g. 'audio'.
Optional
opts: NearOptions<T>The available options for the search.
Search for objects in this collection by another object using a vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search without the groupBy
param.
The UUID of the object to search for.
Optional
opts: BaseNearOptions<T>The available options for the search excluding the groupBy
param.
Search for objects in this collection by another object using a vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search with the groupBy
param.
The UUID of the object to search for.
The available options for the search including the groupBy
param.
Search for objects in this collection by another object using a vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search with a programmatically defined opts
param.
The UUID of the object to search for.
Optional
opts: NearOptions<T>The available options for the search.
Search for objects in this collection by text using text-capable vectorization module and vector-based similarity search.
You must have a text-capable vectorization module installed in order to use this method,
e.g. any of the text2vec-
and multi2vec-
modules.
See the docs for a more detailed explanation.
This overload is for performing a search without the groupBy
param.
The text query to search for.
Optional
opts: BaseNearTextOptions<T>The available options for the search excluding the groupBy
param.
Search for objects in this collection by text using text-capable vectorization module and vector-based similarity search.
You must have a text-capable vectorization module installed in order to use this method,
e.g. any of the text2vec-
and multi2vec-
modules.
See the docs for a more detailed explanation.
This overload is for performing a search with the groupBy
param.
The text query to search for.
The available options for the search including the groupBy
param.
Search for objects in this collection by text using text-capable vectorization module and vector-based similarity search.
You must have a text-capable vectorization module installed in order to use this method,
e.g. any of the text2vec-
and multi2vec-
modules.
See the docs for a more detailed explanation.
This overload is for performing a search with a programmatically defined opts
param.
The text query to search for.
Optional
opts: NearTextOptions<T>The available options for the search.
Search for objects by vector in this collection using a vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search without the groupBy
param.
The vector(s) to search on.
Optional
opts: BaseNearOptions<T>The available options for the search excluding the groupBy
param.
Search for objects by vector in this collection using a vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search with the groupBy
param.
The vector(s) to search for.
The available options for the search including the groupBy
param.
Search for objects by vector in this collection using a vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search with a programmatically defined opts
param.
The vector(s) to search for.
Optional
opts: NearOptions<T>The available options for the search.
All the available methods on the
.query
namespace.