mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-20 06:34:55 +00:00
Updated 问答高级设置 (markdown)
14
问答高级设置.md
14
问答高级设置.md
@@ -4,7 +4,7 @@
|
||||
|
||||
问答设置旨在进一步降低用户通过自然语言方式获取数据的门槛。在超音数平台首页, 单击顶部菜单栏的**语义模型**, 然后选择特定的**主题域和模型**, 便可对特定模型进行问答设置, 当前支持对指标场景和实体场景分别进行设置。
|
||||
|
||||
<img src="https://github.com/lxwcodemonkey/supersonic/blob/master/docs/images/chat_config.png" height="70%" width="70%" align="center"/>
|
||||
<img src="https://github.com/tencentmusic/supersonic/assets/22031277/c025f9cb-f401-4183-8798-37c6f0b58d35" height="70%" width="70%" align="center"/>
|
||||
|
||||
### 1 指标场景
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
2. 点击中间的 **>** 标志, 可将其状态由不可见转变为可见;
|
||||
3. 点击底部**完成**按钮。
|
||||
|
||||
<img src="https://github.com/lxwcodemonkey/supersonic/blob/master/docs/images/visibility_item.png" height="70%" width="70%" align="center"/>
|
||||
<img src="https://github.com/tencentmusic/supersonic/assets/22031277/4a0f5ed6-1458-4a49-98bf-aedac95df9de" height="70%" width="70%" align="center"/>
|
||||
|
||||
* 如果还希望实现**维度值的联想**, 通过以下步骤即可实现:
|
||||
|
||||
@@ -26,17 +26,17 @@
|
||||
2. 如果有高级设置的需要, 可点击**可见维度值设置**[可选的], 高级设置可对该维度的维度值设置黑名单、白名单、sql 过滤规则等 ;
|
||||
3. 点击底部**完成**按钮。
|
||||
|
||||
<img src="https://github.com/lxwcodemonkey/supersonic/blob/master/docs/images/visibility_dim_value.png" height="70%" width="70%" align="center"/>
|
||||
<img src="https://github.com/tencentmusic/supersonic/assets/22031277/0b2a5bf0-0297-4338-81a2-516ab6ea37ad" height="70%" width="70%" align="center"/>
|
||||
|
||||
设置后, 系统会启动后台任务, 计算对应维度的维度值, 并写入到问答知识库中, 当用户输入不完整的歌手名时, 系统会根据知识库中的数据进行维度值联想。
|
||||
|
||||
<img src="https://github.com/lxwcodemonkey/supersonic/blob/master/docs/images/visibility_dim_value_show.png" height="70%" width="70%" align="center"/>
|
||||
<img src="https://github.com/tencentmusic/supersonic/assets/22031277/c2376d5b-10c9-488f-8ed8-002a02b4b8e2" height="70%" width="70%" align="center"/>
|
||||
|
||||
#### 1.2 默认设置
|
||||
|
||||
指标场景可以对时间范围进行默认设置:
|
||||
|
||||
<img src="https://github.com/lxwcodemonkey/supersonic/blob/master/docs/images/metric_default.png" height="70%" width="70%" align="center"/>
|
||||
<img src="https://github.com/tencentmusic/supersonic/assets/22031277/b0bd20d2-91d3-4ed2-8404-6cbb8fdb828c" height="70%" width="70%" align="center"/>
|
||||
|
||||
- **时间范围:** 在指标场景时, 如果用户查询中没有指定时间范围, 如"查询流行歌手的播放量", 按上图设置后, 最终查询为"查询流行歌手的最近7天的播放量"。
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
- **实体别名:** 可用别名来简化实体查询, 使查询更简单;
|
||||
- **唯一标识:** 一个实体的唯一标识, 一般是维度。
|
||||
|
||||
<img src="https://github.com/lxwcodemonkey/supersonic/blob/master/docs/images/detail_entity.png" height="70%" width="70%" align="center"/>
|
||||
<img src="https://github.com/tencentmusic/supersonic/assets/22031277/e51dc4d6-7780-4b8e-95c4-087b40c0a2e7" height="70%" width="70%" align="center"/>
|
||||
|
||||
#### 2.2 问答可见
|
||||
|
||||
@@ -64,4 +64,4 @@
|
||||
- **维度/指标:** 实体场景时, 如果用户查询中没有指定维度/指标, 系统会用此处设置的维度/指标进行查询, 如输入"周杰伦", 系统会将周杰伦作为维度歌手名的筛选条件, 然后查询出设置的维度/指标数据;
|
||||
- **时间范围:** 用户可根据数据特定的时效性, 设置时间点, 如果用户明细查询中不涉及时间信息, 则会用此处配置的时间进行查询。
|
||||
|
||||
<img src="https://github.com/lxwcodemonkey/supersonic/blob/master/docs/images/detail_default.png" height="70%" width="70%" align="center"/>
|
||||
<img src="https://github.com/tencentmusic/supersonic/assets/22031277/73251727-ff7d-4491-8f80-3b052996b34f" height="70%" width="70%" align="center"/>
|
||||
Reference in New Issue
Block a user