A question solver plugin for ovos/neon/mycroft
Project description
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?
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file ovos-solver-rivescript-plugin-0.0.0.tar.gz
.
File metadata
- Download URL: ovos-solver-rivescript-plugin-0.0.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0917e7530537918011198a1cb8b944662ab59a9ff04856104dbb1717f96e826f |
|
MD5 | e23b9e34385ee8292fbded18d91065ed |
|
BLAKE2b-256 | 488a8e82971ae2a8edff4bb45a038196ef2739068bb9641204b3f19de18d9f3f |
File details
Details for the file ovos_solver_rivescript_plugin-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: ovos_solver_rivescript_plugin-0.0.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd8037e3a9fed2c2f55a6376e397202e737b89a1fe2995cc06bf69286c055524 |
|
MD5 | 039b8ae4d3c71331e696f910fd4f9539 |
|
BLAKE2b-256 | 7953423331243960ff431ddeab4cbc1d7edfdaf6d0778ec99fb89ebbd887707f |