d95fa30017
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 lines
803 B
Python
25 lines
803 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
db_path: str = "/data/linkedstorm.db"
|
|
clips_dir: str = "/data/clips"
|
|
speaches_url: str = "http://192.168.86.150:8000"
|
|
ollama_url: str = "http://192.168.86.150:11434"
|
|
ollama_model: str = "qwen2.5:14b"
|
|
livekit_url: str = "ws://192.168.86.150:7880"
|
|
livekit_api_key: str = "devkey"
|
|
livekit_api_secret: str = "devsecret"
|
|
pipeline_internal_url: str = "http://linkedstorm-pipeline:8300"
|
|
clip_retention_days: int = 30
|
|
speaker_known_threshold: float = 0.85
|
|
speaker_ambiguous_threshold: float = 0.60
|
|
vad_silence_ms: int = 600
|
|
vad_min_speech_ms: int = 500
|
|
|
|
model_config = {"env_file": ".env", "env_file_encoding": "utf-8"}
|
|
|
|
|
|
def get_settings() -> Settings:
|
|
return Settings()
|