Skip to content
cccskills
FreePublished on GitHub

chatterbot

Operate ChatterBot conversational dialog engine workflows, including chatbot setup, training, logic adapters, storage backends, Django integration, and optional LLM adapters.

The English summary is being prepared. Showing the original description.

See how to install

Files included (34)

  • SKILL.md5.9 KB
  • references/installation-and-extras.md4.2 KB
  • references/repo-provenance.md2.6 KB
  • references/repo-routing-metadata.json335 B
  • references/troubleshooting.md4.9 KB
  • scripts/check_chatterbot_environment.py4.4 KB
  • sub-skills/core-chatbot/references/api-reference.md4.4 KB
  • sub-skills/core-chatbot/references/troubleshooting.md2.1 KB
  • sub-skills/core-chatbot/references/workflows.md3.7 KB
  • sub-skills/core-chatbot/scripts/core_chat_smoke.py2.5 KB
  • sub-skills/core-chatbot/SKILL.md3.0 KB
  • sub-skills/django-integration/references/django-api.md2.8 KB
  • sub-skills/django-integration/references/troubleshooting.md3.2 KB
  • sub-skills/django-integration/references/workflows.md4.3 KB
  • sub-skills/django-integration/scripts/django_config_smoke.py1.8 KB
  • sub-skills/django-integration/SKILL.md2.6 KB
  • sub-skills/logic-adapters/references/logic-api.md4.1 KB
  • sub-skills/logic-adapters/references/troubleshooting.md3.3 KB
  • sub-skills/logic-adapters/references/workflows.md5.0 KB
  • sub-skills/logic-adapters/scripts/logic_adapter_demo.py3.4 KB
  • sub-skills/logic-adapters/SKILL.md3.2 KB
  • sub-skills/storage-adapters/references/storage-api.md4.6 KB
  • sub-skills/storage-adapters/references/troubleshooting.md3.6 KB
  • sub-skills/storage-adapters/references/workflows.md4.7 KB
  • sub-skills/storage-adapters/scripts/sql_storage_smoke.py1.5 KB
  • sub-skills/storage-adapters/scripts/storage_dependency_check.py2.0 KB
  • sub-skills/storage-adapters/SKILL.md3.2 KB
  • sub-skills/training/references/training-api.md3.6 KB
  • sub-skills/training/references/troubleshooting.md2.9 KB
  • sub-skills/training/references/workflows.md3.6 KB
  • sub-skills/training/scripts/export_training_data.py1.3 KB
  • sub-skills/training/scripts/file_training_demo.py3.5 KB
  • sub-skills/training/scripts/list_training_demo.py1.3 KB
  • sub-skills/training/SKILL.md3.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

ChatterBot Repo Skill

Use this skill when a task involves the ChatterBot Python package, the chatterbot import, conversational dialog bots that learn from statements/responses, ChatterBot trainers, ChatterBot storage adapters, built-in logic adapters, the Django extension, or errors from those APIs.

ChatterBot is a Python conversational dialog engine. A ChatBot instance combines:

  • storage adapters that persist Statement objects;
  • logic adapters that choose responses and assign confidence scores;
  • preprocessors, taggers, comparison functions, and search algorithms;
  • trainers that load list, corpus, CSV/TSV, JSON, or Ubuntu corpus style data.

Install

Public install commands:

python -m pip install chatterbot
python -m pip install -e .

Install optional groups only when the selected workflow needs them:

python -m pip install "chatterbot[dev]"       # Pint, PyYAML, chatterbot-corpus, Ollama/OpenAI clients
python -m pip install "chatterbot[redis]"     # Redis vector storage and embedding providers
python -m pip install "chatterbot[mongodb]"   # MongoDB storage
python -m pip install django                 # Django integration if you are not using a broader extra

The default ChatBot("name") path uses SQL storage plus the PosLemmaTagger, which requires a compatible spaCy language model such as en_core_web_sm for English. If a quick import-only check is enough, do not instantiate ChatBot until the model requirement is understood.

First checks

For a package install, start with:

python - <<'PY'
import chatterbot
from chatterbot import ChatBot
print(chatterbot.__version__)
print(ChatBot)
PY

Run the bundled environment diagnostic when install/import behavior is unclear:

python scripts/check_chatterbot_environment.py --check-spacy-model en_core_web_sm

The only package CLI is a small module entry point:

python -m chatterbot --version
python -m chatterbot --help

Read references/installation-and-extras.md for public install commands, optional extras, spaCy model setup, and service-backend prerequisites. Read references/troubleshooting.md for cross-cutting setup, model, optional dependency, and service failures. Read references/repo-provenance.md before deciding whether this skill matches a newer checkout.

Route by task

Core chatbot behavior

Use core-chatbot when the task is about:

  • creating ChatBot or Statement objects;
  • get_response, generate_response, learn_response, conversation IDs, read_only, or persistence behavior;
  • preprocessors, taggers, language model selection, comparisons, search, response selection, and filters;
  • core CLI/version checks or basic smoke tests.

Training and corpora

Use training when the task is about:

  • ListTrainer, ChatterBotCorpusTrainer, CsvFileTrainer, JsonFileTrainer, or UbuntuCorpusTrainer;
  • chatterbot-corpus, dotted corpus paths, custom YAML corpora, or corpus loading;
  • CSV/TSV/JSON field maps, training data schemas, progress controls, or exporting learned pairs.

Logic adapters and LLM/tool adapters

Use logic-adapters when the task is about:

  • BestMatch, SpecificResponseAdapter, MathematicalEvaluation, TimeLogicAdapter, UnitConversion;
  • default_response, maximum_similarity_threshold, excluded_words, comparison functions, and response selection methods;
  • implementing custom logic adapters;
  • experimental OllamaLogicAdapter / OpenAILogicAdapter and logic_adapters_as_tools MCP-style tool calling.

Storage adapters and retrieval backends

Use storage-adapters when the task is about:

  • SQLStorageAdapter, SQLite/SQLAlchemy configuration, SQL pool options, or CRUD/filter behavior;
  • MongoDatabaseAdapter, MongoDB URIs, TLS kwargs, or unavailable MongoDB service errors;
  • RedisVectorStorageAdapter, Redis vector search, embedding model/provider options, or semantic search behavior;
  • writing a custom StorageAdapter.

Django integration

Use django-integration when the task is about:

  • chatterbot.ext.django_chatterbot, INSTALLED_APPS, migrations, or Django settings;
  • DjangoStorageAdapter, database aliases, swappable Statement/Tag models;
  • Django views/admin/API wiring or the ChatterBot Django example pattern.

Important constraints

  • Do not assume ChatBot("name") works before a spaCy model is installed. Missing model errors usually tell the user to run python -m spacy download <model>.
  • Use database_uri=None for in-memory SQL smoke tests and database_uri="sqlite:///file.sqlite3" for a persistent SQLite file.
  • The Redis, MongoDB, Ollama, and OpenAI paths need optional packages and external services or credentials. Treat them as optional unless the user explicitly chooses them.
  • UnitConversion needs pint; corpus training needs pyyaml and usually chatterbot-corpus; Django workflows need django.
  • Avoid running examples that open an infinite input loop, start services, download large corpora, call model providers, or require API keys unless the user explicitly asks.

Bundled helpers

  • scripts/check_chatterbot_environment.py checks imports, metadata, spaCy models, and optional dependency availability.
  • Sub-skills include small smoke/demo helpers for core chat, training, logic adapters, SQL storage, optional-backend dependency checks, and Django configuration.

These helpers are self-contained and do not require the original repository checkout.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill