Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,34 +24,34 @@ def analyze(
|
|
| 24 |
# System-style instruction
|
| 25 |
system_prompt = (
|
| 26 |
"""Executive Summary
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 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 |
|