UserSearchHistoryRecommender#

class UserSearchHistoryRecommender#

recommend_on_searches | Recommend items based on users search history

pydantic model PluginConfig#
Fields
  • last_days (int)

  • last_searches (int)

PluginConfig.plugin_name: ClassVar[str] = 'recommend_on_searches'#

Used to register and reference the plugin within a query.

field PluginConfig.last_days: int = 30#

Date range in days to consider user search activities

field PluginConfig.last_searches: int = 5#

Maximum amount of user searches to use as input.