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": "Cherry Vanilla Jam", "description": "Use 2 half-pint (8-ounce/240 ml) jars if canning. my husband is a cherry fanatic. Each summer in early June he fills the refrigerator with more cherries than we can eat, inspiring me to create this jam. Sweet or tart, the choice of cherry is yours. Vanilla is the secret ingredient (shhh...)!", "subtitle": "A delicious jam made with cherries and vanilla", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 cups (620 g) cherries, pitted and chopped", "¾ cup (165 g) sugar", "Three 1-inch (2.5 cm) pieces of vanilla bean, or 2 teaspoons Vanilla Extract", "1 tablespoon fresh lemon juice" ] } ], "instructions": [ "Combine the cherries and sugar in a medium non-reactive saucepan. Let it sit for an hour, or until the sugar is partially liquefied.", "If you are canning, start boiling the jars to be used and follow the Steps for Canning on page 74.", "Add the vanilla to the cherries and boil over medium-high heat for 15 minutes, stirring occasionally.", "If using vanilla beans, fish them out and discard them. Add the lemon juice. Boil for another 3 to 5 minutes, stirring frequently, until the mixture reaches 220°F (105°C). See Making Jam on page 81 to learn more, including other methods to determine doneness.", "If you are canning, fill the jars, leaving 4 inch (6.5 mm) of headspace, and process them in a water bath for 10 minutes. Otherwise, let the jam cool completely before refrigerating or freezing in airtight containers.", "Refrigerate for up to 3 weeks or freeze for up to a year, thaw in the refrigerator." ], "author": "" }
- Assistant
{ "data": "WNA" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.