Install
openclaw skills install @huaibuer/data-generator-waaiData Generator / 数据生成器 - Generate training data from user instructions. Input: tool name + command list. Output: JSONL. / 根据用户指令生成训练数据。
openclaw skills install @huaibuer/data-generator-waaiGenerate training data from Excel user instructions.
| EN | CN |
|---|---|
| Generate training data from instructions | 从用户指令生成训练数据 |
| Batch produce AI training samples | 批量生成AI训练样本 |
| Build dataset from Excel | 从Excel构建数据集 |
| Feature | EN | CN |
|---|---|---|
| Excel input | Excel file support | Excel文件输入 |
| JSONL output | JSONL output | JSONL格式输出 |
| Multi-tool support | Multi-tool support | 支持多种工具 |
| Customizable prompt | Customizable prompt | 可自定义提示词 |
from data_generator import Generator
# Simple / 简单
gen = Generator()
result = gen.generate(
tool_name="dev_control",
commands=["打开空调", "关闭窗帘"],
excel_file="data.xlsx"
)
# With prompt / 自定义提示词
result = gen.generate(
tool_name="alarm_remind",
commands=["提醒我起床"],
prompt_template="自定义提示词模板"
)
| Parameter | Type | EN | CN |
|---|---|---|---|
| tool_name | str | Tool name | 工具名称 |
| commands | list | Command list | 命令列表 |
| excel_file | str | Excel file path | Excel文件路径 |
| prompt_template | str | Custom prompt | 自定义提示词(可选) |
{"conversations": [...], "system": "..."}
{"conversations": [...], "system": "..."}
npx clawhub install data-generator-waai