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": "Mango Rum Cooler", "description": "If you like tropical flavors, this might be the perfect mocktail for you. Rum is closely associated with tropical islands, and most rum alternatives replicate the distinctive taste of rum by incorporating rich flavors of molasses. The fruity goodness of mango-also associated with tropical islands-happens to complement these flavors beautifully.", "subtitle": "If you like tropical flavors, this might be the perfect mocktail for you.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 ounces mango juice", "1 1/2 ounces dark rum alternative", "1/4 ounce lime juice", "1/2 ounce Simple Syrup (see recipe in Chapter 1)", "2 ounces club soda", "3-4 mango slices for garnish" ] } ], "instructions": [ "Place a double rocks glass in the freezer, allowing it to chill as you prepare the mocktail. This helps the drink to stay cold longer.", "Combine mango juice, rum alternative, lime juice, and Simple Syrup in a cocktail shaker.", "Add large cubes of ice, cover the shaker, and shake vigorously 10-12 seconds. This makes sure that all ingredients are well combined, aerated, and chilled.", "Fill the chilled double rocks glass 2 full with ice cubes.", "Strain the mixture into the glass.", "Top the mixture with club soda, then give it a light stir to combine.", "Garnish with mango slices. (To give it an extra flair, turn your mango slices into a mango fan. You can use the same technique used to make an apple fan garnish described in Chapter 1 with mangoes as well!)" ], "author": "" }
- Assistant
{ "data": "WOC" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.