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": "SPICED CHICKEN ON BREAD", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 whole chickens, cut in pieces", "3 tbsps sumac", "1 lemon juice of", "1 tsp salt", "1/4 tsp pepper", "1/8 tsp cinnamon", "1/4 tsp nutmeg", "2 large onions, quartered and sliced thin", "2 tbsps pine nuts", "3-6 tbsps olive oil", "4-6 pieces pita bread" ] } ], "instructions": [ "In a large pan of salted water. Add the chicken and bring to a boil.", "While, cooking, discard the froth from the top and cook till chicken is done completely.", "Set your oven to 400 degrees F.", "Strain the broth into a bowl and let it cool completely.", "Transfer the chicken pieces into another bowl.", "Add 1 tbsp of the sumac, salt, lemon juice and some oil and mix well with chicken pieces.", "Meanwhile in a skillet, heat the oil and sauté the onion, 2 tbsps of sumac and salt till soft.", "In a baking dish, place the pita bread pieces and add enough broth to just cover the bread pieces.", "Divide the onion mixture over each bread piece evenly, followed by chicken pieces.", "Cook everything in the oven for about 20 minutes.", "Serve with a garnishing of pine nuts.", "Place the pieces of Arabic bread or pita bread in a baking pan, and pour some of the chicken broth you just made on top of the bread (you want to soak the bread in the broth). Turn the bread over to make sure both sides are covered.", "Make sure the broth is cooled off completely, otherwise you will end up with soggy bread that you cannot pick up!", "Place the sautéed onions with the olive oil on top of each piece of bread (depending on how big your piece of bread is depends on how much onion you will put on each piece, but normally it's about 1/2 C. for bigger pieces of bread and 1/3 C. for smaller pieces).", "Spread the onions out to cover the top of the bread.", "Place 1-2 pieces of chicken (depending on how big your bread is) on top of the sautéed onions.", "Bake at 400 degrees for 20 minutes, or until the chicken is browned.", "Garnish with the sautéed pine nuts." ], "author": null }
- Assistant
{ "data": "WAS" }