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.1a1.tar.gz (47.9 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.1a1-py3-none-any.whl (50.6 kB view details)

Uploaded Python 3

File details

Details for the file ovos_solver_rivescript_plugin-0.1.1a1.tar.gz.

File metadata

File hashes

Hashes for ovos_solver_rivescript_plugin-0.1.1a1.tar.gz
Algorithm Hash digest
SHA256 71232a37309a532f578d56a06db628ab18aae5e08daeca79fa8acbfca3fa7144
MD5 424d98c5b2afec1c9fc9d5c73e321471
BLAKE2b-256 6ed08d6da353a16b6e74e72dfefd8a89a539ace4863831acad866b60f2bde0f1

See more details on using hashes here.

File details

Details for the file ovos_solver_rivescript_plugin-0.1.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_solver_rivescript_plugin-0.1.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 5243edd7b2430b9f20b48ee1f3f99d19277cdb5d7c77248a357c14252a61d08a
MD5 157432fd6a85b43c0e6a832cd4bcf257
BLAKE2b-256 95e2d9ec4051ea032ab0ba47794ffe2fb451fbf3bdb925da048ec5ead66473a1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1a1 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