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": "Sister's Sweet Caramel Apples", "description": null, "subtitle": "These caramel apples are inspired by the notorious Sanderson Sisters from Hocus Pocus. Each unique apple is adorned in the colours of one of the sisters. These sweet fruits are tasty and will have you bonding with your favourite sister.", "ingredients": [ { "section": "Ingredients", "ingredients": [ "3 chilled apples, Granny Smith for Winifred, Braeburn for Mary and Honeycrisp for Sarah - washed and dried", "3 cups caramels, unwrapped, meltable", "1 tablespoon water", "3 cake pop long lollipop sticks" ] }, { "section": "Toppings", "ingredients": [ "Winifred - chocolate shavings, green and purple candy melts", "Mary - chocolate melts, red candy melts, peanuts and pecans", "Sarah - purple candy melts, bug sprinkles" ] } ], "instructions": [ "1. Line a baking sheet with parchment paper and spray with cooking spray.", "2. Insert a stick into each apple where the stem would be.", "To melt caramel, add caramel and water to a bowl.", "Microwave for 2-2 ½ minutes in 15 seconds intervals, stirring at each stop until smooth and melted.", "3. Dip apples into caramel, ensuring that it's coated, allowing excess to drip off.", "Place on the parchment baking sheet and allow caramel to cool.", "4. To decorate: Winifred - sprinkle the bottom half of the apple with chocolate shavings.", "Melt candy according to package instructions and drizzle them on the top half of the apple.", "For Mary, roll the apples in the peanuts and pecans.", "Melt chocolate melts and drizzle over the apple.", "Drizzle the mid-section with red melts.", "For Sarah drizzle with purple candy melts and place bug sprinkles all around.", "5. Refrigerate for 40 minutes to an hour until the caramel is firm and set.", "Remove from the fridge and wait about 15 minutes before serving." ], "author": null }
- Assistant
{ "data": "WNA" }