Search
Recommend point groups
Look for the points which are closer to stored positive examples and at the same time further to negative examples, grouped by a given payload field.
post/collections/{collection_name}/points/recommend/groups
Path parameters
collection_namestring required
Name of the collection to search in
Query parameters
Define read consistency guarantees for the operation
timeoutinteger
If set, overrides global timeout for this request. Unit is seconds.
Request body
Response
successful operation
Example response
{
"time": 0.002,
"status": "ok",
"result": {
"groups": [
{
"hits": [
{
"id": 42,
"version": 3,
"score": 0.75,
"payload": {
"city": "London",
"color": "green"
},
"vector": [
0.875,
0.140625,
0.897599995136261
],
"shard_key": "region_1",
"order_value": 42
}
],
"lookup": {
"id": 42,
"payload": {
"city": "London",
"color": "green"
},
"vector": [
0.875,
0.140625,
0.897599995136261
],
"shard_key": "region_1",
"order_value": 42
}
}
]
}
}