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": "My spaghetti bolognese", "description": "This is a very personal take on spaghetti bolognese... unlike in the traditional version, I don't mix the meat with the tomato sauce.", "subtitle": "This is a very personal take on spaghetti bolognese... unlike in the traditional version, I don't mix the meat with the tomato sauce.", "ingredients": [ { "section": "The tomato concassé", "ingredients": [ "2 spring onions (scallions)", "splash of olive oil", "4 tomatoes", "sprig of thyme", "I small bay leaf", "4 basil leaves + extra for decoration", "salt and freshly ground pepper" ] }, { "section": "The meat", "ingredients": [ "4 spring onions (scallions)", "splash of olive oil", "15 g/½ oz butter", "250 g/8½ oz chopped raw beef", "½ bunch of coriander (cilantro)", "20 g/4 oz grated Parmesan + some slivers for decoration", "fine salt, freshly ground pepper" ] }, { "section": "The spaghetti", "ingredients": [ "400 g/14 oz spaghetti", "splash of olive oil", "2 teaspoons coarse salt" ] } ], "instructions": [ "1-The tomato concassé", "Finely slice the spring onions, then cook them in the olive oil for 2 minutes without letting them colour. Add the peeled and diced tomatoes (see step-by-step method on p. 22). Stir well, then add the thyme, bay leaf and basil leaves. Leave to cook, uncovered, for 20-30 minutes over a gentle heat, so that the tomatoes release all their liquid and it evaporates to make a thick sauce. Check the seasoning. (See step-by-step method on p. 50.)", "2-The meat", "Brown the finely sliced spring onions in a little olive oil and the butter for 6-8 minutes, until they are a lovely coppery colour, then leave to cool. Mix with the meat, coriander and Parmesan, then season with fine salt and freshly ground pepper. Form into round patties and cook in a frying pan with a little olive oil, turning halfway through the cooking time. Remove from the pan and put on a plate.", "3-The spaghetti", "Cook the pasta for 7-9 minutes in boiling salted water (or as instructed on the packet). Drain, then refresh in cold water to prevent it sticking together, and mix with a little olive oil.", "4-Plating up", "Put the cooked meat patties onto plates, top with the spaghetti, then spoon over some tomato concassé. Decorate with basil leaves and slivers of Parmesan.", "Spicing it up! If you like a bit of heat, add some spices to the meat such as cumin, chilli, crushed coriander seeds or cardamom before shaping the patties." ], "author": "" }
- Assistant
{ "data": "IT" }