-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
29 lines (26 loc) · 1.01 KB
/
Copy path.env.sample
File metadata and controls
29 lines (26 loc) · 1.01 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
# Backend specific env variables.
BACKEND_CORS_ORIGINS="http://localhost,https://localhost"
# Used to include additional routes or settings for testing or development purposes.
# One of: "development" or "production".
ENVIRONMENT=development
# Secret keys and expiration settings for JWT tokens.
JWT_SECRET_KEY=your-secret-key
PRE_AUTH_TOKEN_EXPIRE_MINUTES=5
ENROLLMENT_TOKEN_EXPIRE_MINUTES=15
ACCESS_TOKEN_EXPIRE_MINUTES=1440
# Voiceprint verification/enorollment specific env variables.
MIN_NUMBER_OF_ENROLLMENT_FILES=5
VERIFICATION_THRESHOLD=0.85
# One of: "peak", "rms".
AMPLITUDE_NORMALIZATION_HANDLER="peak"
# Strategy to aggregate multiple embeddings into a single embedding during enrollment.
# One of: "mean", "attention".
EMBEDDING_AGGREGATION_STRATEGY="mean"
# Whether to enable VAD (Voice Activity Detection) during processing.
VAD_ENABLED=false
# PostgreSQL specific env variables.
POSTGRES_USER=dba
POSTGRES_PASSWORD=sql
POSTGRES_HOST=pgvector
POSTGRES_PORT=5432
POSTGRES_DB=voiceprint_app