Skip to content
Back to skills

Training

ASecurity

"Use ChatterBot trainers, corpus utilities, CSV/TSV/JSON field

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
developmentpythongosqldjangoapidatabasebackend

Works with

  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill training --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Training
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-bf3edb2a/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-bf3edb2a)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: training
description: "Use ChatterBot trainers, corpus utilities, CSV/TSV/JSON field
  maps, Ubuntu corpus handling, progress controls, and training-data export
  workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 3-Clause
---

# ChatterBot Training

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.

## Quick route

1. Read [references/training-api.md](references/training-api.md) for trainer signatures, input shapes, and data formats.
2. Read [references/workflows.md](references/workflows.md) for minimal list, corpus, CSV/TSV, JSON, Ubuntu corpus, and export recipes.
3. Read [references/troubleshooting.md](references/troubleshooting.md) for field-map, corpus, optional dependency, and large download failures.
4. Use [scripts/list_training_demo.py](scripts/list_training_demo.py) for a tiny list-training smoke test.
5. Use [scripts/file_training_demo.py](scripts/file_training_demo.py) to generate and train tiny CSV or JSON fixtures.
6. Use [scripts/export_training_data.py](scripts/export_training_data.py) to train a tiny bot and write export JSON.

## Trainer selection

| 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()` |

## Required setup

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](../logic-adapters/SKILL.md).

## Data model

Training creates `Statement` rows. Each response statement normally stores:

- its own `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;
- optional `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.

## Boundaries

- For core `ChatBot` lifecycle and read-only inference after training, use [core-chatbot](../core-chatbot/SKILL.md).
- For response selection after trained data exists, use [logic-adapters](../logic-adapters/SKILL.md).
- For storage backend persistence and query filters, use [storage-adapters](../storage-adapters/SKILL.md).
- For Django database migrations and web app training integration, use [django-integration](../django-integration/SKILL.md).

Files in this skill

  • SKILL.md3 KB
  • references/training-api.md3.6 KB
  • references/troubleshooting.md2.9 KB
  • references/workflows.md3.6 KB
  • scripts/export_training_data.py1.3 KB
  • scripts/file_training_demo.py3.5 KB
  • scripts/list_training_demo.py1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.