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": "Applesauce", "description": "Making applesauce at home isn't much harder than boiling water. In the fall, when apples are plentiful, make large batches of applesauce and save it for use throughout the year.", "subtitle": "A delicious homemade treat", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "10 medium apples (any kind), peeled, cored, and diced", "About 6 cups (1440 ml) water", "3 tablespoons fresh lemon juice (if canning)" ] } ], "instructions": [ "1. Place the apples in a large pot and add just enough water to cover them. Bring it to a boil, uncovered, over medium-high heat.", "2. If you are canning, start boiling the jars and follow the Steps for Canning on page 74.", "3. Boil the apples for 10 to 15 minutes, until they are fork-tender. Take care not to let them get too mushy. Drain the water from the apples.", "4. Place the apples in a food processor or blender and puree them until they are smooth.", "5. If you are canning, add 1 tablespoon of lemon juice to each pint jar before adding the applesauce, leaving 1/2 inch (13 mm) of headspace (the amount of open space from the top of the filled jar to the lid), and process them in a water bath for 20 minutes (see page 74). Otherwise, let the applesauce cool completely before refrigerating or freezing in airtight containers. Refrigerate for up to 2 weeks. Freeze for up to six months; thaw in the refrigerator before using." ], "author": "" }
- Assistantjson
{ "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.