File size: 841 Bytes
fa2487d
 
ae6bba9
fa2487d
 
 
ae6bba9
fa2487d
 
 
 
 
 
 
 
 
 
 
ae6bba9
 
fa2487d
 
 
 
 
 
 
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
# 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
}