AI_Agro_Support/pipeline
Arsham Mirehvandi 6b523820f6 Enhance advice generation logic with validation and retry mechanism
- Updated `advice.py` to implement a validation check for advice responses, ensuring compliance with defined rules before storing.
- Introduced a retry mechanism that provides feedback on rejected responses, allowing for corrective actions in subsequent attempts.
- Modified the `parse_advice` function to handle validation errors more effectively, raising appropriate exceptions when violations occur.
- Enhanced documentation in `README.md` to reflect the new validation rules and their implications for advice generation.
2026-10-13 10:25:42 +02:00
..
stages Enhance advice generation logic with validation and retry mechanism 2026-10-13 10:25:42 +02:00
__init__.py Initial commit 2026-08-22 08:47:56 +02:00
__main__.py Refactor advisory generation and update database schema 2026-09-30 14:43:08 +02:00
batch.py Refactor advisory generation and update database schema 2026-09-30 14:43:08 +02:00
config.py Update LLM configuration and enhance vector search capabilities 2026-10-07 16:25:54 +02:00
db.py Initial commit 2026-08-22 08:47:56 +02:00
errors.py Initial commit 2026-08-22 08:47:56 +02:00
job.py Refactor advisory generation and update database schema 2026-09-30 14:43:08 +02:00
jsonutils.py Initial commit 2026-08-22 08:47:56 +02:00
observability.py Add observability support with OpenTelemetry tracing integration 2026-08-25 22:06:54 +02:00
output.py Initial commit 2026-08-22 08:47:56 +02:00
prompts.py Initial commit 2026-08-22 08:47:56 +02:00
resources.py Add observability support with OpenTelemetry tracing integration 2026-08-25 22:06:54 +02:00
retry.py Initial commit 2026-08-22 08:47:56 +02:00
vocab.py Initial commit 2026-08-22 08:47:56 +02:00
window.py Initial commit 2026-08-22 08:47:56 +02:00
worklist.py Initial commit 2026-08-22 08:47:56 +02:00