kalliope_memory.yml 837 B

123456789101112131415161718192021222324252627282930313233
  1. # test with a value to save from the order
  2. - name: "cortex-1"
  3. signals:
  4. - order: "dis bonjour à {{ friend }}"
  5. neurons:
  6. - say:
  7. message:
  8. - "Bonjour {{ friend }}"
  9. kalliope_memory:
  10. friend: "{{ friend }}"
  11. - name: "remember-synapse222"
  12. signals:
  13. - order: "remind me {{ remember }} in {{ time }} seconds"
  14. neurons:
  15. - neurotimer:
  16. seconds: "{{ time }}"
  17. synapse: "remember-todo22"
  18. kalliope_memory:
  19. remember: "{{ remember }}"
  20. minutes: "{{ time }}"
  21. - say:
  22. message:
  23. - "Ok {{ time }} seconds"
  24. - name: "remember-todo22"
  25. signals:
  26. - order: "no-order-for-this-synapse111"
  27. neurons:
  28. - say:
  29. message:
  30. - "does this work? {{ kalliope_memory['remember'] }} and the time? {{ kalliope_memory['minutes'] }}"