settings.yml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. # - voxygen
  51. text_to_speech:
  52. - pico2wave:
  53. language: "fr-FR"
  54. cache: True
  55. - voxygen:
  56. voice: "Agnes"
  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 answers
  90. # ---------------------------
  91. # You can play a sound when Kalliope is started and is waiting for the trigger.
  92. #random_on_ready_answers:
  93. # - "Kalliope is ready"
  94. # If you prefer, you can play a sound instead of a sentence.
  95. # Remove the `random_on_ready_answers` parameters to use this one.
  96. # Place here the full path of the sound file or just the name of the file in /usr/lib/kalliope/sounds
  97. # The file must be .wav or .mp3 format. By default two file are provided: ding.wav and dong.wav
  98. #random_on_ready_sounds:
  99. # - "sounds/ding.wav"
  100. # - "sounds/dong.wav"
  101. # ---------------------------
  102. # Rest API
  103. # ---------------------------
  104. rest_api:
  105. active: True
  106. port: 5000
  107. password_protected: True
  108. login: admin
  109. password: secret
  110. allowed_cors_origin: False
  111. # ---------------------------
  112. # Default Synapse
  113. # ---------------------------
  114. # Specify an optional default synapse response in case your order is not found.
  115. default_synapse: "Default-synapse"
  116. # ---------------------------
  117. # Resource directory path
  118. #
  119. # Accepted types :
  120. # - neuron
  121. # - stt
  122. # - tts
  123. # - trigger /!\ we do not manage trigger properly yet...
  124. # ---------------------------
  125. #resource_directory:
  126. # neuron: "/var/tmp/resources/neurons"
  127. # stt: "resources/stt"
  128. # tts: "resources/tts"
  129. # trigger: "resources/trigger"