|
| 1 | +version: "3.8" |
| 2 | + |
| 3 | +services: |
| 4 | + server: |
| 5 | + container_name: ga-server |
| 6 | + image: eithan1231/gerald-assistant-server |
| 7 | + restart: unless-stopped |
| 8 | + environment: |
| 9 | + # Listen words. Can be used for changing the name of your agent, configured to |
| 10 | + # "jeff,jeffery,gerald" by default. |
| 11 | + # |
| 12 | + # Uncommon or rare names might be harder for the speach-to-text engine to pick up. |
| 13 | + # Gerald is often picked up as "joe", which is not ideal, but hence the "Jeff" |
| 14 | + - LISTEN_WORDS=jeff,jeffery,gerald |
| 15 | + |
| 16 | + # Your OpenAI key geerated by OpenAI. This is required. |
| 17 | + - OPENAI_KEY=SECRET_OPENAI_KEY |
| 18 | + |
| 19 | + # mimic3, used for text-to-speach. |
| 20 | + - ENDPOINT_TTS=http://mimic3:59125/api/tts |
| 21 | + |
| 22 | + # faster-whisper-server, used for speach-to-text. |
| 23 | + - ENDPOINT_TRANSCRIBE=http://faster-whisper-server:8000/v1/audio/transcriptions |
| 24 | + |
| 25 | + volumes: |
| 26 | + - /dev/snd:/dev/snd |
| 27 | + |
| 28 | + faster-whisper-server: |
| 29 | + container_name: faster-whisper-server |
| 30 | + # To run model on GPU, utilise the tag "latest-cuda", for cpu use "latest-cpu". |
| 31 | + # Most models will run sufficiently on CPU. |
| 32 | + image: fedirz/faster-whisper-server:latest-cpu |
| 33 | + restart: always |
| 34 | + volumes: |
| 35 | + # Mounting this volume will vastly improve startup times, and will avoid |
| 36 | + # the model being re-downloaded |
| 37 | + - ./cache/faster-whisper/huggingface:/root/.cache/huggingface |
| 38 | + environment: |
| 39 | + # faster-whisper models for speach-to-text. I have found the base-en model to be a great |
| 40 | + # compromise between speed and performance. Hallucinations for "okay okay okay", or "please |
| 41 | + # subscribe to xyz" are not entirely uncommon, but rare enough to not be impactful. |
| 42 | + # |
| 43 | + # 789MB - Systran/faster-distil-whisper-medium.en |
| 44 | + # 322MB - Systran/faster-distil-whisper-small.en |
| 45 | + # 145MB - Systran/faster-whisper-base.en |
| 46 | + # 75MB - Systran/faster-whisper-tiny.en |
| 47 | + # |
| 48 | + # More can be found here: |
| 49 | + # https://huggingface.co/Systran |
| 50 | + - WHISPER_MODEL=Systran/faster-whisper-base.en |
| 51 | + |
| 52 | + mimic3: |
| 53 | + container_name: mimic3 |
| 54 | + image: mycroftai/mimic3 |
| 55 | + restart: always |
| 56 | + volumes: |
| 57 | + - ./cache/mimic3:/home/mimic3/.local/share/mycroft/mimic3 |
0 commit comments