Nicolas Marcq c1f7a1fc27 Feature/hooks (#388) 7 rokov pred
..
tests d8af8276a1 Make all tests pass by fixing import paths in latest added files. 8 rokov pred
README.md c1f7a1fc27 Feature/hooks (#388) 7 rokov pred
__init__.py 67354d07b3 use relative imports 8 rokov pred
say.py c6f0598d8e fix the import path for the new layout. ex: 'from kalliope.core…' unstead of 'from core' 8 rokov pred

README.md

say

Synopsis

This neuron is the mouth of Kalliope and uses the TTS to say the given message.

Installation

CORE NEURON : No installation needed.

Options

parameter required default choices comment
message YES A single message or a list of messages Kalliope could say

Return Values

No returned values

Synapses example

Simple example :

- name: "Say-hello"
  signals:
    - order: "hello"
  neurons:
    - say:
        message: "Hello Sir"     

With a multiple choice list, Kalliope will pick one randomly:

- name: "Say-hello"
  signals:
    - order: "hello"
  neurons:
    - say:
        message:
          - "Hello Sir"
          - "Welcome Sir"
          - "Good morning Sir"

With an input value

- name: "Say-hello-to-friend"
  signals:
    - order: "say hello to {{ friend_name }}"
  neurons:
    - say:
        message: "Hello {{ friend_name }}"

Notes

Note: The neuron does not return any values. Note: Kalliope randomly takes a message from the list