Add isolated Gemini dictation route with native personal vocabulary
This commit is contained in:
@@ -48,10 +48,12 @@ services:
|
||||
volumes:
|
||||
- ./models.yaml:/etc/litellm/models.yaml:ro
|
||||
- ./render_config.py:/etc/litellm/render_config.py:ro
|
||||
- ./personal_transcription.py:/etc/litellm/personal_transcription.py:ro
|
||||
- /opt/litellm/personal-vocabulary.json:/etc/litellm/personal-vocabulary.json:ro
|
||||
- oauth:/tokens
|
||||
entrypoint: [/bin/sh, -c]
|
||||
command:
|
||||
- 'python /etc/litellm/render_config.py && exec litellm --config /tmp/litellm.yaml --host 0.0.0.0 --port 4000 --num_workers 1'
|
||||
- 'python /etc/litellm/render_config.py && exec python /etc/litellm/personal_transcription.py --config /tmp/litellm.yaml --host 0.0.0.0 --port 4000 --num_workers 1'
|
||||
healthcheck:
|
||||
test: [CMD, python, -c, 'import urllib.request; urllib.request.urlopen("http://127.0.0.1:4000/health/liveliness", timeout=5)']
|
||||
interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user