settings.yml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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-13samples.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. # Spreech to Text engines configuration
  23. # Available engine are:
  24. # - google (via SpeechRecognition)
  25. # -
  26. speech_to_text:
  27. - google:
  28. language: "fr-FR"
  29. - wit:
  30. key: "B5JI3YUSLYOYWNIDBINBVM34XUODME2K"
  31. - bing: # API not working : credential fails ..
  32. key: "9e48ddaf75904838bedc11aea6b36fb0"
  33. - apiai:
  34. key: "e0cbff154af44944a6b9f82c0668b527"
  35. language: "fr"
  36. - houndify:
  37. key: "7zj90T7qAV74OYXk4X4vI2Xhk7wPsJu4aEZ0G5Ll-BMmV1JGtFpCxtSH9SmTY4G3bpEJ7a5y_GTQid-CAKI6vw=="
  38. client_id: "lN4JXeaSticbSo9-llczbA=="
  39. #- cmusphinx
  40. # ---------------------------
  41. # Text to speech
  42. # ---------------------------
  43. # This is the default TTS that will be used by Kalliope to talk.
  44. default_text_to_speech: "pico2wave"
  45. # where we store generated audio files from TTS engine to reuse them
  46. cache_path: "/tmp/kalliope_tts_cache"
  47. # Text to Spreech engines configuration
  48. # Available engine are:
  49. # - pico2wave
  50. # - acapela
  51. # - pico2wave
  52. # - googletts
  53. # - voicerss
  54. text_to_speech:
  55. - pico2wave:
  56. language: "fr-FR"
  57. cache: True
  58. - acapela:
  59. language: "sonid15"
  60. voice: "Manon"
  61. cache: True
  62. - googletts:
  63. language: "fr"
  64. cache: True
  65. - voicerss:
  66. language: "fr-fr"
  67. cache: True
  68. # ---------------------------
  69. # Wake up answers
  70. # ---------------------------
  71. # When Kalliope detect the hotword/trigger, he will select randomly a phrase in the following list
  72. # to notify the user that he's listening for orders
  73. random_wake_up_answers:
  74. - "Oui monsieur?"
  75. - "Je vous écoute"
  76. - "Monsieur?"
  77. - "Que puis-je faire pour vous?"
  78. - "J'écoute"
  79. - "Oui?"
  80. # You can play a sound when Kalliope detect the hotword/trigger instead of saying something from
  81. # the `random_wake_up_answers`.
  82. # Place here the full path of the sound file or just the name of the file in /usr/lib/kalliope/sounds
  83. # The file must be .wav or .mp3 format. By default two file are provided: ding.wav and dong.wav
  84. #random_wake_up_sounds:
  85. # - "sounds/ding.wav"
  86. # - "sounds/dong.wav"
  87. # - "/my/personal/full/path/my_file.mp3"
  88. # ---------------------------
  89. # On ready notification
  90. # ---------------------------
  91. # 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
  92. # This parameter define if you play the on ready answer:
  93. # - always: every time Kalliope is ready to be awaken
  94. # - never: never play a sound or sentences when kalliope is ready
  95. # - once: at the first start of Kalliope
  96. play_on_ready_notification: never
  97. # 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
  98. on_ready_answers:
  99. - "Kalliope is ready"
  100. - "Waiting for order"
  101. # You can play a sound instead of a sentence.
  102. # Remove the `on_ready_answers` parameters by commenting it out and use this one instead.
  103. # Place here the path of the sound file. Files must be .wav or .mp3 format.
  104. on_ready_sounds:
  105. - "sounds/ding.wav"
  106. - "sounds/dong.wav"
  107. # ---------------------------
  108. # Rest API
  109. # ---------------------------
  110. rest_api:
  111. active: False
  112. port: 5000
  113. password_protected: True
  114. login: admin
  115. password: secret
  116. allowed_cors_origin: False
  117. # ---------------------------
  118. # Default Synapse
  119. # ---------------------------
  120. # Specify an optional default synapse response in case your order is not found.
  121. default_synapse: "default-synapse"
  122. # ---------------------------
  123. # Resource directory path
  124. #
  125. # Accepted types :
  126. # - neuron
  127. # - stt
  128. # - tts
  129. # - trigger /!\ we do not manage trigger properly yet...
  130. # ---------------------------
  131. #resource_directory:
  132. # neuron: "/var/tmp/resources/neurons"
  133. # stt: "resources/stt"
  134. # tts: "resources/tts"
  135. # trigger: "resources/trigger"
  136. # ---------------------------
  137. # Global files variables
  138. # /!\ If a variable is defined in different files, the last file defines the value.
  139. # ---------------------------
  140. #var_files:
  141. # - variables.yml
  142. # - variables2.yml