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": "Passion Fruit Curd", "description": "Passion fruit is one of the best fruits in the world - I love the contrast of its sweet but sharp taste and it's delicious as a cocktail ingredient or used in a bake. However, it's my Passion Fruit Curd that is out of this world amazing! I always use fresh passion fruit when making this curd and I don't bother removing the seeds. This recipe is cooked just like lemon curd and can be served in a similar way too. It's a great addition to any bake or served as a spread at afternoon tea.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "200g passion fruit pulp (about 7-8 passion fruit)", "65ml lemon juice", "100g caster sugar", "175g unsalted butter", "9 egg yolks" ] } ], "instructions": [ "In a large bowl, add the passion fruit pulp, lemon juice and sugar.", "Stir the mixture together, put the bowl over a pan of simmering water and add the butter.", "Let the butter melt.", "Pour the egg yolks into the passion fruit mixture and continue to heat, whisking continuously for 10-15 minutes until thickened.", "Alternatively, add all the ingredients to a large bowl, and microwave in 30-second bursts, stirring well each time until thickened.", "Set the curd mixture to one side to cool completely, stirring occasionally as it cools.", "Once cooled, pour into two sterilised 500ml jars and seal with sterilised lids." ], "author": null }
- Assistantjson
{ "data": "WWW" }