Data Generator

Other

Data Generator / 数据生成器 - Generate training data from user instructions. Input: tool name + command list. Output: JSONL. / 根据用户指令生成训练数据。

Install

openclaw skills install @huaibuer/data-generator-waai

📝 Data Generator / 数据生成器

Generate training data from Excel user instructions.

When to Use / 使用场景

ENCN
Generate training data from instructions从用户指令生成训练数据
Batch produce AI training samples批量生成AI训练样本
Build dataset from Excel从Excel构建数据集

Features / 功能

FeatureENCN
Excel inputExcel file supportExcel文件输入
JSONL outputJSONL outputJSONL格式输出
Multi-tool supportMulti-tool support支持多种工具
Customizable promptCustomizable prompt可自定义提示词

Usage / 使用

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="自定义提示词模板"
)

Parameters / 参数

ParameterTypeENCN
tool_namestrTool name工具名称
commandslistCommand list命令列表
excel_filestrExcel file pathExcel文件路径
prompt_templatestrCustom prompt自定义提示词(可选)

Output / 输出

{"conversations": [...], "system": "..."}
{"conversations": [...], "system": "..."}

Installation / 安装

npx clawhub install data-generator-waai

Author / 作者

  • WaaiOn