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": "Totoro Latte Art", "description": "Unlike the other recipes in this book, this latte art did not appear in the movie but is my own creation to pay homage to one of the most popular Studio Ghibli films of all time! 3-D latte art is a huge trend in Japanese cafés, so I thought it would be fun to include. Totoro is not too hard to replicate, so I hope you give this a try.", "subtitle": null, "ingredients": [ { "section": "Ingredients", "ingredients": [ "Prepared coffee drink or hot chocolate", "1 cup milk (skim, 1%, 2%, whole, or lactose-free)", "Brown gel food coloring, for decorating" ] } ], "instructions": [ "Place the prepared coffee or hot chocolate into two mugs, leaving some room at the top.", "In a tall microwave-safe container, microwave the milk until hot, about 1 minute. Remove from the microwave and froth the milk with a handheld frother until the volume has tripled and stopped expanding. Microwave for another 30 seconds, making sure there is space for expansion, to get hard/stiff milk foam.", "Decorate the drinks by placing large dollops of the milk foam on top of the mug to create Totoro's rotund body. To make an ear, place a small dollop of the milk foam on a spoon and, using another spoon, scoop it back and forth to create a long pointed shape like a bunny ear. Carefully place the ear on top of the body, then smooth out where they connect using the back of the other spoon, gently pressing the seams together. Repeat for the other ear.", "For the details, place brown gel food coloring on a small plate. Dip a toothpick into the food coloring and draw two ¼-inch (6 mm) circles for eyes and a small dot in each for the pupil; a wide triangular nose in between the eyes; 3 lines on each cheek for the whiskers; and a semicircle outlining the top of the belly, and inside that, 2 rows of upside-down V shapes. For the blush, add a small amount of food coloring to the milk foam and mix using the toothpick for a lighter brown. Gently scoop a small portion and place onto the face. Repeat step 3 and this step for the second mug." ], "author": null }
- Assistant
{ "data": "JP" }