Goal
Objectif est d'extraire et structurer les informations d'une recette de cuisine sous forme d'un objet JSON sans jamais modifier le texte d'origine.
code
Assistant
1. Identification et extraction des informations demandées.
2. Calcul des temps de préparation et de cuisson si non précisés.
3. Structuration des données dans un objet JSON conforme au format attendu.
4. Respect strict de la langue d'origine et du texte des instructions.
5. Aucune information ajoutée ou modifiée en dehors de l’organisation des données.
Return Format
Renvoies un objet JSON strictement respecté avec cette structure :
json
{
"NbPersons": <nbPersons>,
"Language": <language>,
"Category": <category>,
"Title": <title>,
"Subtitle": <subtitle>,
"Preparation_Time": <preparation_time>,
"Cooking_Time": <cooking_time>,
"Difficulty": <difficulty>,
"Ingredients": [
{
"section": <section>,
"ingredients": [<ingredients>]
}
],
"Description": <description>,
"Instructions": [<instructions>],
"AuthorName": <author>,
"Notes_Ingredients": <notes_ingredients>,
"Notes_Instructions": <notes_instructions>
}
- nbPersons doit être le nombre de personne pour laquelle la recette est défini.
- language doit être le code ISO 639 de la langue de la recette
- category doit être "drinks" si c'est du liquide parmis cette liste (thé, café, jus de fruit, cocktail). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce)
- title doit être le nom de la recette
- subtitle doit être un complément du nom de la recette.
- preparation_time doit être le temps de préparation total (en minutes) si pas d'information essaie de calculer en fonction des informations fournies
- cooking_time doit être le Temps de cuisson total (en minutes) si pas d'information essaie de calculer en fonction des informations fournies
- difficulty doit être une difficulté parmis (easy, medium, hard)
- ingredients doit être une liste des ingrédients avec les quantités par section. Exemple: {section: "Pour la sauce", ingredients: ["1 kg de beurre"]}. Si absence d'information pour la section, tu mettras "Pour la recette".
- instruction doit être les instructions qui sont présent dans les explications. Précises bien en détails ce qui est écris pour les instructions. Fais attention à respecter l'ordre des instructions. C'est une liste de string.
- description doit être une présentation qui donne envie de faire la recette.
- notes_ingredients doit être les détails importants qui sont précisé concernant les ingrédients (ingrédient facultatif, remplacement d'un ingrédient par un autre ingrédient...)
- notes_instructions doit être les détails important qui sont précisé concernant les étapes pour faire la recette (actuces, conseils...)
Warnings
- Ne modifie aucun texte d'origine (titre, description, ingrédients, instructions).
- Ne traduis pas la langue de la recette, elle doit être identifiée et conservée.
- Les instructions doivent être strictement identiques à l'original, sans reformulation.
- Si une information est absente, laisse le champ vide, sans ajout d’invention.
- Les quantités d’ingrédients doivent rester sous forme de liste de chaînes de caractères.
- Respecte le format JSON exact et assure-toi qu’il soit bien formatté.
Context Dump
Texte source fourni :
{
"explication": "THE WINE\nRATAFIA DE CHAMPAGNE\nFLAMBÉED CRÊPES\nwith Bachès Citrus Fruits\nDESSERTS 217\nBENOIT\nMAKE THE BATTER\nMix the flour with the eggs, sugar, and one-quarter of the milk in\na food processor. When smooth, gradually add the remaining milk.\nMelt the butter, then add it to the batter with the olive oil and salt.\nLet the batter rest for 2 hours before use.\nMAKE THE ORANGE MARMALADE\nRemove the zest from the oranges and set aside. Cut the oranges\ninto chunks and cook in a covered saucepan with the sugar and\nlemon juice for 1 hour. When the oranges are cooked, gently blend,\nleaving 2 pieces whole.\nMAKE THE\nCITRUS\nSAUCE\nReduce the orange juice by half. Put in a saucepan and dissolve\ncompletely. Deglaze* the pan with the reduced orange juice and add\nthe lemon juice. Set aside*.\nMAKE THE SEMI CANDIED\nORANGE ZEST\nCut the zests of two oranges very finely. Make a syrup with the sugar\nand 100ml 3 1/2 tablespoons water in a saucepan. Add the zests\nand cook for 1 hour over low heat. Let cool, then refrigerate.\nMAKE THE\nDICED\nDRIED\nORANGE\nPreheat the oven to 90°C - 195°F (lowest gas mark setting). Supreme\nthe oranges by completely removing the peel and pith. Then section\n(segment) them by using a pointed knife to cut out the flesh from\neach section. Cut the sections into a 1cm - 5/8 inch dice. Dry out\nin the oven for 30 to 40 minutes.\nFINISHING\nUse a skillet or frying pan with a diameter of about 20cm - 8 inches\nto make 12 crêpes total. Spread with a generous amount of marma-\nlade, fold over, and then fold over again. Reheat the citrus sauce in\na much larger skillet or frying pan. Then add the crêpes and baste\nregularly. Flambé with the orange liqueur. Add the semi-candied\norange zests and diced dried orange. Arrange three crêpes on each\nplate and add a generous pour of the very hot sauce.\nSERVES 4\nPREPARATION: 1 HOUR\nCOOKING: 2 HOURS 40 MINUTES\n100G\nRESTING: 2 HOURS\nBATTER\n200G 7 OUNCES (1 1/2 CUPS PLUS\n1 1/2 TABLESPOONS) FLOUR\n3.53 OUNCES (1/3 CUP PLUS\n1 TABLESPOON) EGGS (2 MEDIUM)\n20G 0.71 OUNCE (1 TABLESPOON PLUS\n2 TEASPOONS) SUGAR\n500G 1 POUND 2 OUNCES (2 CUPS\nPLUS 1 TABLESPOON) MILK\n50G 1.76 OUNCES\n(3 1/2 TABLESPOONS) BUTTER\nOLIVE OIL\n1 PINCH SALT\nORANGE MARMALADE\n250G 8.82 OUNCES ORANGES\n(ABOUT 2 MEDIUM)\n30G 1.06 OUNCES\n(2 1/2 TABLESPOONS) SUGAR\n30ML 2 TABLESPOONS LEMON JUICE\nCITRUS SAUCE\n200G 7 OUNCES (3/4 CUP PLUS\n2 1/2 TABLESPOONS) ORANGE JUICE\n4.94 OUNCES (3/4 CUP) SUGAR\n40ML 2 TABLESPOONS PLUS\n2 TEASPOONS LEMON JUICE\n140G\nSEMI-CANDIED ORANGE ZEST\nZEST OF 2 ORANGES\n100G 3.53 OUNCES (1/2 CUP) SUGAR\nDICED DRIED ORANGE\n2 ORANGES\nFINISHING\n25ML 5 TEASPOONS ORANGE LIQUEUR"
}
json
{
"NbPersons": 4,
"Language": "fr",
"Category": "dessert",
"Title": "Ratafia de Champagne Flambéed Crêpes with Bachès Citrus Fruits",
"Subtitle": "DESSERTS 217",
"Preparation_Time": 60,
"Cooking_Time": 160,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"100G BATTER",
"200G 7 OUNCES (1 1/2 CUPS PLUS 1 1/2 TABLESPOONS) FLOUR",
"3.53 OUNCES (1/3 CUP PLUS 1 TABLESPOON) EGGS (2 MEDIUM)",
"20G 0.71 OUNCE (1 TABLESPOON PLUS 2 TEASPOONS) SUGAR",
"500G 1 POUND 2 OUNCES (2 CUPS PLUS 1 TABLESPOON) MILK",
"50G 1.76 OUNCES (3 1/2 TABLESPOONS) BUTTER",
"OLIVE OIL",
"1 PINCH SALT",
"250G 8.82 OUNCES ORANGES (ABOUT 2 MEDIUM) ORANGE MARMALADE",
"30G 1.06 OUNCES (2 1/2 TABLESPOONS) SUGAR",
"30ML 2 TABLESPOONS LEMON JUICE",
"200G 7 OUNCES (3/4 CUP PLUS 2 1/2 TABLESPOONS) ORANGE JUICE CITRUS SAUCE",
"4.94 OUNCES (3/4 CUP) SUGAR",
"40ML 2 TABLESPOONS PLUS 2 TEASPOONS LEMON JUICE",
"140G SEMI-CANDIED ORANGE ZEST",
"ZEST OF 2 ORANGES",
"100G 3.53 OUNCES (1/2 CUP) SUGAR DICED DRIED ORANGE",
"2 ORANGES",
"25ML 5 TEASPOONS ORANGE LIQUEUR"
]
}
],
"Description": "Un dessert délicat et raffiné qui marie la légèreté des crêpes flambées avec la fraîcheur des agrumes.",
"Instructions": [
"MAKE THE BATTER",
"Mix the flour with the eggs, sugar, and one-quarter of the milk in a food processor.",
"When smooth, gradually add the remaining milk.",
"Melt the butter, then add it to the batter with the olive oil and salt.",
"Let the batter rest for 2 hours before use.",
"MAKE THE ORANGE MARMALADE",
"Remove the zest from the oranges and set aside.",
"Cut the oranges into chunks and cook in a covered saucepan with the sugar and lemon juice for 1 hour.",
"When the oranges are cooked, gently blend, leaving 2 pieces whole.",
"MAKE THE CITRUS SAUCE",
"Reduce the orange juice by half.",
"Put in a saucepan and dissolve completely.",
"Deglaze the pan with the reduced orange juice and add the lemon juice.",
"Set aside.",
"MAKE THE SEMI CANDIED ORANGE ZEST",
"Cut the zests of two oranges very finely.",
"Make a syrup with the sugar and 100ml water in a saucepan.",
"Add the zests and cook for 1 hour over low heat.",
"Let cool, then refrigerate.",
"MAKE THE DICED DRIED ORANGE",
"Preheat the oven to 90°C - 195°F (lowest gas mark setting).",
"Supreme the oranges by completely removing the peel and pith.",
"Then section them by using a pointed knife to cut out the flesh from each section.",
"Cut the sections into a 1cm - 5/8 inch dice.",
"Dry out in the oven for 30 to 40 minutes.",
"FINISHING",
"Use a skillet or frying pan with a diameter of about 20cm - 8 inches to make 12 crêpes total.",
"Spread with a generous amount of marmalade, fold over, and then fold over again.",
"Reheat the citrus sauce in a much larger skillet or frying pan.",
"Then add the crêpes and baste regularly.",
"Flambé with the orange liqueur.",
"Add the semi-candied orange zests and diced dried orange.",
"Arrange three crêpes on each plate and add a generous pour of the very hot sauce."
],
"AuthorName": "Benoit",
"Notes_Ingredients": "",
"Notes_Instructions": "Let the batter rest for 2 hours."
}