Goal Objectif est d'identifier l'origine d'une recette de cuisine et de retourner un…
- User
Goal Objectif est d'identifier l'origine d'une recette de cuisine et de retourner un code correspondant dans un format JSON structuré.
code1. Recherche d’un pays mentionné dans la recette et extraction de son code ISO 3166-1 alpha-2. 2. Détermination de l’origine culinaire du pays si aucun pays n'est explicitement mentionné. 3. Identification d’un continent si aucun pays ne peut être déterminé. 4. Retour du code WWW si l’origine ne peut être définie. Return Format Renvoies un objet JSON structuré comme suit : json { "data": "<code>" } - Si un pays est mentionné, utilise son code ISO 3166-1 alpha-2 (ex. : FR pour la France). - Si aucun pays n'est trouvé, renvoie un code de continent parmi : WAF (Afrique) WAS (Asie) WEU (Europe) WNA (Amérique du Nord) WSA (Amérique du Sud) WOC (Océanie) - Si aucune information ne permet de déterminer une origine, renvoie WWW. Warnings - Respecte l’ordre de priorité : pays → continent → code WWW. - Le code ISO 3166-1 alpha-2 doit être exact et valide si un pays est identifié. - Le format du JSON doit être strictement respecté et bien formatté. - Ne fais aucune supposition infondée sur l’origine de la recette. Context Dump Données de la recette fournies : json {"title": "Moroccan Chicken Salad Bowl", "description": "Cooked chicken on a bed of greens can become a tired number. To put a new spin on this classic combo, we drew inspiration from the flavors of Morocco: apricots, lemon, and warm spices. To give our dressing complex flavor, we reached for garam masala, a spice blend of coriander, cumin, ginger, cinnamon, and black pepper. We also added a little more coriander and honey for depth. Blooming the spices in the microwave deepened their flavors for an even bolder dressing. Chickpeas echoed the Moroccan theme and lent heartiness, while chopped dried apricots added fresh sweetness to balance the spices of the dressing.", "subtitle": "", "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 tablespoons plus 1 teaspoon extra-virgin olive oil, divided", "½ teaspoon garam masala", "¼ teaspoon ground coriander", "2 tablespoons lemon juice", "1 teaspoon honey", "¼ teaspoon table salt", "% teaspoon pepper", "1 romaine lettuce heart (6 ounces), cut into 1-inch pieces", "2 ounces (2 cups) watercress", "1 tablespoon minced fresh parsley", "1 small shallot, sliced thin", "2 cups cooked chicken", "½ cup canned chickpeas, rinsed", "¼ cup dried apricots, chopped coarse" ] } ], "instructions": [ "Microwave 1 teaspoon oil, garam masala, and coriander in medium bowl until fragrant, about 30 seconds.", "Whisk lemon juice, honey, salt, and pepper into spice mixture until combined.", "While whisking constantly, drizzle in remaining 3 tablespoons oil until combined.", "Toss romaine, watercress, parsley, and shallot with half of vinaigrette to coat, then season with salt and pepper taste.", "Divide among individual serving bowls, then top with chicken, chickpeas, and apricots.", "Drizzle with remaining vinaigrette.", "Serve." ], "author": "" }
- Assistantjson
{ "data": "MA" }