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": "Ravioli gratin with caramelized onions and a light nutmeg béchamel", "description": "You should be able to find fresh ravioli in good delis, as well as at larger supermarkets, and they come in very handy when you have unexpected guests to feed!", "subtitle": "", "ingredients": [ { "section": "The ravioli gratin", "ingredients": [ "2 onions", "splash of olive oil", "15 g/½ oz salted butter", "4 sheets Dauphiné Ravioli", "20 g/3/4 oz grated Parmesan", "pinch of fine salt" ] }, { "section": "The nutmeg béchamel", "ingredients": [ "20 g/4 oz salted butter + extra for the dish", "20 g/4 oz plain (all-purpose) flour", "250 ml/9 fl oz milk", "pinch of grated nutmeg", "fine salt" ] } ], "instructions": [ "Peel and finely slice the onions. In a sauté pan or large frying pan, heat the olive oil with the butter. Add the onions and season lightly with salt, then cover and cook slowly, stirring often. As soon as they caramelize, remove from the heat and keep to one side.", "Cook the ravioli in boiling salted water for 1 minute. Refresh in iced water, then drain.", "Melt the butter, then stir in the flour and cook for 2 minutes until the mixture begins to froth. Gradually whisk in the cold milk, then cook over a low heat, stirring constantly, until the sauce thickens. Take off the heat and add the nutmeg, then season with salt.", "Preheat an overhead grill (broiler). Butter a gratin dish and spread the caramelized onions in a thin layer over the bottom. Gently mix the ravioli with the béchamel, then place on top of the onions. Sprinkle over the Parmesan, then brown under the grill for about 5 minutes until golden and bubbling. Serve hot." ], "author": "Everyday" }
- Assistant
Pour la recette donnée, nous notons que les ingrédients incluent des raviolis et de la béchamel, ainsi que des references à des ingrédients typiques tels que le parmesan et le beurre. Étant donné ces éléments, il est raisonnable de considérer que cette recette est d'origine italienne, car les raviolis et la béchamel sont des éléments emblématiques de la cuisine italienne.
Le code ISO 3166-1 alpha-2 pour l'Italie est "IT".
Voici donc le résultat dans le format JSON structuré :
{ "data": "IT" }