gorse v0.5.2 版本更新介绍
发布日期: 2026-01-17
版本号: v0.5.2
本次更新包括多项功能改进与一项配置变更:新增数据导入后自动重启任务功能,支持通过LogicFlow编辑推荐流程,最新项目API现已支持偏移量与用户ID参数,通过特定请求头可返回推荐分数。同时优化了MySQL与Postgres的连接池配置,支持基于嵌入的多模态点击率预测,并允许通过设置禁用优化期。破坏性变更方面,现要求在配置文件中必须明确指定排名器类型,否则将不使用任何排名算法。
更新内容 (中文)
功能特性
- 数据导入后自动重启任务 (#1130)。
- 支持通过 LogicFlow 编辑推荐流程 (#1131)。
- 最新物品 API 支持偏移量与用户ID参数 (#1136)。
- 通过
X-API-Version: 2请求头返回推荐分数 (#1140)。 - 新增 MySQL 连接池配置 (#1141)(由 @slaout 提交)。
- 新增 Postgres 连接池配置 (#1142)(由 @slaout 提交)。
- 支持通过嵌入向量实现多模态点击率预测 (#1134)。
- 支持通过设置
optimize_period = \"0\"禁用优化 (#1144)。
破坏性变更
- 配置文件中必须指定排序器类型,否则将不使用排序器。
[recommend.ranker]
# 排序器类型,包含两种:
# none: 不进行排序(默认值)。
# fm: 因子分解机。
type = \"fm\"
更新内容 (原始)
Features
- Restart task after data imported automatically (#1130).
- Support edit recommend pipeline via LogicFlow (#1131).
- Support offset and user-id on latest items API (#1136).
- Support return recommendation scores by
X-API-Version: 2header (#1140). - Add MySQL connection pool configuration (#1141) by @slaout.
- Add Postgres connection pool configuration (#1142) by @slaout.
- Support multimodal click-throught rate prediction via embedding (#1134).
- Support disable optimize by set
optimize_period = "0"(#1144).
BREAK CHANGES
- Ranker type is required in the config file otherwise no ranker will be used.
[recommend.ranker]
# The type of the ranker. There are two types:
# none: no ranking (default).
# fm: factorization machines.
type = "fm"