After a year and a half of development, Gorse v0.5 is released. This release includes breaking changes, so it is worth writing an article to introduce the new features and upgrade guide.
New Features
New Data Schema
-
The
Subscribefield ofUserhas been removed. In the early design, theSubscribefield was used to store tags subscribed by users, but it was not actually used. It is recommended to use External Recommenders to implement business logic driven recommendations like subscriptions. -
The
Labelsfield ofUserandItemsupports arbitrary JSON objects. On this basis, some recommenders can specify nested fields to use. For example, in item-to-item recommenders, you can specify using theLabels.embeddingembedding vector to calculate item similarity. -
The
Valuefield has been added to feedback. TheValuefield is used to represent the weight of feedback, such as the percentage of video watching, the rating of goods, etc. On the one hand, positive and negative feedback can be distinguished by setting thresholds based on theValuefield; on the other hand, future updates will utlize theValuefield to better train models. When inserting feedback, you can choose to accumulate (POST) theValue, or overwrite (PUT) the originalValue.
