Recommend point groups
Retrieves points that are closer to stored positive examples and further from negative examples. Results are grouped by the specified payload field.
Path parameters
collection_name
Name of the collection to search in
Headers
api-key
Query parameters
consistency
Define read consistency guarantees for the operation
timeout
If set, overrides global timeout for this request. Unit is seconds.
Request
This endpoint expects an object.
group_by
Payload field to group by, must be a string or number field. If the field contains more than 1 value, all values will be used for grouping. One point can be in multiple groups.
group_size
Maximum amount of points to return per group
limit
Maximum amount of groups to return
shard_key
Specify in which shards to look for the points, if not specified - look in all shards
positive
Look for vectors closest to those
negative
Try to avoid vectors like this
strategy
How to use positive and negative examples to find the results
filter
Look only for points which satisfies this conditions
params
Additional search params
with_payload
Select which payload to return with the response. Default is false.
with_vector
Options for specifying which vectors to include into response. Default is false.
score_threshold
Define a minimal score threshold for the result. If defined, less similar results will not be returned. Score of the returned result might be higher or smaller than the threshold depending on the Distance function used. E.g. for cosine similarity only higher scores will be returned.
using
Define which vector to use for recommendation, if not specified - try to use default vector
lookup_from
The location used to lookup vectors. If not specified - use current collection. Note: the other collection should have the same vector size as the current collection
with_lookup
Look for points in another collection using the group ids
Response
successful operation
time
Time spent to process this request
status
result