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": "Potato Leek Soup", "description": "Potato soup can be made thick and creamy, even without traditional cream, by adding non-dairy milk. This is the soup to make mid to late summer, when both leeks and potatoes are abundant. Luckily, it freezes well, allowing you to save some for a chilly winter night.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 tablespoon olive oil", "3 leeks, washed well and sliced, white and medium-green sections only", "8 medium white or yellow potatoes, peeled and diced", "Cold water to cover", "1 teaspoon salt", "½ teaspoon ground black pepper", "1 cup (240 ml) Hemp Milk or non-dairy milk of choice" ] } ], "instructions": [ "Heat the olive oil in a large pot over medium heat. Add the leeks and cook until softened, about 8 to 10 minutes.", "Add the potatoes to the pot with just enough water to cover them. Bring the pot to a low boil, then turn the heat to low. Simmer, uncovered, until the potatoes are tender, about 30 to 45 minutes.", "When the potatoes are fall-apart tender, use an immersion blender to blend the soup until it is smooth. (Alternatively, transfer the soup in small batches to a blender or food processor to puree, then return it to the pot.) Don't overprocess the soup; a few chunks of potato are fine.", "Add the salt, pepper, and milk. Simmer for another 10 minutes, or until you are ready to serve.", "TO FREEZE: Let the soup cool completely before transferring it to airtight containers. Freeze for up to 6 months. Thaw in the refrigerator, reheat slowly on the stovetop over medium-low heat. When thawing, the water may separate from the soup; retain all of the liquid and add more non-dairy milk, if needed, to achieve the right consistency." ], "author": "" }
- Assistant
Pour la recette "Potato Leek Soup", bien qu'il n'y ait pas de pays explicitement mentionné, ce plat est typiquement associé à la cuisine britannique, plus particulièrement écossaise. Le code ISO 3166-1 alpha-2 pour le Royaume-Uni est GB.
Voici le résultat en format JSON structuré, tel que demandé :
{ "data": "GB" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.