Aggregate metrics over the objects returned by a hybrid search on this collection.
This method requires that the objects in the collection have associated vectors.
The text query to search for.
Optional
opts: AggregateHybridOptions<T, M>The options for the request.
The aggregated metrics for the objects returned by the vector search.
Aggregate metrics over the objects returned by a near image vector search on this collection.
At least one of certainty
, distance
, or object_limit
must be specified here for the vector search.
This method requires a vectorizer capable of handling base64-encoded images, e.g. img2vec-neural
, multi2vec-clip
, and multi2vec-bind
.
The image to search on. This can be a base64 string, a file path string, or a buffer.
Optional
opts: AggregateNearOptions<M>The options for the request.
The aggregated metrics for the objects returned by the vector search.
Aggregate metrics over the objects returned by a near object search on this collection.
At least one of certainty
, distance
, or object_limit
must be specified here for the vector search.
This method requires that the objects in the collection have associated vectors.
The ID of the object to search for.
Optional
opts: AggregateNearOptions<M>The options for the request.
The aggregated metrics for the objects returned by the vector search.
Aggregate metrics over the objects returned by a near vector search on this collection.
At least one of certainty
, distance
, or object_limit
must be specified here for the vector search.
This method requires that the objects in the collection have associated vectors.
The text query to search for.
Optional
opts: AggregateNearOptions<M>The options for the request.
The aggregated metrics for the objects returned by the vector search.
Aggregate metrics over the objects returned by a near vector search on this collection.
At least one of certainty
, distance
, or object_limit
must be specified here for the vector search.
This method requires that the objects in the collection have associated vectors.
The vector to search for.
Optional
opts: AggregateNearOptions<M>The options for the request.
The aggregated metrics for the objects returned by the vector search.
Aggregate metrics over all the objects in this collection without any vector search.
Optional
opts: AggregateOverAllOptions<M>The options for the request.
The aggregated metrics for the objects in the collection.
This namespace contains methods perform a group by search while aggregating metrics.