Build a News recommendation app from python with Vespa: Part 3
Blog post from Vespa
The blog post discusses the implementation of a news recommendation app using Vespa, focusing on introducing a new ranking signal called category click-through rate (CTR). This approach is particularly useful for users without a click history, as it recommends content based on popular categories rather than individual articles. To efficiently manage continuously changing global CTR values, the app utilizes a parent-child document relationship in Vespa, allowing global documents to hold CTR values for all categories, which are then referenced by child documents. The post also highlights the use of sparse tensors for ranking and explains how to implement tensor expressions to select specific CTR scores related to each news document. A rank profile is created to combine nearest-neighbor scores with category CTR scores, demonstrating how this setup can improve recommendation relevance. The tutorial includes detailed steps for setting up the system, feeding data, and testing the application, with a focus on leveraging Vespa's capabilities for efficient and dynamic content ranking.