2019-05-13 03:07:38 +03:00
|
|
|
# Main settings of Leon
|
2021-05-31 02:53:49 +03:00
|
|
|
# https://docs.getleon.ai/configuration
|
2019-05-13 03:07:38 +03:00
|
|
|
|
2019-02-10 15:26:50 +03:00
|
|
|
# Language currently used
|
|
|
|
LEON_LANG=en-US
|
|
|
|
|
|
|
|
# Server
|
2019-05-25 07:07:11 +03:00
|
|
|
LEON_HOST=http://localhost
|
|
|
|
LEON_PORT=1337
|
2019-02-10 15:26:50 +03:00
|
|
|
|
|
|
|
# Time zone (current one by default)
|
|
|
|
LEON_TIME_ZONE=
|
|
|
|
|
|
|
|
# Enable/disable after speech
|
|
|
|
LEON_AFTER_SPEECH=false
|
|
|
|
|
|
|
|
# Enable/disable Leon's speech-to-text
|
|
|
|
LEON_STT=false
|
|
|
|
# Speech-to-text provider
|
2022-01-31 09:43:54 +03:00
|
|
|
LEON_STT_PROVIDER=coqui-stt
|
2019-02-10 15:26:50 +03:00
|
|
|
|
|
|
|
# Enable/disable Leon's text-to-speech
|
|
|
|
LEON_TTS=false
|
|
|
|
# Text-to-speech provider
|
|
|
|
LEON_TTS_PROVIDER=flite
|
|
|
|
|
2022-02-13 02:48:17 +03:00
|
|
|
# Enable/disable skills to be available over HTTP
|
2022-02-02 14:52:41 +03:00
|
|
|
LEON_OVER_HTTP=true
|
2022-01-16 17:22:49 +03:00
|
|
|
# HTTP API key (use "npm run generate:http-api-key" to regenerate one)
|
|
|
|
LEON_HTTP_API_KEY=
|
2022-02-12 20:42:29 +03:00
|
|
|
# Language used for the HTTP API
|
|
|
|
LEON_HTTP_API_LANG=en-US
|
2021-12-30 18:06:30 +03:00
|
|
|
|
2019-02-10 15:26:50 +03:00
|
|
|
# Enable/disable collaborative logger
|
|
|
|
LEON_LOGGER=true
|
|
|
|
|
2022-03-20 19:01:44 +03:00
|
|
|
# Python TCP server
|
|
|
|
LEON_PY_TCP_SERVER_HOST=0.0.0.0
|
|
|
|
LEON_PY_TCP_SERVER_PORT=1342
|
2022-03-05 13:46:34 +03:00
|
|
|
|
2019-02-10 15:26:50 +03:00
|
|
|
# Path to the Pipfile
|
|
|
|
PIPENV_PIPFILE=bridges/python/Pipfile
|
|
|
|
|
|
|
|
# Path to the virtual env in .venv/
|
|
|
|
PIPENV_VENV_IN_PROJECT=true
|
|
|
|
|
|
|
|
# Fix https://click.palletsprojects.com/en/7.x/python3/#python-3-surrogate-handling
|
2022-02-17 15:10:42 +03:00
|
|
|
# If Leon replies you something like "Sorry, it seems I have a problem with the ... skill" but
|
2019-02-24 11:46:19 +03:00
|
|
|
# still gives you the right answer, then:
|
2019-02-24 11:49:14 +03:00
|
|
|
## 1. Run `locale -a`
|
|
|
|
## 2. Pick a locale
|
|
|
|
## 3. Replace the LC_ALL and LANG values with the needed locale
|
2019-02-10 15:26:50 +03:00
|
|
|
LC_ALL=C.UTF-8
|
|
|
|
LANG=C.UTF-8
|