Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Rivescript Chatbot

This plugin is a question solver that answers with a Rivescript chatbot. It uses the Alice chatbot brain to answer phrases that no other skill handles, so almost every input gets some response. Answers can be casual and a bit sassy.

Examples

  • "Do you like ice cream"
  • "Do you like dogs"
  • "I have a jump rope"

Usage

The plugin exposes a 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?

Related projects

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_rivescript_plugin-0.1.0a2.tar.gz (46.2 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_rivescript_plugin-0.1.0a2-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

Details for the file ovos_solver_rivescript_plugin-0.1.0a2.tar.gz.

File metadata

File hashes

Hashes for ovos_solver_rivescript_plugin-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 1157abfa583e4acda2c6af9872e7fc68a007ed8a804e26198e2f6abc0b9c7c49
MD5 73f17210c53bf681832117d92c86e3d8
BLAKE2b-256 64dc25956b02e37ce3b2cee23cbc3e054e1033c18ffee052933f46728c5bfeb8

See more details on using hashes here.

File details

Details for the file ovos_solver_rivescript_plugin-0.1.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_solver_rivescript_plugin-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea38b66c71bef7c37b8c35b97ec930095dda5cf6db92329446e53ff7aea568eb
MD5 aa3aad1085eb1dad4f26de24aa377352
BLAKE2b-256 56b90729d31c16bee9427473d8e757c651712dc8345476aabf75f27ad7e516a7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0a2 This release

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