Request
Request points based on positive and negative examples, grouped by a payload field.
group_bystringRequired>=1 character
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_sizeuintRequired
Maximum amount of points to return per group
limituintRequired
Maximum amount of groups to return
shard_keystring or uint64 or list of strings or uint64s or anyOptional
Specify in which shards to look for the points, if not specified - look in all shards
positivelist of uint64s or strings or lists of doubles or objectsOptional
Look for vectors closest to those
negativelist of uint64s or strings or lists of doubles or objectsOptional
Try to avoid vectors like this
strategyenum or anyOptional
How to use positive and negative examples to find the results
filterobject or anyOptional
Look only for points which satisfies this conditions
paramsobject or anyOptional
Additional search params
with_payloadboolean or list of strings or object or anyOptional
Select which payload to return with the response. Default is false.
with_vectorboolean or list of strings or anyOptional
Options for specifying which vectors to include into response. Default is false.
score_thresholddouble or nullOptional
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.
usingstring or anyOptional
Define which vector to use for recommendation, if not specified - try to use default vector
lookup_fromobject or anyOptional
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_lookupstring or object or anyOptional
Look for points in another collection using the group ids
Response
successful operation
timedouble
Time spent to process this request