AI_Agro_Support/tests
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
..
test_advice_context.py Update treatment interval handling and refine advice generation logic 2026-09-22 09:57:06 +02:00
test_advice_guardrails.py Enhance advice generation logic with validation and retry mechanism 2026-10-13 10:25:42 +02:00
test_advice_summary.py Refactor advisory generation and update database schema 2026-09-30 14:43:08 +02:00
test_assemble.py Refactor advisory generation and update database schema 2026-09-30 14:43:08 +02:00
test_disease.py Refactor advisory generation and update database schema 2026-09-30 14:43:08 +02:00
test_incubations.py Refactor advisory generation and update database schema 2026-09-30 14:43:08 +02:00
test_products.py Refactor advisory generation and update database schema 2026-09-30 14:43:08 +02:00
test_treatments.py Refactor treatment history handling and enhance product filtering logic 2026-09-20 23:38:25 +02:00
test_vector.py Update LLM configuration and enhance vector search capabilities 2026-10-07 16:25:54 +02:00