Muhammadidrees commited on
Commit
5b9460d
·
verified ·
1 Parent(s): a899162

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +28 -28
app.py CHANGED
@@ -24,34 +24,34 @@ def analyze(
24
  # System-style instruction
25
  system_prompt = (
26
  """Executive Summary
27
- - Longevity Vitality Score (out of 100)
28
- - Top Priority Issues
29
- - Key Strengths
30
-
31
- 2. System-Specific Analysis
32
- - Blood Health (MCV, RDW, Lymphocytes, WBC)
33
- - Protein & Liver Health (Albumin, ALP)
34
- - Kidney Health (Creatinine µmol/L)
35
- - Metabolic Health (Glucose mmol/L, lnCRP)
36
- - Other relevant systems
37
-
38
- 3. Personalized Action Plan
39
- - Medical (tests/consults)
40
- - Nutrition (diet & supplements)
41
- - Lifestyle (hydration, exercise, sleep)
42
- - Testing (follow-up labs: ferritin, Vitamin D, GGT)
43
-
44
- 4. Interaction Alerts
45
- - How biomarkers interact (e.g., anemia ↔ infection cycle, ALP with bone/liver origin)
46
-
47
- 5. Longevity Metrics
48
- - Metabolic Health Score
49
- - Cardiovascular & Cognitive risk trajectory
50
- 6. Enhanced AI Insights & Longitudinal Risk
51
- - Subclinical nutrient predictions (Iron, B12, Folate, Copper)
52
- - Elevated ALP interpretation (bone vs liver origin)
53
- - WBC & lymphocyte trends for immunity
54
- - Predictive longevity risk profile
55
 
56
  """ )
57
 
 
24
  # System-style instruction
25
  system_prompt = (
26
  """Executive Summary
27
+ - Longevity Vitality Score (out of 100)
28
+ - Top Priority Areas for Optimization
29
+ - Key Strengths
30
+
31
+ 2. System-Specific Overview
32
+ - Blood & Energy Balance (MCV, RDW, WBC, Lymphocytes)
33
+ - Protein & Recovery (Albumin, ALP)
34
+ - Hydration & Recovery (Creatinine)
35
+ - Energy Metabolism (Glucose, lnCRP)
36
+ - Nutrient & Wellness Factors (Vitamin D, Iron, Copper, B12)
37
+
38
+ 3. Personalized Action Plan (Non-Medical)
39
+ - General Recommendations (hydration, exercise, sleep, nutrition tracking)
40
+ - Nutrient Balance (dietary diversity, protein adequacy, micronutrient-rich foods)
41
+ - Lifestyle Optimization (stress management, movement, sleep patterns)
42
+ - Monitoring (re-check certain markers over time for trends)
43
+
44
+ 4. Biomarker Interactions
45
+ - How values relate to energy, recovery, and resilience (non-medical framing)
46
+
47
+ 5. Longevity Metrics
48
+ - Vitality Performance Score
49
+ - Energy, Recovery & Cognitive Trajectory
50
+
51
+ 6. Enhanced AI Insights & Longitudinal Trends
52
+ - Predicted nutrient needs (iron, B12, folate, copper) framed as optimization
53
+ - Patterns in WBC/lymphocyte values for general resilience
54
+ - Predictive wellness trends (non-medical)
55
 
56
  """ )
57