This release is a pre-release and may not be stable for production use.
ovos-solver-failure-plugin
A chat engine plugin for OpenVoiceOS personas that never answers the question. It always returns a canned line, so it works as the last link of a persona chain when every other handler declines. Registered as ovos-solver-failure-plugin in the opm.agents.chat entry-point group.
Install
pip install ovos-solver-failure-plugin
Usage
In a persona file, list it last:
{"name": "OldSchoolBot", "solvers": ["ovos-solver-rivescript-plugin", "ovos-solver-failure-plugin"]}
Directly:
from ovos_plugin_manager.templates.agents import AgentMessage, MessageRole
from ovos_solver_failure_plugin import FailureChatEngine
engine = FailureChatEngine()
reply = engine.continue_chat([AgentMessage(MessageRole.USER, "hello")], lang="en-US")
print(reply.content)
# 404 brain not found
The plugin ships lines for en-US, da-DK, fr-FR, and sv-SE in locale/<lang>/no_brain.dialog. The lang argument picks the closest shipped language (en-us and en-GB both resolve to en-US). If no shipped language is close enough, the reply is 404.
Related projects
- OpenVoiceOS/ovos-persona: chains handlers, including this one, 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 1.0.1a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ovos_solver_failure_plugin-1.0.1a2.tar.gz | 9.6 kB | Without provenance | Details for ovos_solver_failure_plugin-1.0.1a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ovos_solver_failure_plugin-1.0.1a2-py3-none-any.whl | Python 3 | none | any | Details for ovos_solver_failure_plugin-1.0.1a2-py3-none-any.whl |
Total release size: 19.3 kB
Release files / ovos_solver_failure_plugin-1.0.1a2.tar.gz
| Download URL | ovos_solver_failure_plugin-1.0.1a2.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0d00204d576194d2d73f24c7e0041881528c91f15f0b2ab71d2481f6631a889
|
|
BLAKE2b-256 checksum How to use checksums |
6065b68daa19940cdbb9dfd77e3333f06d80e5e6edf480032000139b65e696e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / ovos_solver_failure_plugin-1.0.1a2-py3-none-any.whl
| Download URL | ovos_solver_failure_plugin-1.0.1a2-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3ffa0720c789dbff34b66ef7aee55338ee5c74d3403c79958d4099f2478aa83
|
|
BLAKE2b-256 checksum How to use checksums |
fc663f095d2e5e07226b0bde04003838c3706997f26a31f291eab012da88ac50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for ovos-solver-failure-plugin 1.0.1a2
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.