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": "Hot Cocoa", "description": "Hot Cocoa is meant for snow days, and yes-it's quite easy to make, even without dairy. Choose your favorite non-dairy milk, heat it up, and stir in some of this cocoa mix. Store the mix in the pantry for up to 2 months-just long enough to get you through the coldest winter months. The cinnamon is optional, but I urge you to try it (unless you are allergic to cinnamon) as it really makes the Hot Cocoa special. Add a dollop of Whipped Coconut Cream, if desired.", "subtitle": "MAKE & THIRTY 8-OUNCE (240 ML) SERVING or twenty 12-ounce (360 ml) servings", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 cup (220 g) organic cane sugar", "¾ cup (78 g) natural unsweetened cocoa powder", "% teaspoon salt", "½ teaspoon ground cinnamon, optional", "1 to 1½ cups (240 to 360 ml) Hemp Milk or non-dairy milk of choice", "2 to 3 tablespoons Cocoa Mix" ] } ], "instructions": [ "1. Whisk together the sugar, cocoa powder, salt, and cinnamon, if desired. Store the cocoa mix in the pantry in an airtight container.", "2. Heat the milk in a small saucepan over medium-low heat. Use 1 cup (240 ml) of milk per 8-ounce serving, or 1½ cups (360 ml) of milk per 12-ounce serving.", "3. Stir in 2 tablespoons of hot cocoa mix per 8-ounce serving or 3 tablespoons of hot cocoa mix per 12-ounce serving." ], "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.