Skip to main content

ovos-kid-friendly-dialog-transformer

Status: Proof of Concept

Dialog transformer for OVOS, designed to return kid-friendly responses from Ollama.

The default model to use is llama3.2, which is a 3B parameter model and has a difficult time following instructions. You will probably need to adjust your prompt for best results.

Configuration

To enable the Kid-Friendly Dialog Transformer Plugin, add the following to your mycroft.conf (typically found at ~/.config/mycroft/mycroft.conf):

"dialog_transformers": {
    "ovos-kid-friendly-dialog-transformer": {
        "prompt": "Rewrite the following text to be more kid-friendly, assuming a movie rating of G. When in doubt, make it more kid-friendly. All responses should be short, concise, friendly, and helpful. Do not respond conversationally. Simply rewrite the text and add no additional commentary or prompt information. If there is no dialog, please simply say 'Hang on'. Don't mention anything about rewriting text. The dialog to rewrite is as follows:",
        "model": "llama3.2",
        "timeout": 10,
        "stream": false,
        "ollama_base_url": "http://localhost:11434"
    }
}

Note that these are all default values, so a minimal configuration would be:

"dialog_transformers": {
    "ovos-kid-friendly-dialog-transformer": {}
}

Release files for ovos-kid-friendly-dialog-transformer 1.1.0

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

Source distribution (sdist)

Source distribution for ovos-kid-friendly-dialog-transformer 1.1.0
File Size Uploaded
ovos_kid_friendly_dialog_transformer-1.1.0.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-kid-friendly-dialog-transformer 1.1.0
File Interpreter ABI Platform
ovos_kid_friendly_dialog_transformer-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.0 kB

Release files / ovos_kid_friendly_dialog_transformer-1.1.0.tar.gz

Download URL ovos_kid_friendly_dialog_transformer-1.1.0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6c38caa36f3bddecea81f33832089c772f0f53e2bd1f7ec8b2d33f372c1677bd
BLAKE2b-256 checksum
How to use checksums
c8e8b6e2d827d29cba544a99b79799d3cefd5dd3dc0c0c3d9110b378d4b5cd52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_kid_friendly_dialog_transformer-1.1.0-py3-none-any.whl

Download URL ovos_kid_friendly_dialog_transformer-1.1.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3994eaf978d0ab75a554ebedc6271bbb48a67be815b8f483355eaddd238f00f8
BLAKE2b-256 checksum
How to use checksums
9bbe6f3f5d1906d2c0ca5481671d5ea6067b656229112bc35bb8fc2030e77509
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

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