# settings.py import os # Basic settings SNAPSHOT_PATH = os.getenv("SNAPSHOT_PATH", "snapshot.json") PERSIST_CONTENT = os.getenv("PERSIST_CONTENT", "false").lower() == "true" # Healthcare-specific settings HEALTHCARE_SETTINGS = { "phi_detection_enabled": True, "min_facility_count_for_aggregation": 10, "default_occupancy_threshold": 85.0, # Percentage "bed_change_significance_threshold": 5.0, # Percentage "supported_file_types": [".csv", ".xlsx", ".pdf", ".docx", ".txt"], "healthcare_keywords": [ "hospital", "patient", "bed", "care", "health", "medical", "clinical", "facility", "nursing", "residential", "ambulatory", "healthcare", "occupancy" ] } # Model settings MODEL_SETTINGS = { "max_new_tokens": 2048, "temperature": 0.3, "top_p": 0.9, "repetition_penalty": 1.15 }