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": "Remy's Fondness for Burgundy Mushroom", "description": "Inspired by Remy's love for experimenting with flavors, this Burgundy Mushroom dish, also known as Mushroom Bourguignon, offers a cheesy vegetarian delight. Follow Remy's lead and try something new!", "subtitle": "A cheesy vegetarian dish inspired by Remy's culinary adventures.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "250gram onions", "250-gram carrots", "1 tablespoon oil", "850-gram mushrooms", "4 finely chopped garlic", "3/4 cup red wine", "2 tablespoon tomato paste", "1 thyme", "2 bay leaves", "1 cup vegetable stock", "black pepper" ] } ], "instructions": [ "Cut the mushrooms into edible pieces.", "Chop the carrots and onions. They should not be cut into very small pieces.", "In a pan, heat the oil. Once the oil is warmed up, add mushrooms, carrots, and onions.", "Cook them on medium heat for 5-10minutes.", "Once they start getting ready, add garlic to the mixture.", "By this time, the mushrooms should be soft.", "Now, you can add the red wine to the saucepan and let it come to simmer.", "Once done, add the other remaining ingredients and mix them well.", "In case you don't have the desired carrot and onion texture, you can transfer the mixture into another casserole.", "Cover the container with foil and bake at 350F for another 40minutes.", "Once done, or once you have your desired veggies texture, you can serve it hot.", "Enjoy!" ], "author": "" }
- Assistant
{ "data": "FR" }