Skip to main content
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

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

ovos_solver_failure_plugin-0.0.6a2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_solver_failure_plugin-0.0.6a2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file ovos_solver_failure_plugin-0.0.6a2.tar.gz.

File metadata

File hashes

Hashes for ovos_solver_failure_plugin-0.0.6a2.tar.gz
Algorithm Hash digest
SHA256 bfc109aaefaae522a7f997a0bbd56c7dea98d26f797f1b37c0cf9956c4e3e92b
MD5 9cc139099a828525ee54c2f27a54304d
BLAKE2b-256 fa25c6402e3234d4d92fe0a9b0f1e9306a0af82edd7c162ecb4f9635f1631acc

See more details on using hashes here.

File details

Details for the file ovos_solver_failure_plugin-0.0.6a2-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_solver_failure_plugin-0.0.6a2-py3-none-any.whl
Algorithm Hash digest
SHA256 3659591e80e56bdb1bc8d954f2e68d8925366dad59d5c525884077ec83d289b9
MD5 735b9550a86ed944ffb273a1b92b6810
BLAKE2b-256 6623c5dfce2fc0cbd4a99e33f77cdf408e6977f5c91763a6b72e060b69b743e7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.6a2 This release

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

0.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page