allow configuration of a custom translation service (such as libretranslate) (#1946)

pull/1949/head
Jakob Löw 1 month ago committed by GitHub
parent d6251b7f7b
commit a5b719c453
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      jigasi/rootfs/defaults/transcriber-sip-communicator.properties
  2. 2
      transcriber.yml

@ -27,6 +27,12 @@ org.jitsi.jigasi.transcription.RECORD_AUDIO_FORMAT=wav
{{ if .Env.JIGASI_TRANSCRIBER_CUSTOM_SERVICE -}}
org.jitsi.jigasi.transcription.customService={{ .Env.JIGASI_TRANSCRIBER_CUSTOM_SERVICE }}
{{ end -}}
{{ if .Env.JIGASI_TRANSCRIBER_CUSTOM_TRANSLATION_SERVICE -}}
org.jitsi.jigasi.transcription.translationService={{ .Env.JIGASI_TRANSCRIBER_CUSTOM_TRANSLATION_SERVICE }}
{{ end -}}
{{ if .Env.JIGASI_TRANSCRIBER_LIBRETRANSLATE_URL -}}
org.jitsi.jigasi.transcription.libreTranslate.api_url={{ .Env.JIGASI_TRANSCRIBER_LIBRETRANSLATE_URL }}
{{ end -}}
{{ if $JIGASI_TRANSCRIBER_FILTER_SILENCE -}}
org.jitsi.jigasi.transcription.FILTER_SILENCE = true
{{ end -}}

@ -38,6 +38,8 @@ services:
- JIGASI_BREWERY_MUC
- JIGASI_TRANSCRIBER_ADVERTISE_URL
- JIGASI_TRANSCRIBER_CUSTOM_SERVICE
- JIGASI_TRANSCRIBER_CUSTOM_TRANSLATION_SERVICE
- JIGASI_TRANSCRIBER_LIBRETRANSLATE_URL
- JIGASI_TRANSCRIBER_ENABLE_SAVING
- JIGASI_TRANSCRIBER_FILTER_SILENCE
- JIGASI_TRANSCRIBER_OCI_COMPARTMENT

Loading…
Cancel
Save