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": "Veal kidneys with gin and pepper", "description": "When cooking kidneys be careful not to overdo them: they should remain a little pink.", "subtitle": "Gin is marvellous in cooking, particularly with offal or game.", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "8 shallots", "large knob of salted butter", "pinch of caster (superfine) sugar", "fine salt, freshly ground pepper", "2 pinches of roughly crushed white pepper", "20 roughly crushed green peppercorns", "1 teaspoon roughly crushed black pepper", "10 roughly crushed juniper berries", "200 ml/7 fl oz single (pouring) cream", "2 large veal kidneys, fat and sinew removed, cut into large pieces", "large knob of salted butter", "100 ml/3½ fl oz gin", "fine salt, fleur de sel, cracked peppercorns" ] } ], "instructions": [ "Peel and trim the shallots and put them on a piece of foil big enough to wrap them up.", "Dot with butter and sprinkle with salt and sugar. Wrap the foil around them and crimp the edges together to make a parcel.", "Cook in an oven preheated to 180°C (350°F; gas mark 4) for 20-30 minutes. (See step-by-step method on p. 42.)", "Put all the ingredients in a saucepan and simmer for 2 minutes.", "Cover the pan, take off the heat and leave the sauce to infuse for 20-30 minutes.", "Season the kidneys with a little salt.", "Melt the butter in a large frying pan (at least 28 cm/11 in wide) over a high heat until it foams.", "Add the kidneys and brown all over for 2-3 minutes, no longer.", "Leave to drain on kitchen paper.", "Pour out the butter from the frying pan, add the gin and let it bubble for 10 seconds.", "Add the pepper sauce and simmer for a further minute.", "Finely slice the kidneys and place on the plates, then top with the confit shallots and the sauce.", "Sprinkle with cracked peppercorns and fleur de sel." ], "author": "" }
- Assistant
Pour analyser l'origine de la recette fournie, nous allons suivre les étapes définies dans l'objectif.
-
Recherche d'un pays : La recette utilise des éléments tels que "gin" et "veal kidneys" qui sont typiques de la cuisine britannique.
Le code ISO 3166-1 alpha-2 pour le Royaume-Uni est GB.
Puisque nous avons identifié un pays à partir des ingrédients, nous pouvons immédiatement fournir le code correspondant sans passer aux étapes suivantes.
Voici le JSON structuré en conséquence :
{ "data": "GB" } -
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.