Rivescript Chatbot
Give Mycroft some sass with Rivescript!
Leverages the Alice chatbot to create some fun interactions. Phrases not explicitly handled by other skills will be run by the chatbot, so nearly every interaction will have some response. But be warned, Mycroft might become a bit obnoxious...
Examples
- "Do you like ice cream"
- "Do you like dogs"
- "I have a jump rope"
Usage
Spoken answers api with a Rivescript backend
from ovos_solver_rivescript_plugin import RivescriptSolver
d = RivescriptSolver()
sentence = d.spoken_answer("hello")
print(sentence)
# Hi there!
sentence = d.spoken_answer("Do you like ice cream", {"lang": "pt-pt"})
print(sentence)
# O que queres mesmo saber?
Metadata
Release files for ovos-solver-rivescript-plugin 0.0.1
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-rivescript-plugin-0.0.1.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ovos_solver_rivescript_plugin-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / ovos-solver-rivescript-plugin-0.0.1.tar.gz
| Download URL | ovos-solver-rivescript-plugin-0.0.1.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3ea22fad2de5da4629c6224ea1d5efffe09ec01c40db511ce93f1cfeb520543
|
|
BLAKE2b-256 checksum How to use checksums |
0af06a660b707c4e11e3ebcb6b8eef7ce2ded9d2536332e5fbdbca60acecd073
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / ovos_solver_rivescript_plugin-0.0.1-py3-none-any.whl
| Download URL | ovos_solver_rivescript_plugin-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1d1976a44ba048d518fa6151c262e6858da0a63859256cc59c59e5e8e8ae147
|
|
BLAKE2b-256 checksum How to use checksums |
eaf43cd55b58614b5428bed5fbe9f375c0c38940d37a755aef7f2457c9e943ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|