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": "Pommes soufflées", "description": "There is nothing more delicious or more impressive than a plate of pommes soufflées. It's a very 'cheffy' recipe, but I think that anyone who loves cooking can make them. Pommes soufflés were one of my father's specialities: he would make them at the restaurant for customers' children. I ate them all the time when I was little...", "subtitle": "re-invented", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 kg/24 lb Agria potatoes, or other floury potato suitable for making chips", "4 litres/7 pints groundnut (peanut) oil, for two oil baths at different temperatures", "salt", "curry", "tandoori spices", "paprika", "herb salt" ] } ], "instructions": [ "1-Preparing the potatoes", "Wash, peel and trim the potatoes. Cut them into slices 3 mm/s in thick, then rinse again and dry thoroughly on a clean tea towel.", "2-Cooking the potatoes", "Immerse the dry potato slices in a deep-fryer heated to 140°C/275°F. Stir the oil continuously with a spoon or spatula until the potato slices begin to puff, about 5 minutes. Remove with a slotted spoon and immerse them in the second, hotter deep-fryer, heated to 180°C/350°F. Keep stirring, to make them puff up. (See step-by-step method on p. 76.)", "3-Finishing off", "Remove the pommes soufflées from the oil, again with a slotted spoon, and drain on kitchen paper. Season with salt, then flavour with whatever you like - just dust the pommes soufflées with the spices or salt and toss gently, to avoid crushing them. Then eat them..." ], "author": "" }
- Assistant
{ "data": "FR" }