Give Mycroft some sass with AIML!
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...
- "Do you like ice cream"
- "Do you like dogs"
- "I have a jump rope"
Spoken answers api with a AIML backend
from ovos_solver_aiml_plugin import AIMLSolver
d = AIMLSolver()
sentence = d.spoken_answer("hello")
print(sentence)
# Hi there!
sentence = d.spoken_answer("Do you like ice cream", {"lang": "pt-pt"})
print(sentence)
# Grito, gritas, todos gritamos por gelado