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.2

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.2
File Size Uploaded Provenance Actions
ovos_ollama_dialog_transformer_plugin-1.1.2.tar.gz 8.6 kB Without provenance Details for ovos_ollama_dialog_transformer_plugin-1.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 16.9 kB

Release files / ovos_ollama_dialog_transformer_plugin-1.1.2.tar.gz

Download URL ovos_ollama_dialog_transformer_plugin-1.1.2.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
69efe80e86122c62e5ae419eae9ff4468f12ed508931c2310a40c3bd0f20a5b1
BLAKE2b-256 checksum
How to use checksums
03eaf52a2a6b8af6af3bec7df3e4a1be4ed8ffa01ac2643dfe4bf452f12950ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL ovos_ollama_dialog_transformer_plugin-1.1.2-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecb10e5980bb83a70220cdb12d034e1a820fa13287ac424177f9844eef03ef27
BLAKE2b-256 checksum
How to use checksums
6d6f711277f2b4e2ea82818daa4e50d216b2f7f215d91850374b2a180f28ba23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for ovos-ollama-dialog-transformer-plugin 1.1.2

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