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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos_solver_failure_plugin-0.0.6a2.tar.gz.
File metadata
- Download URL: ovos_solver_failure_plugin-0.0.6a2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfc109aaefaae522a7f997a0bbd56c7dea98d26f797f1b37c0cf9956c4e3e92b
|
|
| MD5 |
9cc139099a828525ee54c2f27a54304d
|
|
| BLAKE2b-256 |
fa25c6402e3234d4d92fe0a9b0f1e9306a0af82edd7c162ecb4f9635f1631acc
|
File details
Details for the file ovos_solver_failure_plugin-0.0.6a2-py3-none-any.whl.
File metadata
- Download URL: ovos_solver_failure_plugin-0.0.6a2-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3659591e80e56bdb1bc8d954f2e68d8925366dad59d5c525884077ec83d289b9
|
|
| MD5 |
735b9550a86ed944ffb273a1b92b6810
|
|
| BLAKE2b-256 |
6623c5dfce2fc0cbd4a99e33f77cdf408e6977f5c91763a6b72e060b69b743e7
|