settings.yml 4.0 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: # Fail retriving the text from the audio file ..
  34. key: "e0cbff154af44944a6b9f82c0668b527"
  35. language: "fr"
  36. - houndify: # In the online documentation but Not implemented yet in the speech recognition lib ..?
  37. key: "7zj90T7qAV74OYXk4X4vI2Xhk7wPsJu4aEZ0G5Ll-BMmV1JGtFpCxtSH9SmTY4G3bpEJ7a5y_GTQid-CAKI6vw=="
  38. client_id: "lN4JXeaSticbSo9-llczbA=="
  39. # ---------------------------
  40. # Text to speech
  41. # ---------------------------
  42. # This is the default TTS that will be used by Kalliope to talk.
  43. default_text_to_speech: "pico2wave"
  44. # where we store generated audio files from TTS engine to reuse them
  45. cache_path: "/tmp/kalliope_tts_cache"
  46. # Text to Spreech engines configuration
  47. # Available engine are:
  48. # - pico2wave
  49. # - voxygen
  50. text_to_speech:
  51. - pico2wave:
  52. language: "fr-FR"
  53. cache: True
  54. - voxygen:
  55. voice: "Agnes"
  56. cache: True
  57. - acapela:
  58. language: "sonid15"
  59. voice: "Manon"
  60. cache: True
  61. - googletts:
  62. language: "fr"
  63. cache: True
  64. - voicerss:
  65. language: "fr-fr"
  66. cache: True
  67. # ---------------------------
  68. # Wake up answers
  69. # ---------------------------
  70. # When Kalliope detect the hotword/trigger, he will select randomly a phrase in the following list
  71. # to notify the user that he's listening for orders
  72. random_wake_up_answers:
  73. - "Oui monsieur?"
  74. - "Je vous écoute"
  75. - "Monsieur?"
  76. - "Que puis-je faire pour vous?"
  77. - "J'écoute"
  78. - "Oui?"
  79. # You can play a sound when Kalliope detect the hotword/trigger instead of saying something from
  80. # the `random_wake_up_answers`.
  81. # Place here the full path of the sound file or just the name of the file in /usr/lib/kalliope/sounds
  82. # The file must be .wav or .mp3 format. By default two file are provided: ding.wav and dong.wav
  83. #random_wake_up_sounds:
  84. # - "sounds/ding.wav"
  85. # - "sounds/dong.wav"
  86. # - "/my/personal/full/path/my_file.mp3"
  87. # ---------------------------
  88. # On ready answers
  89. # ---------------------------
  90. # You can play a sound when Kalliope is started and is waiting for the trigger.
  91. #random_on_ready_answers:
  92. # - "Kalliope is ready"
  93. # If you prefer, you can play a sound instead of a sentence.
  94. # Remove the `random_on_ready_answers` parameters to use this one.
  95. # Place here the full path of the sound file or just the name of the file in /usr/lib/kalliope/sounds
  96. # The file must be .wav or .mp3 format. By default two file are provided: ding.wav and dong.wav
  97. #random_on_ready_sounds:
  98. # - "sounds/ding.wav"
  99. # - "sounds/dong.wav"
  100. # ---------------------------
  101. # Rest API
  102. # ---------------------------
  103. rest_api:
  104. active: True
  105. port: 5000
  106. password_protected: True
  107. login: admin
  108. password: secret
  109. allowed_cors_origin: False
  110. # ---------------------------
  111. # Default Synapse
  112. # ---------------------------
  113. # Specify an optional default synapse response in case your order is not found.
  114. default_synapse: "Default-synapse"
  115. # ---------------------------
  116. # Resource directory path
  117. #
  118. # Accepted types :
  119. # - neuron
  120. # - stt
  121. # - tts
  122. # - trigger /!\ we do not manage trigger properly yet...
  123. # ---------------------------
  124. #resource_directory:
  125. # neuron: "/var/tmp/resources/neurons"
  126. # stt: "resources/stt"
  127. # tts: "resources/tts"
  128. # trigger: "resources/trigger"