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é.
code1. 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": "Dumplings from Kung Fu Panda", "description": null, "subtitle": "This Master Po dumpling has a distinct round shape like the movies. It has chicken fillings with herbs and spices that will keep you coming back for more.", "ingredients": [ { "section": "Wrapper", "ingredients": [ "1 ½ cup of flour (all-purpose)", "½ cup of water (boiling)", "1/4 tsp salt", "1 ½ tsp vegetable oil" ] }, { "section": "Filling", "ingredients": [ "9 oz ground boneless chicken", "8 stalks of finely chopped spring onions", "4 sprigs of finely chopped coriander leaves", "1" finely minced ginger", "1 tsp soy sauce", "2 finely minced green chilies", "1 egg", "Pinch of salt", "3 leaves of Cabbage" ] } ], "instructions": [ "In a mixing bowl, combine the oil, salt, and flour then stir in the hot water.", "Knead the dough until it is elastic and soft.", "Rub 1 tsp of oil around the dough so it does not go dry.", "Let the dough sit in the refrigerator overnight.", "Remove the dough from the fridge a couple of hours before using it so that it rises.", "Combine all the filling ingredients.", "Put the dough in a floured surface and roll it into thin circular sheets.", "Cover each sheet with parchment paper so that it does not stick with each other.", "Place 1 tbsp of filling inside each dumpling wrapper.", "Close it by using pleats.", "Line your steamer with cabbage leaves and steam the dumplings for 12 minutes.", "Serve fresh from the steamer." ], "author": null }
- Assistantjson
{ "data": "CN" }