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": "Spicy Beef", "description": "This popular Chinese take-away dish is easy to recreate at home. Crispy fried beef is tossed in a spicy chilli sauce - it's amazingly\ndelicious and flavourful. What's not to love? Serve on a bed of noodles or Egg-fried Rice (see page 81).", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "500g lean beef steak, cut into 5mm strips", "1 tablespoon dark soy sauce", "1 egg, beaten", "1 tablespoon Chinese five spice powder", "1 tablespoon ground black pepper", "1 tablespoon rice vinegar", "1 teaspoon ginger paste", "1 teaspoon garlic paste", "1 tablespoon sesame oil", "2 tablespoons cornflour", "oil, for deep-frying" ] }, { "section": "SPICY SAUCE", "ingredients": [ "1 tablespoon sesame oil", "1 red onion, thickly sliced", "½ red pepper, thickly sliced", "green pepper, thickly sliced", "1 jalapeño chilli, finely sliced", "1 tablespoon dark soy sauce", "1 tablespoon Worcestershire sauce", "2 tablespoons chilli and garlic sauce", "1 teaspoon chilli powder", "1 tablespoon chilli flakes", "1 tablespoon ground black pepper", "1 teaspoon salt" ] }, { "section": "GARNISH", "ingredients": [ "2 spring onions, julienned", "1 teaspoon toasted sesame seeds" ] } ], "instructions": [ "Place the beef strips in a bowl with the soy sauce, beaten egg, five spice powder, black pepper, vinegar, ginger paste, garlic paste and\nsesame oil, mix well and leave to marinate for 30 minutes.", "Place the cornflour in a shallow bowl, add the beef and toss to coat in the cornflour.", "Heat the oil for deep-frying in a large saucepan on a medium-high heat until it reaches 180°C. Fry the beef strips in batches for 3 minutes\nuntil crispy golden-brown, then drain on kitchen paper.", "For the spicy sauce, heat the sesame oil in a wok on a medium-high heat, add all the remaining sauce ingredients, stir well and cook for\n3-4 minutes to soften the vegetables a little.", "Add the beef and stir to coat in the sauce.", "Serve gamished with spring onions and sesame\nseeds." ], "author": null }
- Assistant
{ "data": "CN" }