You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/requests/recommend-items-to-item.js
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ const rqs = require("./request");
8
8
/**
9
9
* Recommends set of items that are somehow related to one given item, *X*. Typical scenario is when user *A* is viewing *X*. Then you may display items to the user that he might be also interested in. Recommend items to item request gives you Top-N such items, optionally taking the target user *A* into account.
10
10
* It is also possible to use POST HTTP method (for example in case of very long ReQL filter) - query parameters then become body parameters.
11
+
* The returned items are sorted by relevancy (first item being the most relevant).
11
12
*/
12
13
classRecommendItemsToItemextendsrqs.Request{
13
14
@@ -116,6 +117,9 @@ class RecommendItemsToItem extends rqs.Request {
116
117
* - *expertSettings*
117
118
* - Type:
118
119
* - Description: Dictionary of custom options.
120
+
* - *returnAbGroup*
121
+
* - Type: boolean
122
+
* - Description: If there is a custom AB-testing running, return name of group to which the request belongs.
Copy file name to clipboardExpand all lines: lib/requests/recommend-items-to-user.js
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ const rqs = require("./request");
8
8
/**
9
9
* Based on user's past interactions (purchases, ratings, etc.) with the items, recommends top-N items that are most likely to be of high value for a given user.
10
10
* It is also possible to use POST HTTP method (for example in case of very long ReQL filter) - query parameters then become body parameters.
11
+
* The returned items are sorted by relevancy (first item being the most relevant).
11
12
*/
12
13
classRecommendItemsToUserextendsrqs.Request{
13
14
@@ -100,6 +101,9 @@ class RecommendItemsToUser extends rqs.Request {
100
101
* - *expertSettings*
101
102
* - Type:
102
103
* - Description: Dictionary of custom options.
104
+
* - *returnAbGroup*
105
+
* - Type: boolean
106
+
* - Description: If there is a custom AB-testing running, return name of group to which the request belongs.
0 commit comments