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": "Rouelle of pork with oven-roasted vegetables", "description": "Savourez cette délicieuse rouelle de porc accompagnée de légumes rôtis au four, un plat réconfortant et plein de saveurs.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 large pork loin chops", "4 endives", "4 carrots with tops", "4 turnips with tops", "1 small black radish", "half a celeriac", "4 pippin apples", "2 garlic cloves", "salt", "mignonette pepper", "a drop of olive oil", "1 small ladleful of chicken stock", "5 tablespoons of sherry vinegar" ] } ], "instructions": [ "Remove the base of 4 endives, wash, wipe dry and cut in half lengthwise.", "Peel 4 carrots with tops, 4 turnips with tops and 1 small black radish.", "Cut the radish into quarters.", "Peel half a celeriac and cut into wedges.", "Wash 4 pippin apples, quarter them and remove the core.", "Preheat the oven to 200 °C (gas mark 5 to 6).", "With the tip of a knife, make regular incisions in the rind of a 400 g rouelle (round) of pork.", "Then season with salt and mignonette pepper.", "Put it in a large dish or in the dripping pan of the oven with a drop of olive oil then put in the oven for 15 minutes.", "Add the vegetables, apples and 2 garlic cloves, crushed. Add salt and continue to cook for a further 15 minutes.", "Lower the oven temperature to 170 °C (gas mark 3 to 4) then add 1 small ladleful of chicken stock and cook for a further 15 minutes, basting frequently so that the meat stays nice and tender.", "Turn off the oven.", "Take the dish out, add 5 tablespoons of sherry vinegar and deglaze the juices with a spatula.", "Cover the meat with aluminium foil and return the dish to the oven for 10 minutes, leaving the door half open.", "After its rest, cut the rouelle of pork into thick slices and place them in a serving dish or on individual plates.", "Add the vegetables and apples.", "Pour over the cooking juices.", "Sprinkle a few grains of sea salt and some freshly ground black pepper." ], "author": "" }
- Assistant
{ "data": "FR" }