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.1a1
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 | |
|---|---|---|---|---|
| ovos_solver_failure_plugin-1.0.1a1.tar.gz | 9.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ovos_solver_failure_plugin-1.0.1a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.8 kB
Release files / ovos_solver_failure_plugin-1.0.1a1.tar.gz
| Download URL | ovos_solver_failure_plugin-1.0.1a1.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bef363a9cfab6c1033edad411a5ff240b878bff8b3d88014641f4162d82945b
|
|
BLAKE2b-256 checksum How to use checksums |
ed4277fd904edb75eee10c1453e48f077e6ed1b9e35431d59748a1f4ef508c1f
|
| 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-1.0.1a1-py3-none-any.whl
| Download URL | ovos_solver_failure_plugin-1.0.1a1-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3250f7997d795e8be0ef5d0309a59623c54baab042ec5aa3329f3e2da745f47c
|
|
BLAKE2b-256 checksum How to use checksums |
ed9e27d0bfb3a9e160b705cb658eefa54de26f6af72b85ca95a78dafd13e97b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for ovos-solver-failure-plugin 1.0.1a1
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.