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": "Linguini", "description": "It is quite an interesting fact that Linguini's name also means pasta of some kind. And who doesn't love good pasta?\nPasta is an Italian dish, which is loved by almost everyone around the globe. Pasta comes in a lot of varieties, with\ndifferent sauces and toppings according to one's wishes. Let me share an amazing pasta recipe with you all.", "subtitle": "the person or Linguini, the pasta?", "ingredients": [ { "section": "For the recipe", "ingredients": [ "3/4 cup penne pasta", "salt", "4-5 cups of water", "1/2 teaspoon oil", "1/4 cup finely minced carrot", "1/4 cup finely minced green capsicum", "1/4 cup minced red capsicum", "1/4 cup minced broccoli" ] }, { "section": "For white sauce", "ingredients": [ "1/2 tablespoon butter", "1 teaspoon finely minced garlic", "1 1/2 tablespoons all-purpose flour", "1 1/2 cups milk", "oregano", "chili flakes", "black pepper", "Salt" ] } ], "instructions": [ "In a saucepan, add water, and let it boil.", "When the water starts boiling, add pasta and a pinch of salt to it.", "Let the pasta cook in boiling water for 10-12 minutes.", "Once the pasta is ready, transfer it to a different bowl and drain the excess water.", "In a different pan, add 1/2 teaspoon oil, and let it heat.", "Once the oil has heated, add minced carrot, green capsicum, red capsicum, broccoli, and salt.", "Cook the vegetables well for another 2-3 minutes.", "Once done, transfer it to another container or bowl.", "Now, in a pan, add the butter and let it heat. After the butter has warmed up, add the chopped garlic to it. Cook them.", "Add all-purpose flour in this butter and cooked garlic mixture. Cook for around a minute.", "While mixing the butter, garlic and flour, pour milk in batches. Keep mixing to avoid lumps in the mixture.", "Keep whisking the mixture in low flame, until it starts to thicken.", "Once the sauce has started thickening, add oregano, chili flakes, black pepper, and salt to the sauce.", "Once the sauce is ready, add the vegetables and pasta to the sauce and mix well.", "Once ready, transfer the pasta to a different plate and enjoy your pasta." ], "author": null }
- Assistant
{ "data": "IT" }