AI_Agro_Support/prompts/_output_format.md
Arsham Mirehvandi 099d1e0af9 Initial commit
2026-08-22 08:47:56 +02:00

1.4 KiB

OUTPUT FORMAT

Respond with a single raw JSON object and nothing else. No markdown code fences, no introduction, no commentary outside the JSON.

Key Type Rules
full_advice string Your complete advisory text, in Italian.
advice_summary string Italian summary of full_advice, at most 1010 characters. It must state the recommendation: whether a treatment should be administered or not; if yes, for what reason, on what date and with which product; if no, for what reason.
apply_treatment integer 1 if you recommend applying a product, 0 otherwise.
treatments array of strings Names of the recommended product(s), exactly as written in the input payload. Empty array [] when you recommend no product.
dosage array of strings Prescribed dose for each product in treatments, in the same order (for example "1.5 l/ha"). Empty array [] when you recommend no product.
apply_date string or null Recommended application date as YYYY-MM-DD. null when you recommend no product.

Only recommend products that appear in the allowed_products list of the input payload. If allowed_products is empty, you must not prescribe any product.

Example shape

{ "full_advice": "...", "advice_summary": "...", "apply_treatment": 1, "treatments": ["PRODUCT NAME"], "dosage": ["1.5 l/ha"], "apply_date": "2026-08-14" }