Skip to content
A simple neuron for Kalliope to repeat text
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
samples
README.md
__init__.py
dna.yml
install.yml
repeat.py

README.md

kalliope-repeat

A neuron to say / repeat text

Synopsis

Make kalliope say what you want

Installation

kalliope install --git-url https://github.com/bacardi55/kalliope-repeat.git

Options

parameter required default choices comment
* Yes String* * Your incoming query

You can put as many parameters that you want, the neurons will simply send them back to you. So for example you send arg1 and arg2, you will be able to use {{arg1}} and {{arg2}} in your say_template or template.

Return Values

Name Description Type sample
* The query you sent String

As describe above, return values are all the input values.

Synapses example

Play a playlist by giving its name to kalliope

  - name: "Repeat"
    signals:
      - order: "repeat after me {{ query }}"
    neurons:
      - repeat:
          query: "{{query}}"
          say_template:
            - "{{ query }}"
  - name: "Say-hello-to"
    signals:
      - order: "say hi to {{ name }}"
    neurons:
      - repeat:
          name: "{{name}}"
          say_template:
            - "Hi {{ name }}, and welcome"
  - name: "Repeat-via-api"
    signals:
      - order: "api-repeat-cmd {{ query }}"
    neurons:
      - repeat:
          query: "{{query}}"
          say_template:
            - "{{ query }}"

Template example

see more example in the sample brain file

You can’t perform that action at this time.