gate-info-liveroomlocation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGate Info Liveroom Location — Live & Replay Listing
Gate资讯直播间导航 — 直播与回放列表
This skill returns a filtered list of live streams and replays on Gate Exchange. Each item is title + link. Parameters (tag, coin, sort, limit) are inferred from natural language; use defaults when not specified and do not ask the user for missing params.
此技能返回Gate交易所上经过筛选的直播流和回放列表。每个条目格式为标题 + 链接。参数(tag、coin、sort、limit)将从自然语言中推断;未指定时使用默认值,不要向用户询问缺失的参数。
Workflow
工作流程
When the user asks about live rooms or replays (by business type, coin, hottest/newest, or count), execute the following steps.
当用户询问直播间或回放(按业务类型、币种、最热/最新或数量)时,执行以下步骤。
Step 1: Parse intent and map parameters
步骤1:解析意图并映射参数
From natural language, extract and map to API parameters:
- tag: Market Analysis | Hot Topics | Blockchain | Others | empty (all). Default: empty.
- coin: Coin symbol (e.g. BTC, SOL) or empty (all). Default: empty.
- sort: (hottest) |
hot(newest). Default:new.hot - limit: Integer 1–10. Default: 10.
Key mapping rules:
| User phrase (examples) | Param | Value |
|---|---|---|
| 行情分析, 市场分析, Market Analysis | tag | Market Analysis |
| 热门话题, Hot Topics | tag | Hot Topics |
| 区块链, Blockchain | tag | Blockchain |
| 其他, Others | tag | Others |
| Not mentioned | tag | empty |
| Bitcoin, BTC, SOL, ETH, 比特币 | coin | BTC, SOL, etc. |
| Not mentioned | coin | empty |
| 最热, 热门, 按热度, hottest | sort | hot |
| 最新, 最近, newest | sort | new |
| Not mentioned | sort | hot |
| 前5条, 给我3个, 10个 | limit | 5, 3, 10 |
| Not mentioned | limit | 10 |
Do not ask the user "how many?" or "which coin?" when they did not specify; apply defaults.
从自然语言中提取信息并映射到API参数:
- tag:Market Analysis | Hot Topics | Blockchain | Others | 空值(全部)。默认值:空值。
- coin:币种符号(如BTC、SOL)或空值(全部)。默认值:空值。
- sort:(最热) |
hot(最新)。默认值:new。hot - limit:1-10的整数。默认值:10。
关键映射规则:
| 用户语句(示例) | 参数 | 值 |
|---|---|---|
| 行情分析, 市场分析, Market Analysis | tag | Market Analysis |
| 热门话题, Hot Topics | tag | Hot Topics |
| 区块链, Blockchain | tag | Blockchain |
| 其他, Others | tag | Others |
| 未提及 | tag | empty |
| Bitcoin, BTC, SOL, ETH, 比特币 | coin | BTC, SOL, etc. |
| 未提及 | coin | empty |
| 最热, 热门, 按热度, hottest | sort | hot |
| 最新, 最近, newest | sort | new |
| 未提及 | sort | hot |
| 前5条, 给我3个, 10个 | limit | 5, 3, 10 |
| 未提及 | limit | 10 |
请勿在用户未指定时询问“需要多少个?”或“哪个币种?”;直接使用默认值。
Step 2: Call the API
步骤2:调用API
Call with query parameters:
GET /live/gate_ai/tag_coin_live_replay- : string (optional)
tag - : string (optional)
coin - :
sort|hot(optional, default hot)new - : integer (optional, default 10, max 10)
limit
Key data to extract from response:
- : array of items, each with
data.list(content_typeor"streaming"), and either"video"(withlive,id) orname(withvideo,id).title
Pre-filter: If the user is in a restricted region (US, Canada, Japan, or other Gate-restricted regions), do not call the API; reply that the feature is not available in their region.
调用接口,传入以下查询参数:
GET /live/gate_ai/tag_coin_live_replay- : 字符串(可选)
tag - : 字符串(可选)
coin - :
sort|hot(可选,默认值hot)new - : 整数(可选,默认值10,最大值10)
limit
从响应中提取的关键数据:
- : 条目数组,每个条目包含
data.list(content_type或"streaming"),以及"video"对象(包含live、id)或name对象(包含video、id)。title
前置过滤:如果用户所在地区为受限地区(美国、加拿大、日本或其他Gate受限地区),请勿调用API;回复用户此功能在其地区不可用。
Step 3: Build list output
步骤3:构建列表输出
For each item in :
data.list- Title: when
live.name, elsecontent_type === "streaming"whenvideo.title.content_type === "video" - Link:
- :
content_type === "streaming"https://www.gate.io/live/video/{live.id}?type=live - :
content_type === "video"https://www.gate.io/live/video/{video.id}
Output a list of lines: each line = title + link. Optionally label "Live" or "Replay". Do not add extra fields (e.g. likes, duration) unless required by product.
对于中的每个条目:
data.list- 标题:当时使用
content_type === "streaming",当live.name时使用content_type === "video"。video.title - 链接:
- 当时:
content_type === "streaming"https://www.gate.io/live/video/{live.id}?type=live - 当时:
content_type === "video"https://www.gate.io/live/video/{video.id}
- 当
输出每行一条的列表:每行格式为标题 + 链接。可选择性标注“Live”或“Replay”。除非产品要求,否则不要添加额外字段(如点赞数、时长)。
Judgment Logic Summary
判断逻辑总结
| Condition | Signal | Meaning |
|---|---|---|
| User in restricted region | Block | Do not call API; reply that the feature is not available in their region |
| tag / coin / sort / limit not mentioned | Use default | tag=empty, coin=empty, sort=hot, limit=10 |
| content_type === "streaming" | Live | Use live.name; link with |
| content_type === "video" | Replay | Use video.title; link without type |
| Empty list or API error | No list | Reply with a short message; do not fabricate a list |
| 条件 | 标识 | 含义 |
|---|---|---|
| 用户在受限地区 | 拦截 | 请勿调用API;回复用户此功能在其地区不可用 |
| 未提及tag / coin / sort / limit | 使用默认值 | tag=空值, coin=空值, sort=hot, limit=10 |
| content_type === "streaming" | 直播 | 使用live.name;链接添加 |
| content_type === "video" | 回放 | 使用video.title;链接不添加类型参数 |
| 列表为空或API错误 | 无列表 | 回复简短消息;请勿编造列表 |
Report Template
报告模板
- List format: One line per item: .
[Live/Replay] Title — <link> - Disclaimer (if needed): Gate live and replay content is provided by creators; it does not constitute investment or viewing advice; the platform only provides display and filtering.
- 列表格式:每行一个条目:。
[Live/Replay] 标题 — <链接> - 免责声明(如需):Gate直播与回放内容由创作者提供;不构成投资或观看建议;平台仅提供展示与筛选服务。
Single API only
仅使用指定API
Use only . Do not combine or mention other live or video APIs.
GET /live/gate_ai/tag_coin_live_replay仅使用接口。请勿组合或提及其他直播或视频API。
GET /live/gate_ai/tag_coin_live_replay