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": "Sesame-Ginger Short Ribs with Coleslaw", "description": "Make it at the same time you put the ribs in the slow cooker and chill in the refrigerator while the ribs cook. Not only will everything be ready to eat when you get home, but the slaw will be nice and cold.", "subtitle": "Crunchy angel-hair slaw is a refreshing accompaniment to rich, meaty ribs.", "ingredients": [ { "section": "For the Ribs", "ingredients": [ "2 teaspoons Whole30-compliant five-spice powder", "1 teaspoon salt", "8 bone-in beef short ribs (about 4 pounds)", "2 green onions", "½ cup fresh orange juice", "2 tablespoons rice vinegar", "2 tablespoons coconut aminos", "1 tablespoon toasted sesame oil", "1 piece (1 inch) fresh ginger, peeled and finely chopped", "2 cloves garlic, minced", "¼ teaspoon red pepper flakes" ] }, { "section": "For the Coleslaw", "ingredients": [ "1 package (10 ounces) angel-hair coleslaw", "1/4 cup lightly packed chopped fresh parsley", "½ cup Whole30-compliant mayonnaise or Basic Mayonnaise (page 295)", "2 tablespoons rice vinegar", "½ teaspoon cayenne pepper", "¼ teaspoon Whole30-compliant five-spice powder", "¼ teaspoon salt", "2 teaspoons sesame seeds, toasted (see Tip)" ] } ], "instructions": [ "In a small bowl, combine the five-spice powder and salt.", "Rub the ribs with the spice mixture.", "Place the ribs in a 4-quart slow cooker.", "Thinly slice the green onions; reserve the green tops until ready to serve.", "Add the white parts to the slow cooker.", "In a small bowl, whisk together the orange juice, vinegar, coconut aminos, oil, ginger, garlic, and red pepper flakes; pour over the ribs.", "COVER and cook on low for 7 to 8 hours or on high for 3½ to 4 hours.", "ADJUST an oven rack to 4 inches below the broiler.", "Preheat the broiler.", "Remove the ribs from the cooker and place them meaty sides up, in a large baking pan.", "Broil until browned, about 4 minutes.", "Cover to keep warm.", "SKIM the fat from the cooking liquid.", "Transfer the cooking liquid to a saucepan and bring to a boil.", "Reduce the heat and simmer, stirring occasionally, until the sauce is slightly thickened, about 5 minutes.", "Brush the ribs with the sauce.", "Meanwhile, in a large bowl combine the coleslaw and parsley.", "In a small bowl, whisk together the mayonnaise, vinegar, cayenne, five-spice powder, and salt.", "Stir the dressing into the coleslaw mixture.", "SPRINKLE the ribs with the reserved sliced green onion tops and the sesame seeds.", "Serve the coleslaw alongside." ], "author": "" }
- Assistant
{ "data": "WAS" }