FailureSolver
August 1, 2026 ยท View on GitHub
FailureSolver is a question solver plugin for OVOS, Neon, and Mycroft assistants. It never answers a query. It always returns a fallback message, so it works as the last solver in a chain when every other solver fails.
Install
pip install ovos-solver-failure-plugin
Usage
from ovos_solver_failure_plugin import FailureSolver
d = FailureSolver()
sentence = d.spoken_answer("hello")
print(sentence)
# 404 brain not found
The plugin ships fallback dialogs for en-US, da-DK, fr-FR, and sv-SE. Pass a lang code to spoken_answer to pick one:
sentence = d.spoken_answer("hello", lang="fr-FR")
If no dialog exists for the requested language, the plugin returns 404.
Related projects
- OpenVoiceOS/ovos-persona: chains question solvers, including this fallback, to answer user queries.
- OpenVoiceOS/ovos-solver-BM25-plugin: a sibling question solver plugin.
- OpenVoiceOS/ovos-ddg-solver-plugin: a sibling question solver plugin backed by DuckDuckGo.
License
MIT