79 lines
3.3 KiB
YAML
79 lines
3.3 KiB
YAML
services:
|
|
dialogue:
|
|
command: --debug --host mqtt --port 12183 --site-id default --session-timeout
|
|
30 --sound wake /usr/lib/rhasspy/etc/wav/beep_hi.wav --sound recorded /usr/lib/rhasspy/etc/wav/beep_lo.wav
|
|
--sound error /usr/lib/rhasspy/etc/wav/beep_error.wav --volume 1 --min-asr-confidence
|
|
0 --say-chars-per-second 33 --sound-suffix .wav --sound-suffix .mp3 --sound-suffix
|
|
.ogg --sound-suffix .flac
|
|
depends_on:
|
|
- mqtt
|
|
image: rhasspy/rhasspy-dialogue-hermes
|
|
tty: true
|
|
intent_recognition:
|
|
command: --intent-graph /profiles/en/intent_graph.pickle.gz --debug --host mqtt
|
|
--port 12183 --site-id default --replace-numbers --language en_US --casing lower
|
|
--converters-dir /profiles/en/converters --failure-token <unk>
|
|
depends_on:
|
|
- mqtt
|
|
image: rhasspy/rhasspy-nlu-hermes
|
|
tty: true
|
|
volumes:
|
|
- /profiles:/profiles
|
|
microphone:
|
|
command: --sample-rate 16000 --sample-width 2 --channels 1 --debug --host mqtt
|
|
--port 12183 --site-id default --udp-audio-host 127.0.0.1 --udp-audio-port 12202
|
|
--frames-per-buffer 1024
|
|
depends_on:
|
|
- mqtt
|
|
devices:
|
|
- /dev/snd
|
|
image: rhasspy/rhasspy-microphone-pyaudio-hermes
|
|
tty: true
|
|
mqtt:
|
|
command: -p 12183
|
|
entrypoint: mosquitto
|
|
image: eclipse-mosquitto
|
|
ports:
|
|
- 12183:12183
|
|
tty: true
|
|
speakers:
|
|
command: --play-command 'aplay -q -t wav' --list-command 'aplay -L' --volume 1
|
|
--debug --host mqtt --port 12183 --site-id default
|
|
depends_on:
|
|
- mqtt
|
|
devices:
|
|
- /dev/snd
|
|
image: rhasspy/rhasspy-speakers-cli-hermes
|
|
tty: true
|
|
speech_to_text:
|
|
command: --model-type nnet3 --model-dir /profiles/en/kaldi/model --graph-dir /profiles/en/kaldi/model/graph
|
|
--debug --host mqtt --port 12183 --site-id default --dictionary /profiles/en/kaldi/dictionary.txt
|
|
--language-model /profiles/en/kaldi/language_model.txt --language-model-type
|
|
text_fst --base-dictionary /profiles/en/kaldi/base_dictionary.txt --base-dictionary
|
|
/profiles/en/kaldi_custom_words.txt --dictionary-casing lower --g2p-model /profiles/en/kaldi/g2p.fst
|
|
--unknown-words /profiles/en/kaldi_unknown_words.txt --base-language-model-fst
|
|
/profiles/en/kaldi/base_language_model.fst --base-language-model-weight 0 --mixed-language-model-fst
|
|
/profiles/en/kaldi/mixed.fst --frequent-words /usr/lib/rhasspy/rhasspy-profile/rhasspyprofile/profiles/en/frequent_words.txt
|
|
--max-frequent-words 100 --max-unknown-words 8 --unknown-words-probability 1e-05
|
|
--unknown-token '<unk>' --silence-probability 0.5 --cancel-word '' --cancel-probability
|
|
0.01 --voice-skip-seconds 0 --voice-min-seconds 1 --voice-max-seconds 20 --voice-speech-seconds
|
|
0.3 --voice-silence-seconds 0.5 --voice-before-seconds 0.5 --voice-sensitivity
|
|
1 --voice-silence-method vad_only
|
|
depends_on:
|
|
- mqtt
|
|
image: rhasspy/rhasspy-asr-kaldi-hermes
|
|
tty: true
|
|
volumes:
|
|
- /profiles:/profiles
|
|
wake:
|
|
command: --keyword jarvis_linux.ppn --sensitivity 0.5 --keyword-dir /profiles/en/porcupine
|
|
--debug --host mqtt --port 12183 --site-id default --udp-audio 127.0.0.1 12202
|
|
default
|
|
depends_on:
|
|
- mqtt
|
|
image: rhasspy/rhasspy-wake-porcupine-hermes
|
|
tty: true
|
|
volumes:
|
|
- /profiles:/profiles
|
|
version: '2'
|