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é.
1. 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": "Chimichurri Flank Steak", "description": "Flank steak is a highly flavorful cut of meat that lends itself well to the sassy Argentine herbal chimichurri sauce, and pairs beautifully with potatoes. I also like to serve this steak with steamed broccoli.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1½ pounds trimmed flank steak", "3/4 teaspoon salt", "½ teaspoon ground cumin", "½ teaspoon ground coriander", "¼ teaspoon freshly ground pepper", "1 small clove garlic", "¼ cup chopped yellow onion", "½ teaspoon cayenne pepper", "½ cup chopped parsley", "1/4 cup chopped cilantro", "1 tablespoon rice vinegar", "1/4 cup extra virgin olive oil", "Baked potatoes for serving", "Steamed broccoli for serving" ] } ], "instructions": [ "Preheat the broiler on high.", "Pat the steak dry. Combine ½ teaspoon of the salt with the cumin, coriander, and black pepper. Rub this mixture on both sides of the steak and broil the steak on the broiler pan about 4 inches from the heat source for 6 minutes per side for medium-rare. Transfer to a cutting board and let rest for 5 minutes.", "Meanwhile, pulse the garlic in a food processor with the blade attachment until finely minced. Add the onion and cayenne pepper. Pulse until the onion is finely minced. Add the parsley and cilantro and pulse until finely chopped, then add the vinegar and the remaining 1/4 teaspoon salt. Pulse; then, with the food processor running, drizzle in the olive oil a little at a time until you have a nice creamy herb sauce.", "Cut the steak into thin slices, holding the knife at a 45-degree angle. Serve with the sauce, baked potatoes, and steamed broccoli.", "Note: To make speedy baked potatoes, wrap each of the baking potatoes in a dampened paper towel. Cook in the microwave, either using the sensor for baked potatoes or for 12 minutes on high. Let rest for 5 minutes before serving." ], "author": "" }
- Assistant
{ "data": "AR" }