File size: 1,870 Bytes
be06c46
69e015a
be06c46
69e015a
 
 
be06c46
 
 
 
69e015a
 
be06c46
 
69e015a
be06c46
 
 
 
 
 
 
 
 
 
 
 
69e015a
 
 
 
be06c46
 
 
69e015a
be06c46
 
 
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
# /home/user/app/config/settings.py
from pydantic_settings import BaseSettings
from pathlib import Path

class Settings(BaseSettings):
    APP_TITLE: str = "Quantum Healthcare Navigator"
    DATABASE_URL: str = "sqlite:///./test.db" # Example
    LOG_LEVEL: str = "INFO"
    # API Keys (ensure these are loaded from environment variables or secrets)
    SECRET_KEY: str = "your_very_secret_key_for_jwt_or_other_things" # Example
    UMLS_API_KEY: Optional[str] = None
    BIOPORTAL_API_KEY: Optional[str] = None
    GEMINI_API_KEY: Optional[str] = None # Or your specific LLM API key
    OPENAI_API_KEY: Optional[str] = None

    # NEW: Disclaimer texts
    MAIN_DISCLAIMER_SHORT: str = "AI for informational support only. Not a diagnostic tool. Verify with clinical judgment."
    MAIN_DISCLAIMER_LONG: str = (
        "This AI-powered tool is intended for informational and educational purposes to support healthcare professionals. "
        "It is NOT a diagnostic tool, does not provide medical advice, and should NOT be used as a substitute for "
        "independent professional medical judgment, diagnosis, or treatment. Always verify information with trusted clinical "
        "resources and apply your professional expertise. Do not input real Patient Health Information (PHI)."
    )
    SIMULATION_DISCLAIMER: str = (
        "Features described as 'Quantum' or involving optimization are currently simulated for demonstration "
        "purposes and do not utilize actual quantum computing hardware or validated quantum algorithms for clinical decision-making."
    )

    class Config:
        env_file = ".env"
        env_file_encoding = 'utf-8'
        extra = "ignore"

settings = Settings()

# For logo path (if you prefer it in settings)
# PROJECT_ROOT = Path(__file__).resolve().parent.parent
# LOGO_PATH = str(PROJECT_ROOT / "assets" / "logo.png")