travel_hotspot_rank
Ranks travel locations by a weighted heat score from post count, votes, and ratings, and aggregates frequent advantages from user posts.
Instructions
地点口碑榜聚合:输入地点列表与用户帖子,按「发帖数2 + 投票3 + 平均评分*5」计算热度并排序,同时聚合每地点的高频优点。算法源自 travel-rank 项目,面试可两边对拍。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locations": "<locations>",
"posts": "<posts>"
},
"name": "travel_hotspot_rank"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes | 帖子列表(含投票、评分、优点标签) | |
| locations | Yes | 地点列表 |