forked from bigbluebutton/bbb-livekit-stt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
57 lines (49 loc) · 2.25 KB
/
.env.example
File metadata and controls
57 lines (49 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
LIVEKIT_URL=ws://localhost:7880
LIVEKIT_API_KEY=devkey
LIVEKIT_API_SECRET=secret
REDIS_HOST=127.0.0.1
REDIS_PORT=6789
REDIS_PASSWORD=
GLADIA_API_KEY=
# The following env vars serves as a translation locale mapper between
# <ISO 639-1> (Gladia) and <ISO 639-1>-<ISO 3166-1> (BBB) locale formats.
# It is necessary for this to be correctly configured when translation is on so
# that BBB properly display CC languages in its UI.
GLADIA_TRANSLATION_LANG_MAP="de:de-DE,en:en-US,es:es-ES,fr:fr-FR,hi:hi-IN,it:it-IT,ja:ja-JP,pt:pt-BR,ru:ru-RU,zh:zh-CN"
# Minimum confidence threshold for interim/partial transcript alternatives.
# Range: 0.0-1.0 (default 0.0, disables filtering).
#GLADIA_MIN_CONFIDENCE_INTERIM=0.0
# Minimum confidence threshold for final transcript alternatives.
# Range: 0.0-1.0 (default 0.0, disables filtering).
#GLADIA_MIN_CONFIDENCE_FINAL=0.0
# The following are mappings of the Gladia STT plugin configuration options to
# environment variables.
# The plugin uses the defaults if the environment variables are not set.
# See https://github.com/livekit/livekit-agents/blob/main/livekit/plugins/gladia/stt.py
#GLADIA_MODEL=
#GLADIA_BASE_URL=
#GLADIA_INTERIM_RESULTS=false
#GLADIA_LANGUAGES=pt,en
#GLADIA_CODE_SWITCHING=false
#GLADIA_SAMPLE_RATE=16000
#GLADIA_BIT_DEPTH=16
#GLADIA_CHANNELS=1
#GLADIA_ENCODING="wav/pcm" # Can be "wav/pcm", "wav/alaw", "wav/ulaw"
#GLADIA_ENDPOINTING=0.05
#GLADIA_MAXIMUM_DURATION_WITHOUT_ENDPOINTING=5
#GLADIA_REGION=
#GLADIA_ENERGY_FILTER=false
#GLADIA_TRANSLATION_ENABLED=false
#GLADIA_TRANSLATION_TARGET_LANGUAGES=pt,en
#GLADIA_TRANSLATION_MODEL=
#GLADIA_TRANSLATION_MATCH_ORIGINAL_UTTERANCES=false
#GLADIA_TRANSLATION_LIPSYNC=false
#GLADIA_TRANSLATION_CONTEXT_ADAPTATION=false
#GLADIA_TRANSLATION_CONTEXT=
#GLADIA_TRANSLATION_INFORMAL=false
# Custom vocabulary as JSON array of strings and/or objects
#GLADIA_CUSTOM_VOCABULARY='["Westeros", {"value": "Stark"}, {"value": "Night'\''s Watch", "pronunciations": ["Nightz Watch"], "intensity": 0.4, "language": "en"}]'
# Custom spelling as JSON object mapping correct spellings to lists of alternatives
#GLADIA_CUSTOM_SPELLING='{"Gorish": ["ghorish", "gaurish"], "SQL": ["sequel"], ".": ["period", "full stop"]}'
#GLADIA_PRE_PROCESSING_AUDIO_ENHANCER=false
#GLADIA_PRE_PROCESSING_SPEECH_THRESHOLD=0.5