-
What happens if the same point ID is in both the positive and negative parameter for a recommendation request?
(Background: Music recommendation system. Recommended IDs are saved in session and used as positive when requesting next tracks. User can mark tracks as "disliked", these will be added to the negative IDs for the following recommendation requests) |
Beta Was this translation helpful? Give feedback.
Answered by
timvisee
Dec 17, 2024
Replies: 1 comment 2 replies
-
Providing a point as positive and negative example will make them cancel each other out. These two searches will give the same result: POST /collections/benchmark/points/query
{
"query": {
"recommend": {
"positive": [2],
"negative": []
}
}
} POST /collections/benchmark/points/query
{
"query": {
"recommend": {
"positive": [1, 2],
"negative": [1]
}
}
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
dnalor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Providing a point as positive and negative example will make them cancel each other out.
These two searches will give the same result: