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": "Fresh vegetables", "description": "A good reason to put them on the menu frequently. Mushrooms are quite rich in mineral salts, but they also contain special molecules capable of stimulating our immune system, which makes them a very healthy food.", "subtitle": "Pan-fried chanterelles with almonds and lemon", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "800 g de chanterelles", "2 poignées de bébés épinards", "12 amandes fraîches", "1/2 citron confit au sel", "1 gousse d'ail confit", "huile d'olive", "10 g de beurre", "sel", "poivre noir fraîchement moulu" ] } ], "instructions": [ "Remove the earthy base of 800 g of chanterelles, cut the largest ones in half.", "Wash several times with plenty of water, then dry in a salad spinner or a tea towel.", "Wash and dry 2 handfuls of baby spinach similarly.", "Peel 12 fresh almonds.", "Rinse half a salt-preserved lemon (page 15) and cut into thin slices.", "Crush 1 clove of garlic confit (page 12).", "Heat a frying pan with a splash of olive oil and cook the chanterelles for just 1 minute over a high heat, adding salt, just long enough for them to release their liquid.", "Drain, throw away this water, wipe your frying pan dry with kitchen towel and return to the heat with 10 g of butter.", "As soon as it has melted, put the chanterelles back in and sauté for 2 or 3 minutes to lightly brown.", "Then add the baby spinach, salt-preserved lemon, garlic confit and almonds, and mix until the baby spinach is just 'wilted'.", "Add freshly ground black pepper.", "Tip into a dish or into plates and serve immediately." ], "author": "" }
- Assistant
{ "data": "FR" }