ai_member_xiaoyan/skills/dialogue-image-description-config/SKILL.md

123 lines
4.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
name: dialogue-image-description-config
version: 2.0.0
description: 看图说话类互动组件配置标准化规范,用于剧本中看图说话/看图说话-配图类型组件的标准化生成
metadata:
requires:
permissions: ["sheets:spreadsheet"]
identity: bot
---
# 看图说话组件配置规范
## 适用场景
当【类型】列内容为【看图说话】或【看图说话-配图】时,使用本规范生成组件配置
## 文本输出规范(强制执行)
所有输出的文本内容(台词、题目、选项、解析、音频文本、阅读文章等)必须遵守以下规则:
1. 禁止 Markdown 标记:禁止使用 ** * __ _ 等加粗/斜体标识,也禁止使用 # > - 等块级 Markdown 语法。所有文本纯文本输出。
2. 英式拼写优先:单词涉及英美式拼写差异时(如 colour/color、centre/center、travelling/traveling统一选择英式拼写。
3. 标点符号规范:严格区分全角/半角符号。中文内容使用全角标点(,。!?),英文内容使用半角标点(. , ! ?),不得混用。
## 配置格式
配置分为两部分:导览配置 + 对话配置
### 导览配置
1. 【任务标题】:结合图片内容和剧情上下文,设计中文语义化标题,点明看图说话的核心任务,例如「从一堆工具中找出颜色相同的工具」
2. 【任务背景】:用中文描述为什么需要完成这个任务、任务的目标是什么
3. 【任务描述】:用中文简述用户需要做什么(回答谁的问题、完成什么目标)
4. 【知识】:列出本组件涉及的核心知识点/句型,每个一行。例如:
```
It's... 它是……
Yes, I think it's... 是的,我认为它是……
It seems that... 它看起来是……
```
### 对话配置
1. 【对话角色】:填写 NPC 角色名,如 `SecurityA`、`May`。如有多个角色,用 `, ` 分隔
2. 【角色背景】:描述 NPC 的角色背景和当前任务情境。格式:`你是[角色名][情境描述]……`
3. 【互动问题】:按 `#图片编号XX` 分组每张图下Q&A依次列出。如果只有一张图图片编号为 `00`
格式如下:
```
#图片编号00
Q: NPC的提问内容
A: 期望用户回答的正确内容
#图片编号01
Q: NPC的提问内容
A: 期望用户回答的正确内容
```
同一图片编号下可有多组Q&A。若无配图省略图片编号标记。
4. 【通过规则】:列出用户需要完成的回答条目,用中文序号描述。例如:
```
用户说出:
1. 钳子是蓝色的
2. 尺子是黄色的
3. 锤子是橙色的
4. 螺丝刀是蓝色的
```
5. 【示例对话】:完整展示 NPC 和 User 的对话流程,每一轮为一行。格式:
```
NPC: Let's find tools together. What's the color of the pliers?
User: It's blue.
NPC: What's the color of the ruler?
User: It's yellow.
...
NPC: [最终结束语]
```
## 完整示例
```
【任务标题】
从一堆工具中找出颜色相同的工具
【任务背景】
为了快速修复破损的机器人,你需要尽快找到合适的工具,来复原工具箱,从而修复机器人。
【任务描述】
回答 Celina 的问题,找出成套的工具,复原工具箱
【知识】
It's... 它是……
Yes, I think it's... 是的,我认为它是……
It seems that... 它看起来是……
【对话角色】
SecurityA
【角色背景】
你是机器人 SecurityA用户需要你去修复一个破损的机器人。但你需要完整的工具箱所以你需要让用户帮你找出工具箱中所需要的工具 ……
【互动问题】
#图片编号00
Q: Let's find tools together. What's the color of the pliers?
A: It's blue.
Q: What's the color of the ruler?
A: It's yellow.
#图片编号01
Q: What's the color of the hammer?
A: It's orange.
#图片编号02
Q: And how about the screwdriver?
A: Blue. Yes, I think it's blue.
【通过规则】
用户说出:
1. 钳子是蓝色的
2. 尺子是黄色的
3. 锤子是橙色的
4. 螺丝刀是蓝色的
【示例对话】
NPC: Let's find tools together. What's the color of the pliers?
User: It's blue.
NPC: What's the color of the ruler?
User: It's yellow.
NPC: What's the color of the hammer?
User: It's orange.
NPC: And how about the screwdriver?
User: Blue. Yes, I think it's blue.
NPC: It seems that the pliers and the screwdriver belong to the same set of toolkit. Good job!
```