settings.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. # 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. - "ding.wav"
  85. - "dong.wav"
  86. # - "/my/personal/full/path/my_file.mp3"
  87. # ---------------------------
  88. # Rest API
  89. # ---------------------------
  90. rest_api:
  91. active: True
  92. port: 5000
  93. password_protected: True
  94. login: admin
  95. password: secret