nrofembeddedhits

Type: boolean
Default: false
Context: prediction

About this parameter

rek.ai strives to create a balanced recommendation that takes into account both the contextual (embeddings) and the parametric. But if you want to focus on the contextual (or not), you can specify how many of the recommendations use that technology.

So if you make five recommendations and set nrofembeddedhits to 5, all recommendations will focus on the embeddings.

Info about embeddings

The "-2" case

If you set nrofembeddedhits to -2, the system will try to use the page the user visited before the current page as a contextual source. This is useful when doing recommendations on a "section" page where we want the article the user previously visited to influnce the recommendations

Usage examples

<div class="rek-prediction" data-nrofembeddedhits="5"></div>