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é.
code1. 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": "Sardine tempura", "description": "Japanese tempura is surprisingly easy to make at home. In this version, I've made it with sardines and vegetables. To learn the secret of a perfect Choron sauce, turn to page 122...", "subtitle": "with Choron sauce", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 litres/3½ pints oil for deep-frying", "1 courgette (zucchini)", "2 carrots.", "2 baby violet artichokes", "juice of 1 lemon", "75 g/24 oz fromage frais (quark)", "1 egg", "125 ml/4 fl oz cold water", "15 g/½ oz baking powder", "50 g/14 oz cornflour (cornstarch)", "100 g/3½ oz plain (all-purpose) flour", "pinch of fine salt", "24 sardine fillets", "50 ml/14 fl oz white wine", "1/2 shallot", "3 sprigs of tarragon", "1 teaspoon roughly crushed black pepper", "2 teaspoons tomato purée", "4 egg yolks", "150 g/5½½ oz clarified butter (see p. 16)", "fine salt" ] } ], "instructions": [ "1-The vegetables\nPreheat a deep-fryer to 180°C/350°F or gently heat the oil in a large saucepan. Wash the courgette, then cut it into matchsticks. Peel and trim the carrots and cut into matchsticks the same size as the courgette. Remove and discard the artichoke leaves, just keeping the hearts. Finely slice the artichoke hearts, preferably with a mandoline, then toss with the lemon juice to prevent them turning black.", "2-The tempura batter\nMix all the ingredients together to make a smooth batter.", "3-Finishing off\nMake the Choron sauce (see step-by-step method on p. 122). Coat the sardine fillets and the vegetables in the tempura batter, then deep-fry in the hot oil for about 2-3 minutes. Remove with a slotted spoon, shaking off any excess oil, then drain briefly on kitchen paper and season with salt. Eat hot with the Choron sauce." ], "author": "" }
- Assistantjson
{ "data": "JP" }