Skip to content

OpenVoiceOS/ovos-solver-plugin-rivescript

Repository files navigation

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?