← 返回
未分类

Data Generator

Data Generator / 数据生成器 - Generate training data from user instructions. Input: tool name + command list. Output: JSONL. / 根据用户指令生成训练数据。
数据生成器 - 根据用户指令生成训练数据。输入:工具名称 + 命令列表。输出:JSONL。
huaibuer
未分类 clawhub v1.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 519
下载
💾 0
安装
1
版本
#latest

概述

📝 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

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-05-01 19:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

A2a

huaibuer
代理互联 —— 发现并调用其他AI代理。适用场景:跨平台协作、委托任务给专业代理,或构建多代理...
★ 0 📥 668
security-compliance

Skill Guard

huaibuer
Skill Security Scanner - Scan for risks before download/use. Use when: installing unknown skills, evaluating third-party
★ 0 📥 587
ai-intelligence

Model Router

huaibuer
模型路由 - 并行调用多LLM并合并结果。适用场景:需要更优答案、对比模型输出,或从多个LLM中获取最佳结果。
★ 0 📥 559