17 lines
426 B
Python
17 lines
426 B
Python
from pathlib import Path
|
|
|
|
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
app_env: str = "development"
|
|
app_data_dir: Path = Path("./data")
|
|
database_path: Path = Path("./data/app.db")
|
|
mistral_api_key: str = ""
|
|
deepgram_api_key: str = ""
|
|
|
|
model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8", extra="ignore")
|
|
|
|
|
|
settings = Settings()
|