技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
training【数据与研究】Use ChatterBot trainers, corpus utilities, CSV/TSV/JSON field maps, Ubuntu corpus handling, progress controls, and training-data export workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks how to teach a ChatterBot bot responses, load chatterbot-corpus, train from list/CSV/TSV/JSON files, export learned conversations, control training progress, or debug trainer data-format errors.
| Task | Trainer |
|---|---|
| A single ordered conversation in Python | ListTrainer |
Installed chatterbot-corpus data by dotted path | ChatterBotCorpusTrainer |
| CSV or TSV rows | CsvFileTrainer |
JSON files with a root conversation array | JsonFileTrainer |
| Legacy Ubuntu dialog corpus tar/TSV layout | UbuntuCorpusTrainer |
| Custom source/format | subclass Trainer and implement train() |
Most trainer paths instantiate a normal ChatBot, so the default SQL + PosLemmaTagger path needs a spaCy model such as en_core_web_sm.
Corpus training needs pyyaml and usually the separate chatterbot-corpus package. Unit conversion is not a training feature; route that to logic-adapters.
Training creates Statement rows. Each response statement normally stores:
text;in_response_to pointing at the previous utterance or explicit response field;search_text and search_in_response_to computed by the bot's tagger;conversation, persona, tags, and created_at metadata.Configure preprocessors and tagger before training because trainers apply the bot's preprocessors and tagger while building statements.
ChatBot lifecycle and read-only inference after training, use core-chatbot.