Skip to main content

ovos-ollama-dialog-transformer-plugin

Status: Proof of Concept

Dialog transformer for OVOS, designed to return responses from Ollama. By default it will make all your OVOS responses sarcastic.

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. phi4 has yielded good results in testing.

Configuration

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

"dialog_transformers": {
    "ovos-ollama-dialog-transformer-plugin": {
        "prompt": "Please revise this text in 30 words or less as if it were spoken by a sarcastic AI. You are not an AI, you are revising text as if you were an AI. Don't mention anything about rewriting text, or your training, and don't use emoji. 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-ollama-dialog-transformer-plugin": {}
}

Metadata

Release files for ovos-ollama-dialog-transformer-plugin 1.1.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 ovos-ollama-dialog-transformer-plugin 1.1.1
File Size Uploaded Provenance Actions
ovos_ollama_dialog_transformer_plugin-1.1.1.tar.gz 8.5 kB Without provenance Details for ovos_ollama_dialog_transformer_plugin-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-ollama-dialog-transformer-plugin 1.1.1
File Interpreter ABI Platform Actions
ovos_ollama_dialog_transformer_plugin-1.1.1-py3-none-any.whl Python 3 none any Details for ovos_ollama_dialog_transformer_plugin-1.1.1-py3-none-any.whl

Total release size: 16.8 kB

Release files / ovos_ollama_dialog_transformer_plugin-1.1.1.tar.gz

Download URL ovos_ollama_dialog_transformer_plugin-1.1.1.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8e07983b5d3b0148560dc4843dd4d249452f0db82be7abdb67995156d304f6df
BLAKE2b-256 checksum
How to use checksums
f00222e252ee4eb98166cadb8c17b4e3dbfb2bdb621e706262f0b6900f0253a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_ollama_dialog_transformer_plugin-1.1.1-py3-none-any.whl

Download URL ovos_ollama_dialog_transformer_plugin-1.1.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13535fd153acebac1bc417641fccc73e00e584c5ea5181aed88fc05175cd3667
BLAKE2b-256 checksum
How to use checksums
8db05dcf7ab04cc0d11d1b8c964002a197b00343a972766b25427038993395ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for ovos-ollama-dialog-transformer-plugin 1.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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