Spaces:
Sleeping
Sleeping
Commit ·
aa4c747
1
Parent(s): 0951879
Force update llm_analysis.py with syntax fix
Browse files- llm_analysis.py +1 -0
llm_analysis.py
CHANGED
|
@@ -177,6 +177,7 @@ def analyze_with_llm(summary_report: Dict, crop_type: str, farmer_context: Dict,
|
|
| 177 |
# Using concatenation to avoid potential f-string parsing issues with long multi-line strings
|
| 178 |
prompt = f"{indices_context}\n\n{stress_text}\n\n"
|
| 179 |
prompt += "FIELD METADATA:\n"
|
|
|
|
| 180 |
prompt += f"- Location: Latitude {center_lat:.4f}, Longitude {center_lon:.4f}\n"
|
| 181 |
prompt += f"- Field Size: {field_size_hectares:.2f} hectares\n\n"
|
| 182 |
|
|
|
|
| 177 |
# Using concatenation to avoid potential f-string parsing issues with long multi-line strings
|
| 178 |
prompt = f"{indices_context}\n\n{stress_text}\n\n"
|
| 179 |
prompt += "FIELD METADATA:\n"
|
| 180 |
+
# Add location details
|
| 181 |
prompt += f"- Location: Latitude {center_lat:.4f}, Longitude {center_lon:.4f}\n"
|
| 182 |
prompt += f"- Field Size: {field_size_hectares:.2f} hectares\n\n"
|
| 183 |
|