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": "DATE FILLED COOKIES", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "6 C. farina (smeed)", "2 C. rendered butter", "1 C. flour", "1/2 C. oil", "3 tbsps sugar", "1/4 tsp Mahlab, ground (black cherry kernels)", "1/4 tsp gum Arabic, ground (miska)", "1/2 tsp salt", "0.5 (1/4 oz.) package yeast", "3/4 C. water", "3/4 C. milk" ] }, { "section": "Stuffing", "ingredients": [ "3 lbs dates", "1/2 tsp cinnamon", "1/2 tsp nutmeg", "1 tbsp rendered butter" ] } ], "instructions": [ "Set your oven to 400 degrees F before doing anything else and lightly, grease a baking sheet.", "In a large pan mix together the flour, smeed, sugar, salt, butter and oil and keep it aside covered for about 10 hours.", "In a small bowl, mix together 2 tbsps of the water, yeast and a dash of sugar and transfer into the bowl with the smeed mixture.", "In a third bowl, Add the miska, mahlab and cold water and stir to combine and transfer into the bowl with smeed mixture.", "In another bowl, mix together the milk and warm water and slowly, add everything into the bowl of smeed mixture stirring continuously till well combined.", "In a pan, melt the butter and add the dates, cinnamon and nutmeg and cook till dates becomes warm completely.", "Remove everything from the heat and crush the dates till dough like mixture forms.", "Make about 1/3-inch thick balls from the date mixture.", "Divide the dough into walnut size pieces and spread each piece about 4x1-inch lengthwise.", "Place 1 date ball in the center of each dough piece and seal it by rolling the sides to form a ring.", "With a cookie tweezer, pinch the rings of cookies.", "Arrange the cookies onto the prepared cookie sheet in a single layer and cook everything in the oven for about 15 minutes.", "Serve with a sprinkling of powdered sugar." ], "author": null }
- Assistantjson
{ "data": "EG" }