Commit Graph

5 Commits

Author SHA1 Message Date
Arsham Mirehvandi
8a6d48e5a1 Enhance advice generation and context handling
- Updated README.md to reflect changes in the `json_for_advice_generation` structure, including the addition of `date_of_today` and clarification of `last_advice` fields.
- Modified job.py to load and pass the issuance date of the last advice.
- Enhanced advice_context.py to include the issuance date in the last advice retrieval.
- Updated assemble.py to include `date_of_today` in the JSON assembly for advice generation.
- Improved advice.py to sanitize the `advice_summary` by removing relative date references and ensuring compliance with new guidelines.
2026-09-08 09:40:34 +02:00
Arsham Mirehvandi
1e696405ad Update advice summary guidelines in _output_format.md
- Clarified the requirements for the `advice_summary` field to specify the reasoning for treatment dates in the advisory text.
2026-09-07 09:41:35 +02:00
Arsham Mirehvandi
98afec550d Enhance disease forecasting and product prefiltering logic
- Updated README.md to clarify the handling of historical/test dates and the conditions for generating advice.
- Modified job.py to incorporate observation data into risk assessment and product prefiltering.
- Introduced a new function in disease.py to select the appropriate prefilter rule based on observation and FASE data.
- Enhanced product filtering logic in products.py to accommodate new prefilter rules.
- Updated assemble.py to include observation data in JSON assembly for advice generation.
- Improved documentation in the grapevine downy mildew system prompt to explain the significance of INCUBAZPRIMARIA and observation data.
2026-09-05 23:02:39 +02:00
Arsham Mirehvandi
e588d97e0f Add observability support with OpenTelemetry tracing integration
- Updated .env.example and config.yaml to include observability settings.
- Added a new Phoenix service in docker-compose.yml for self-hosted tracing.
- Enhanced README.md with instructions on enabling and using observability features.
- Implemented tracing in the pipeline, including job spans and LLM stage spans.
- Introduced ObservabilitySettings class in config.py for better configuration management.
- Updated job.py and resources.py to support tracing without affecting fault isolation.
- Minor adjustments to other files for compatibility with the new observability features.
2026-08-25 22:06:54 +02:00
Arsham Mirehvandi
099d1e0af9 Initial commit 2026-08-22 08:47:56 +02:00