settings_test.yml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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 notification
  55. # ---------------------------
  56. # This section is used to notify the user when Kalliope is waiting for a trigger detection by playing a sound or speak a sentence out loud
  57. # This parameter define if you play the on ready answer:
  58. # - always: every time Kalliope is ready to be awaken
  59. # - never: never play a sound or sentences when kalliope is ready
  60. # - once: at the first start of Kalliope
  61. play_on_ready_notification: never
  62. # The on ready notification can be a sentence. Place here a sentence or a list of sentence. If you set a list, one sentence will be picked up randomly
  63. on_ready_answers:
  64. - "Kalliope is ready"
  65. # You can play a sound instead of a sentence.
  66. # Remove the `on_ready_answers` parameters by commenting it out and use this one instead.
  67. # Place here the path of the sound file. Files must be .wav or .mp3 format.
  68. on_ready_sounds:
  69. - "sounds/ding.wav"
  70. - "sounds/dong.wav"
  71. # ---------------------------
  72. # Rest API
  73. # ---------------------------
  74. rest_api:
  75. active: True
  76. port: 5000
  77. password_protected: True
  78. login: admin
  79. password: secret
  80. allowed_cors_origin: False
  81. # ---------------------------
  82. # Default Synapse
  83. # ---------------------------
  84. # Specify an optional default synapse response in case your order is not found.
  85. default_synapse: "Default-synapse"
  86. # ---------------------------
  87. # resource directory path
  88. # ---------------------------
  89. resource_directory:
  90. neuron: "/tmp/kalliope/tests/kalliope_resources_dir/neurons"
  91. stt: "/tmp/kalliope/tests/kalliope_resources_dir/stt"
  92. tts: "/tmp/kalliope/tests/kalliope_resources_dir/tts"
  93. trigger: "/tmp/kalliope/tests/kalliope_resources_dir/trigger"
  94. # ---------------------------
  95. # Global files variables
  96. # /!\ If a variable is defined in different files, the last file defines the value.
  97. # ---------------------------
  98. var_files:
  99. - "../Tests/settings/variables.yml"