Pre-release
This release is a pre-release and may not be stable for production use.
FailureSolver
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
Metadata
Release files for ovos-solver-failure-plugin 0.0.6a3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ovos_solver_failure_plugin-0.0.6a3.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ovos_solver_failure_plugin-0.0.6a3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.2 kB
Release files / ovos_solver_failure_plugin-0.0.6a3.tar.gz
| Download URL | ovos_solver_failure_plugin-0.0.6a3.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d2307f206dfd970bbcd2411d9fab66a5def92693dd25096d707e4d677ed2da3
|
|
BLAKE2b-256 checksum How to use checksums |
a1fca034711b69d24fba93d639147388f1a9ccccb223cc4ce8199e3436483294
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ovos_solver_failure_plugin-0.0.6a3-py3-none-any.whl
| Download URL | ovos_solver_failure_plugin-0.0.6a3-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88078bbcb4cc071e843edc19048b9933b20401a3d40d4994d0e0f13fb7144c6c
|
|
BLAKE2b-256 checksum How to use checksums |
f31e4eedc10b163a494b6765dfcf8c6bda2f36c903b7c51edc954294a05e0dd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|