settings_test.yml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. ---
  2. # ---------------------------
  3. # Kalliope default settings
  4. # Use YAML syntax
  5. # ---------------------------
  6. # ---------------------------
  7. # Trigger
  8. # ---------------------------
  9. # This is the trigger that will catch your magic work to wake up Kalliope
  10. default_trigger: "snowboy"
  11. # Trigger engine configuration
  12. # Available engine are:
  13. # - snowboy
  14. triggers:
  15. - snowboy:
  16. pmdl_file: "trigger/snowboy/resources/kalliope-FR-6samples.pmdl"
  17. # ---------------------------
  18. # Speech to text
  19. # ---------------------------
  20. # This is the STT that will be used by default
  21. default_speech_to_text: "google"
  22. speech_to_text:
  23. - google:
  24. language: "fr-FR"
  25. # ---------------------------
  26. # Text to speech
  27. # ---------------------------
  28. # This is the default TTS that will be used by Kalliope to talk.
  29. default_text_to_speech: "pico2wave"
  30. # where we store generated audio files from TTS engine to reuse them
  31. cache_path: "/tmp/kalliope_tts_cache"
  32. text_to_speech:
  33. - pico2wave:
  34. language: "fr-FR"
  35. cache: True
  36. - voxygen:
  37. voice: "Agnes"
  38. cache: True
  39. # ---------------------------
  40. # Wake up answers
  41. # ---------------------------
  42. # When Kalliope detect the hotword/trigger, he will select randomly a phrase in the following list
  43. # to notify the user that he's listening for orders
  44. random_wake_up_answers:
  45. - "Oui monsieur?"
  46. # You can play a sound when Kalliope detect the hotword/trigger instead of saying something from
  47. # the `random_wake_up_answers`.
  48. # Place here the full path of the sound file or just the name of the file in /usr/lib/kalliope/sounds
  49. # The file must be .wav or .mp3 format. By default two file are provided: ding.wav and dong.wav
  50. random_wake_up_sounds:
  51. - "sounds/ding.wav"
  52. - "sounds/dong.wav"
  53. # ---------------------------
  54. # On ready answers
  55. # ---------------------------
  56. # You can play a sound when Kalliope is started and is waiting for the trigger.
  57. random_on_ready_answers:
  58. - "Kalliope is ready"
  59. # If you prefer, you can play a sound instead of a sentence.
  60. # Remove the `random_on_ready_answers` parameters to use this one.
  61. # Place here the full path of the sound file or just the name of the file in /usr/lib/kalliope/sounds
  62. # The file must be .wav or .mp3 format. By default two file are provided: ding.wav and dong.wav
  63. random_on_ready_sounds:
  64. - "sounds/ding.wav"
  65. - "sounds/dong.wav"
  66. # ---------------------------
  67. # Rest API
  68. # ---------------------------
  69. rest_api:
  70. active: True
  71. port: 5000
  72. password_protected: True
  73. login: admin
  74. password: secret
  75. allowed_cors_origin: False
  76. # ---------------------------
  77. # Default Synapse
  78. # ---------------------------
  79. # Specify an optional default synapse response in case your order is not found.
  80. default_synapse: "Default-synapse"
  81. # ---------------------------
  82. # resource directory path
  83. # ---------------------------
  84. resource_directory:
  85. neuron: "/tmp/kalliope/tests/kalliope_resources_dir/neurons"
  86. stt: "/tmp/kalliope/tests/kalliope_resources_dir/stt"
  87. tts: "/tmp/kalliope/tests/kalliope_resources_dir/tts"
  88. trigger: "/tmp/kalliope/tests/kalliope_resources_dir/trigger"