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: recombee_api_client/api_requests/recommend_next_item_segments.py
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -9,23 +9,24 @@
9
9
10
10
classRecommendNextItemSegments(Request):
11
11
"""
12
-
Returns Item segments that shall be shown to a user as next recommendations when the user e.g. scrolls the page down (*infinite scroll*) or goes to the next page.
12
+
Returns [Item Segments](https://docs.recombee.com/segmentations) to be shown as the next recommendations when a user scrolls (e.g., within a carousel or feed of Item Segments such as brands, artists, topics, or categories).
13
+
14
+
The request requires the `recommId` of a base recommendation request and the number of Segments to return (`count`).
13
15
14
-
It accepts `recommId` of a base recommendation request (e.g., request from the first page) and the number of segments that shall be returned (`count`).
15
16
The base request can be one of:
16
17
- [Recommend Item Segments to Item](https://docs.recombee.com/api#recommend-item-segments-to-item)
17
18
- [Recommend Item Segments to User](https://docs.recombee.com/api#recommend-item-segments-to-user)
18
19
- [Recommend Item Segments to Item Segment](https://docs.recombee.com/api#recommend-item-segments-to-item-segment)
All the other parameters are inherited from the base request.
22
+
All other parameters are inherited from the base request associated with the provided `recommId`.
22
23
23
-
*Recommend next Item segments* can be called many times for a single `recommId` and each call returns different (previously not recommended) segments.
24
-
The number of *Recommend next Item segments* calls performed so far is returned in the `numberNextRecommsCalls` field.
24
+
This endpoint can be called multiple times for a single `recommId`. Each call returns different Item Segments that have not been recommended in previous calls.
25
+
The number of calls made so far is returned in the `numberNextRecommsCalls` field.
25
26
26
-
*Recommend next Item segments* can be requested up to 30 minutes after the base request or a previous *Recommend next Item segments* call.
27
+
Requests can be made up to 30 minutes after the base request or the most recent Recommend Next Item Segments call.
27
28
28
-
For billing purposes, each call to *Recommend next Item segments* is counted as a separate recommendation request.
29
+
For billing purposes, each call to this endpoint is counted as a separate recommendation request.
0 commit comments