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": {}
}

Release files for ovos-ollama-dialog-transformer-plugin 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-ollama-dialog-transformer-plugin 1.1.0
File Size Uploaded
ovos_ollama_dialog_transformer_plugin-1.1.0.tar.gz 8.5 kB Details

Built distribution (wheel)

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

Total release size: 16.8 kB

Release files / ovos_ollama_dialog_transformer_plugin-1.1.0.tar.gz

Download URL ovos_ollama_dialog_transformer_plugin-1.1.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cb9b242dfe6ab210ecc9d89680cda6543077950cde238ec207264058e005986e
BLAKE2b-256 checksum
How to use checksums
7e21ab8ed5023c6aba3ba4624e323180f9b9c6ffcf06dff37403a65d32325540
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.0-py3-none-any.whl

Download URL ovos_ollama_dialog_transformer_plugin-1.1.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe4b428e2184cab5fbe56f1888b625e8554a1bfdb5e8b82ceb046de452f572fc
BLAKE2b-256 checksum
How to use checksums
946b885fb6740aced0c4deef5f6c266d058fe8b37323b262af298fb46221e34b
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