Spaces:
Sleeping
Sleeping
Commit History
-
Security: Load API keys from environment variable instead of hardcoding
fe5cad6
-
Add 21 Groq API keys with fallback mechanism
af7d9a9 -
Update Groq API keys with rotation logic
fda70b8
-
Enhance irrigation category with SMI-specific LLM prompt
dacd073 -
Extract 12 stress zones: 4 high (red), 4 moderate (yellow), 4 low (green)
48712b7 -
Add extract_top_stress_zones with CNN+LSTM for real coordinates
977e20d -
Add zone-specific actions to LLM response
45aeded -
Fix stress zone coordinates to scale with field size
c65bc78 -
Add /take-action-reasoning endpoint with stress clusters + timeseries + farmer profile + weather context
fdcc2cb -
Add expanded metrics: biomass, leaf_health, heat_stress, stress_pattern
07c8371 -
Add cascading fallback for 4 Groq API keys
a66f549 -
Add all indices timeseries + weather + detailed_analysis to LLM
1f7cc04 -
Add bbox coordinates and colorbar for geo-aligned overlay
2ca56f0 -
Add overlay_mode for clean heatmap without colorbar/title
1125b60 -
Add time_series_data support for LLM context with historical + forecast data
fb59133 -
Update Groq API key
1699b79 -
Update Groq API key
5ea48c5 -
feat: migrate from Gemini to Groq API for LLM calls
8e09a62 -
fix: change gemini model to 2.0-flash to avoid 429 rate limit
fc1d029
-
Add credential fallbacks
87899dd -
Fix import error: remove non-existent configure_gemini from import
46146cd
-
v3.0.0: Multi-mode Heatmap Service
PIXEL-WISE MODE (fast): - soil_moisture (SMI) - soil_organic_matter (SOMI) - soil_fertility (SFI) - soil_salinity (SASI) - greenness (NDVI) - nitrogen_level (NDRE) - photosynthetic_capacity (PRI) LLM MODE (CNN+Clustering+LLM): - pest_risk - disease_risk - nutrient_stress - stress_zones Features: - Auto-detect mode from metric type - CNN stress detection with patch_size=4, stride=2 - K-Means clustering for stress patterns - Gemini LLM analysis with full context - Added GNDVI index for nutrient stress4a86366 -
v2.3.0: Pixel-wise + 100-200 patch analysis
- Pixel-wise vegetation index calculation (NOT CNN) - Target 100-200 patches (10x10 to 15x15 grid) - Enhanced logging with visual health distribution bars - Step-by-step progress logging - Returns 50 patches in response with health categories - No hardcoded min image size4a05f0f -
Add detailed logging with patch analysis for debugging
- Request ID for tracking each request - Step-by-step logging (5 steps) - Band statistics for all 12 Sentinel-2 bands - 4x4 patch grid analysis with mean/std - Full traceback on errors - Startup configuration check - Image generation progress logging060f6e5 -
Add Gaussian smoothing and field boundary overlay
Features: - gaussian_sigma: Control smoothing strength (default 1.5, 0 = no smoothing) - show_field_boundary: Toggle field boundary overlay (default true) - Light dashed rectangle with corner markers - Added scipy dependency for gaussian_filtera404eb8 -
Fix DataCollection.define() API call
cb7fde2 -
Integrate S2 Pipeline vegetation_indices.py
- Use same index calculation functions from main pipeline - Support all 13 indices: NDVI, EVI, NDWI, NDRE, RECI, SMI, NDSI, PRI, PSRI, MCARI, SASI, SOMI, SFI - Fetch all 13 bands from Sentinel-2 and calculate indices locally - Add water-specific colormap for NDWI/SMIb75ebdd -
Add AGROW Heatmap Service - Generate vegetation index heatmaps from Sentinel-2 data
Features: - POST /generate-heatmap - Returns base64 image + stats - GET /generate-heatmap-image - Returns PNG directly - Supports NDVI, EVI, NDWI, NDRE, SMI indices - Custom vegetation colormap (red-yellow-green)25b1296