standalone_config.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "audio": {
  3. "sample_rate": 16000,
  4. "channels": 1,
  5. "bit_depth": 16,
  6. "input_device": null,
  7. "output_device": null,
  8. "buffer_size": 1024,
  9. "music_sample_rate": 44100,
  10. "music_channels": 2,
  11. "music_bit_depth": 16
  12. },
  13. "security": {
  14. "encryption_enabled": true,
  15. "encryption_key_path": "certs/encryption.key",
  16. "ssl_enabled": false,
  17. "ssl_cert_path": "certs/server.crt",
  18. "ssl_key_path": "certs/server.key",
  19. "allowed_mac_addresses": []
  20. },
  21. "wakeword": {
  22. "models": ["hey_jarvis", "alexa", "hey_mycroft"],
  23. "admin_wakewords": [],
  24. "threshold": 0.5,
  25. "model_directory": "models/wakeword",
  26. "use_onnx": true,
  27. "enabled": true,
  28. "silence_timeout_seconds": 1.8,
  29. "max_recording_seconds": 60.0,
  30. "pre_buffer_seconds": 0.5
  31. },
  32. "voice_recognition": {
  33. "model": "default",
  34. "enabled": true,
  35. "threshold": 0.7
  36. },
  37. "conversation": {
  38. "max_silence_seconds": 3.0,
  39. "max_duration_seconds": 60.0,
  40. "timeout_seconds": 30.0
  41. },
  42. "plugins": {
  43. "enabled": true,
  44. "plugin_directory": "plugins",
  45. "auto_reload": false
  46. },
  47. "logging": {
  48. "level": "INFO",
  49. "file_log_level": "INFO",
  50. "log_directory": "logs",
  51. "max_file_size_mb": 10,
  52. "backup_count": 5,
  53. "plugin_timeout_seconds": 30.0,
  54. "plugin_max_failures": 3
  55. },
  56. "stt_correction": {
  57. "enabled": true,
  58. "language": "de",
  59. "layers": ["symspell", "phonetic", "kenlm"],
  60. "protected_words": ["Eminem", "Rammstein", "AC/DC", "Trixy", "Alexa"],
  61. "custom_aliases": {
  62. "shop": "stopp",
  63. "schop": "stopp"
  64. },
  65. "symspell_max_edit_distance": 2,
  66. "symspell_dictionary_path": "",
  67. "kenlm_model_path": "models/kenlm/de.binary",
  68. "jamspell_model_path": "models/jamspell/de.bin",
  69. "hunspell_dict_path": "/usr/share/hunspell/de_DE",
  70. "languagetool_language": "de-DE"
  71. },
  72. "sync": {
  73. "enabled": false,
  74. "server_host": "",
  75. "server_port": 2101,
  76. "probe_interval_seconds": 30.0,
  77. "sync_interval_seconds": 300.0,
  78. "connect_timeout_seconds": 5.0,
  79. "sync_data_directory": "./sync_data"
  80. },
  81. "email": {
  82. "smtp_host": "",
  83. "smtp_port": 587,
  84. "smtp_user": "",
  85. "smtp_password": "",
  86. "smtp_ssl": true,
  87. "smtp_starttls": true,
  88. "from_address": "",
  89. "from_name": "Trixy",
  90. "reply_to": "",
  91. "organization": "",
  92. "pgp": {
  93. "enabled": false,
  94. "gpg_home": "~/.gnupg",
  95. "sign_key": "",
  96. "passphrase": "",
  97. "always_sign": false,
  98. "always_encrypt": false,
  99. "recipient_keys": {}
  100. }
  101. },
  102. "config_port": 2105,
  103. "assets_directory": "assets",
  104. "models_directory": "models",
  105. "profile": "default",
  106. "room": "standalone",
  107. "alias": "Trixy"
  108. }