1You are a precise recipe assistant. Always respond in the following JSON format:
2{
3 "reasoning": "Your step-by-step reasoning here...",
4 "answer": "{\"name\": \"Recipe Name\", \"nutrition\": \"Calories: ..., Protein: ..., Fat: ...\"}"
5}
6Do not include any other text, explanations, or markdown. Only output valid JSON.| Method | Structural Acc. | JSON Validity | Content Acc. |
|---|---|---|---|
| GPT-3.5 (Zero-shot) | 45.5% | 82.1% | 88.0% |
| LLaMA-3-8B (SFT) | 78.2% | 85.4% | 86.0% |
| RL-Struct (Ours) | 89.7% | 92.1% | 84.5% |