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": "Glacé grapefruit", "description": "This recipe requires a bit of effort and time, but it is very easy. In the restaurant I often serve glacé grapefruit with game, such as venison.", "subtitle": "For children", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 unwaxed pink grapefruit", "4 kg/9 lb caster (superfine) sugar" ] } ], "instructions": [ "1- Preparing the grapefruit", "Put the grapefruit in a large saucepan and cover with cold water. Bring to the boil and cook for 10 minutes.", "In another saucepan, bring 2 litres/31 pints of water to the boil with 2 kg/4½ lb of sugar.", "Halve the grapefruit, then immerse them in this syrup.", "Bring back to a simmer and leave the grapefruit to poach for 30 minutes, without letting the syrup boil.", "Drain them in a colander (reserving the syrup). place in a dish and leave to cool, then chill in the fridge for 24 hours.", "Transfer the grapefruit to a bowl big enough to hold them and the reserved syrup.", "2- The glacé grapefruit", "On the first day, strain the reserved syrup into a saucepan, add 500 g/1 lb 2 oz sugar and bring to the boil, then pour over the grapefruit.", "Leave to cool, then chill in the fridge for another 24 hours.", "The second day, do exactly the same: strain the syrup into a saucepan, add another 500 g/1 lb 2 oz sugar, then bring to the boil and pour over the grapefruit; cool, then chill for 24 hours.", "Repeat these steps again on the next two days, so four times in total." ], "author": "" }
- Assistant
{ "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.