Skip to main content

PyRomusa AI — v0.11.1 🤖

  • Version type: STABLE
  • Release date: 2026-12-01

Overview

This version/framework focuses on creating a very simple, beginner-friendly chatbot system, built with:

  • custom logic (Chatbot() object)
  • real machine learning models (RealChatbot() object)

It exists to:

  • help beginners understand how chatbot logic can work
  • allow fast experimentation with simple AI-like behaviour
  • avoid complex frameworks and heavy dependencies (Chatbot() object)

What makes it different:

  • you can avoid neural networks, hidden layers, ML libraries (Chatbot() object)
  • you can using LLM tehnologies (RealChatbot() object)
  • fully custom, readable logic

This version implements two types of chatbot objects:

  • Chatbot() (optimized for few training examples and hardware-undemanding)
  • RealChatbot() (optimized for large, serious projects, real experimentation and hardware-demanding)

Files Included

General structure (exactly this structure will be found if you search in 📁all versions of this repository):

|-📁PyRomusa_AI - vX.Y.Z/
|----📄README.md
|
|----📁PyRomusa_AI/
|-------- 🐍PyRomusa_AI.py
|-------- 🐍errors.py
|
|-------- 📁Datasets/
|------------ more Python files...
|
|-------- 📁Reply_Engines/
|------------ more Python files...

More exact structure (if you search in the 📁src folder):

|- 📁src/
|--- ⚙️pyproject.toml
|--- 📄README.md
├─── 📁pyromusa_ai/
    |--- 🐍core.py
    |--- 🐍__init__.py
    |--- 🐍errors.py
    ├─── 📁Datasets
    └─── 📁Reply_Engines

Where:

File/Folder name Description
📁PyRomusa_AI - vX.Y.Z , 📁src/ The main folder containing everything for that version of the framework (full framework code + 📄README.md)
📄README.md Documentation for this specific version
📁PyRomusa_AI/ , 📁pyromusa_ai/ The secondary folder, which only has all the code that contributes to the 100% functional PyRomusa AI
🐍PyRomusa_AI.py , 🐍core.py The main/core code of PyRomusa AI
📁Datasets/ Folder with some optional code for the main framework code (🐍PyRomusa_AI.py) for ready-made data to train your chatbot
⚙️pyproject.toml A very important file to be able to install with pip install, but completely useless if you install PyRomusa AI manually
🐍errors.py A new file from 0.6.0, here you find different types of errors that you can catch in PyRomusa AI
📁Reply_Engines/ The folder containing the most important lines of code for the main goal of PyRomusa AI. These lines of code are mandatory for generating responses based on a prompt.

What's New

  • |RealChatbot() object| More optimizers, more options: For greater flexibility and an increased capacity to experiment, I have added new optimizers from the PyTorch ecosystem—specifically, RAdam and Adafactor.

  • |RealChatbot() object| Now, training begins at step 1 instead of step 0: Since it seemed odd that the training started from step 0, it now begins at step 1, so that the steps are counted correctly.

  • |RealChatbot() object| The default values ​​for the main training parameters have changed: Previously, in the bot.trainer.start() function, the epochs parameter was set to 100, and show_loss_every_x_epochs was set to 10. Since these values ​​seemed somewhat high for typical training requirements, I lowered them—setting epochs=10 and show_loss_every_x_epochs=1—thereby reducing the need for manual parameter adjustments.

  • |Chatbot() object| Changed the default chatbot_name value: To match the default name in RealChatbot(), I changed ChatBot -> Chatbot.

  • |Chatbot() object| Incorrect values ​​after reset: When the bot.reset() function was called, the chatbot's name and description were an empty string. Now, following a reset, these default values ​​are correctly set.

  • |Chatbot() object| Optional timer for response generation + training: For those who are curious, you can measure the generation/training time directly in seconds by simply changing the value of the show_total_time_of_generating_when_ends/show_total_time_of_training_when_ends parameter from False to True.

  • |RealChatbot() object| The ability to see the number of parameters before starting training: For greater flexibility, you can call the bot.show_number_of_parameters() function even without prior training; however, performing the training step beforehand remains important (since the vocabulary acquired during training can cause the number of parameters to increase significantly).

  • |RealChatbot() object| Optional timer when generating a response: Just as a training timer was added in the previous version, this system is now also available for the bot.reply_at() function, enabled via the show_total_time_of_generating_when_ends parameter.

  • |RealChatbot() object| Default tokenizer changed: Previously, the char-level tokenizer was the default, but it has been switched to a semiwords-level tokenizer. This is because the char-level approach requires more training time, greater computational capacity, and a larger number of training examples to learn how to write even a few words with 100% accuracy. Now, with the semiwords-level tokenizer, the chatbot will train faster and can learn to produce accurate output using fewer training examples.

  • |RealChatbot() object| More keywords available for choosing a specific tokenizer type: Perhaps you are accustomed to writing words in the plural or singular, or maybe you are used to using uppercase, lowercase, or even a mix of both. Well, now, even if you make a tiny—practically negligible—typo, the tokenizer_type parameter will still understand you.

  • Specific structure for the information output upon loading a dataset: For greater clarity—so you know the source of each output—I have added a specific structure ([DATASET LOADER] ...) when you attempt to load a dataset using the bot.prepared_datasets. ... function.

  • Update to the Romanian language dataset, 'Teacher for PyRomusa AI': It has been added more training examples to be able to answer more prompts. It is now a better dataset than in the previous version.


✅ STABLE release notice:

  • The API is considered stable and ready for regular use
  • Core logic is implemented and tested
  • Behaviour is consistent across typical use cases
  • Minor bugs may still exist, but no breaking changes are expected

Quick Usage Examples

1. Creating your first functional chatbot ever

from pyromusa_ai import Chatbot

# Create a chatbot
bot = Chatbot(chatbot_name="RomusaBot")

# Add training data
bot.trainer.add_data("Hello!", "Hi there!")
bot.trainer.add_data("Bye!", "Goodbye!")

# Start training
bot.trainer.start()

# Get a response
print(bot.reply_at("Hello!"))

2. Learn to start using the framework

from pyromusa_ai import Chatbot

# Create a chatbot
bot = Chatbot()

# Get help
bot.helper.how_to_start()

Note:

Depending on how you installed PyRomusa AI, this framework, in your code, must be imported like this, one of these 2 variants:

a) If you installed with pip install ...:

from pyromusa_ai import Chatbot

b) If you installed manually from this repository, preserving file names, from 📁all versions folder:

from PyRomusa_AI import Chatbot # If your code is located in the same folder as 🐍PyRomusa_AI.py

or

from PyRomusa_AI.PyRomusa_AI import Chatbot # If your code is in the same folder as the folder that has all the resources for PyRomusa AI (📁PyRomusa_AI)

Metadata

Release files for pyromusa-ai 0.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyromusa-ai 0.11.1
File Size Uploaded Provenance Actions
pyromusa_ai-0.11.1.tar.gz 286.1 kB With provenance Details for pyromusa_ai-0.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyromusa-ai 0.11.1
File Interpreter ABI Platform Actions
pyromusa_ai-0.11.1-py3-none-any.whl Python 3 none any Details for pyromusa_ai-0.11.1-py3-none-any.whl

Total release size: 581.0 kB

Release files / pyromusa_ai-0.11.1.tar.gz

Download URL pyromusa_ai-0.11.1.tar.gz
Size 286.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a72ba31c854210a878f9cc640aa29900667291c837f6bfacca4ddf04e1668a61
BLAKE2b-256 checksum
How to use checksums
89817b7f2bc40224a3c186a00fe638dc994673652013a808dd76188a3b39a2fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / pyromusa_ai-0.11.1-py3-none-any.whl

Download URL pyromusa_ai-0.11.1-py3-none-any.whl
Size 295.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74a22c3b0ae96118d84ac783420d02c0e4aecdd28c90b4663717a28b7a4f3863
BLAKE2b-256 checksum
How to use checksums
8301168328f40dc853008f7bc7ff06b7f5cc5678ea0f65174453e00f200ea9b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for pyromusa-ai 0.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyromusa_ai-0.11.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page