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": "12 ESCARGOT IN THE SHELL", "description": "A delicacy that's perfect for any appetizer setting, these escargots are stuffed with a divine herb butter and baked to perfection.", "subtitle": "with Herb Butter", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "120G HERB BUTTER", "6 CLOVES GARLIC", "4.23 OUNCES SHALLOTS", "1/2 BUNCH CURLY-LEAF PARSLEY", "1/2 BUNCH CHERVIL", "1/2 BUNCH CHIVES", "1KG BUTTER, AT ROOM TEMPERATURE", "150G DRY BREAD CRUMBS", "SALT", "FRESHLY GROUND WHITE PEPPER", "48 BURGUNDY ESCARGOT SNAILS, COOKED AND SHELLED", "48 ESCARGOT SNAIL SHELLS" ] } ], "instructions": [ "Peel the garlic and shallots.", "Mince them together with the parsley, chervil, and chives.", "In a medium bowl, use a spoon to mix the softened butter with the mixture of shallots, garlic, and herbs, then add the bread crumbs.", "Season with salt and pepper.", "Preheat the oven to 180°C - 350°F (gas mark 4).", "Stuff each shell completely with a snail and herb butter, then arrange them on escargot dishes.", "Bake for 10 minutes and serve." ], "author": "ALLARD" }
- Assistant
{ "data": "FR" }