Continue Watching
Introduction
The "Continue Watching" use case is designed to address a common user scenario – interruptions in their viewing experience. Users may encounter interruptions due to various factors such as time constraints or shifting priorities. This use case allows users to easily pick up where they left off in their content journey, making consuming content more smooth and enjoyable.
Scenario Setup
In the Recombee Admin UI, navigate to the Scenarios section and choose Create Scenario.
- Enter a Scenario ID, such as "continue-watching"
- Choose Recommendation type - Items to User (as we want to show the partially watched content of a particular user)
Logic
The Logic defines the behavior of the recommendation engine.
- Choose the video:continue-watching logic type from the Video models
By the watchingStartedPercentage
and watchingCompletedPercentage
parameters, you can specify what content shall be considered as partially watched.
Based on the assetType
parameter you can also choose what type of content will be considered (e.g. movies, series, episodes, or movies and episodes, etc.) - the default is movies+episodes
.
Filters
Requesting Recommendations
There are two ways to get recommendations.
- HTML Widget - create an HTML Widget using the visual editor in the Admin UI.
- API & SDK - request the Recommend Items to User endpoint of the Recombee API using an SDK of your choice.
For more information navigate to the Integration tab of the Scenario in the Admin UI.
In order to request content for multiple rows with a single API request, use the Batch endpoint and put the recommendation requests inside it. Set the parameter distinctRecomms
in order to deduplicate the assets among the rows.