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": "Figgy Pear Jam", "description": "The sweetness of luscious figs is mellowed a bit by combining it with a pear in this unique jam. The pear also helps to raise the acidity of the figs, but don't leave out the lemon juice if you are canning-it's needed for safe long-term preservation. Use this jam in Fig-Filled Cookies or enjoy it on its own.", "subtitle": "A unique jam that combines figs and pear.", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "10 medium figs, stems removed, roughly chopped", "1 medium pear, peeled, cored, and diced", "1½ cups (330 g) organic cane sugar", "2 tablespoons fresh lemon juice" ] } ], "instructions": [ "Combine the figs, pear, 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.", "Bring the fruit mixture to a boil over medium-high heat, stirring occasionally.", "After boiling for 10 minutes, use a potato masher to release the seeds and the juice from the fruit. How much you mash depends on how chunky you like your jam.", "Add the lemon juice and 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 1/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": "WWW" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.