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": "214 DESSERTS\nAUX LYONNAIS\nCRÊPE SOUFFLÉ\nwith Orange\nSERVES 4\nPREPARATION: 30 MINUTES\nCOOKING: 30 MINUTES\nRESTING: 20 MINUTES\nCREPE BATTER\n200ML 3/4 CUP PLUS 1 TABLESPOON\nLOW-FAT MILK\n1/2 VANILLA BEAN\n70G 2.47 OUNCES (1/4 CUP PLUS\n1/2 TEASPOON) EGG YOLKS (ABOUT\n4 LARGE), 3 EGG WHITES RESERVED\n70G 2.47 OUNCES (1/3 CUP PLUS\n1 TEASPOON) SUGAR\n60G\n2.12 OUNCES (1/2 CUP).\nTYPE 45 FLOUR\n1 PINCH SALT\n25G\n0.88 OUNCE (1 3/4\nTABLESPOONS) BUTTER, MELTED\nORANGE BUTTER\n100ML 1/3 CUP PLUS 1 TABLESPOON\nORANGE JUICE\n40G 1.41 OUNCES (3 TABLESPOONS)\nHONEY\nZEST OF 1 ORANGE\n55G 1.4 OUNCES (4 TABLESPOONS)\nBUTTER\nPASTRY CREAM\n100ML 1/3 CUP PLUS 1 TABLESPOON\nCOINTREAU\n40G 1.41 OUNCES (2 TABLESPOONS\nPLUS 2 TEASPOONS) EGG YOLKS (ABOUT\n2 EXTRA LARGE)\n20G 0.71 OUNCE (1 TABLESPOON\nPLUS 2 TEASPOONS) SUGAR\n10G 0.35 OUNCE (4 TEASPOONS)\nTYPE 45 FLOUR\nFINISHING\n1 ORANGE\n80G 2.82 OUNCES (5 3/4\nTABLESPOONS) BUTTER\n40G -1.41 OUNCES (3 TABLESPOONS\nPLUS 2 TEASPOONS) SUGAR\n50ML 3 1/2 TABLESPOONS COINTREAU\nMAKE THE CRÊPE BATTER\nBring the milk to a boil in a saucepan with the vanilla bean. Remove\nthe pan from the heat and infuse the milk for 20 minutes. Remove the\nvanilla bean. Preheat the oven to 200°C - 400°F (gas mark 6). In a\nbowl, gently whisk the egg yolks with 60g - 2.12 ounces (1/3 cup)\nsugar, and then add the flour and warm milk.\nWhisk the egg whites and the salt to soft peaks in a stand mixer with\nthe whisk attachment, and then whisk to firm peaks while adding the\nremaining sugar. Fold the beaten egg whites into the batter. Heat\nan ovenproof skillet or frying pan. Add one-quarter of the butter and\none-quarter of the mixture. Cook gently for 30 seconds, then put in\nthe oven for 3 to 4 minutes. Repeat the operation to make another\nthree crêpes. Cover the crêpes and set aside*.\nMAKE THE\nORANGE\nBUTTER\nMix the orange juice with the honey and zest in a small saucepan.\nReduce by half, then gradually incorporate the butter. Set aside*.\nMAKE THE PASTRY CREAM\nHeat the Cointreau in a saucepan. Whisk the egg yolks with the sugar\nin a bowl, then incorporate the flour. Pour in the Cointreau and stir.\nReturn the mixture to the pan and boil for 1 minute. Let cool for\n2 minutes, then cover the mixture with plastic wrap in direct contact\nwith the cream to prevent a skin from forming.\nFINISHING\nSupreme and section (segment) the orange. Spread one-quarter of\nthe pastry cream in the middle of each crêpe and fold over. Heat\na pat of butter in a skillet or frying pan with a little sugar and let\ndarken slightly. Put a crêpe into the pan. Turn it to caramelize all\nover, and add a dash of Cointreau. Transfer the crêpe to a plate.\nRepeat the cooking and plating process for the remaining crêpes.\nArrange a few orange sections around each. Reheat the orange butter\nand serve separately.\nTHE WINE\nA SWEET WHITE RHONE WINE. SUCH AS MUSCAT DE\nBEAUMES DE VENISE"
}
json
{
"NbPersons": 4,
"Language": "fr",
"Category": "dessert",
"Title": "CRÊPE SOUFFLÉ with Orange",
"Subtitle": "",
"Preparation_Time": 30,
"Cooking_Time": 30,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"200ML 3/4 CUP PLUS 1 TABLESPOON LOW-FAT MILK",
"1/2 VANILLA BEAN",
"70G 2.47 OUNCES (1/4 CUP PLUS 1/2 TEASPOON) EGG YOLKS (ABOUT 4 LARGE), 3 EGG WHITES RESERVED",
"70G 2.47 OUNCES (1/3 CUP PLUS 1 TEASPOON) SUGAR",
"60G 2.12 OUNCES (1/2 CUP) TYPE 45 FLOUR",
"1 PINCH SALT",
"25G 0.88 OUNCE (1 3/4 TABLESPOONS) BUTTER, MELTED",
"100ML 1/3 CUP PLUS 1 TABLESPOON ORANGE JUICE",
"40G 1.41 OUNCES (3 TABLESPOONS) HONEY",
"ZEST OF 1 ORANGE",
"55G 1.4 OUNCES (4 TABLESPOONS) BUTTER",
"100ML 1/3 CUP PLUS 1 TABLESPOON COINTREAU",
"40G 1.41 OUNCES (2 TABLESPOONS PLUS 2 TEASPOONS) EGG YOLKS (ABOUT 2 EXTRA LARGE)",
"20G 0.71 OUNCE (1 TABLESPOON PLUS 2 TEASPOONS) SUGAR",
"10G 0.35 OUNCE (4 TEASPOONS) TYPE 45 FLOUR",
"1 ORANGE",
"80G 2.82 OUNCES (5 3/4 TABLESPOONS) BUTTER",
"40G -1.41 OUNCES (3 TABLESPOONS PLUS 2 TEASPOONS) SUGAR",
"50ML 3 1/2 TABLESPOONS COINTREAU"
]
}
],
"Description": "Ce dessert léger et aérien en forme de crêpe soufflée, agrémenté d'une délicieuse sauce à l'orange, ravira vos papilles et impressionnera vos invités.",
"Instructions": [
"MAKE THE CRÊPE BATTER",
"Bring the milk to a boil in a saucepan with the vanilla bean. Remove the pan from the heat and infuse the milk for 20 minutes. Remove the vanilla bean.",
"Preheat the oven to 200°C - 400°F (gas mark 6).",
"In a bowl, gently whisk the egg yolks with 60g - 2.12 ounces (1/3 cup) sugar, and then add the flour and warm milk.",
"Whisk the egg whites and the salt to soft peaks in a stand mixer with the whisk attachment, and then whisk to firm peaks while adding the remaining sugar.",
"Fold the beaten egg whites into the batter.",
"Heat an ovenproof skillet or frying pan. Add one-quarter of the butter and one-quarter of the mixture. Cook gently for 30 seconds, then put in the oven for 3 to 4 minutes.",
"Repeat the operation to make another three crêpes. Cover the crêpes and set aside*.",
"MAKE THE ORANGE BUTTER",
"Mix the orange juice with the honey and zest in a small saucepan. Reduce by half, then gradually incorporate the butter. Set aside*.",
"MAKE THE PASTRY CREAM",
"Heat the Cointreau in a saucepan.",
"Whisk the egg yolks with the sugar in a bowl, then incorporate the flour.",
"Pour in the Cointreau and stir. Return the mixture to the pan and boil for 1 minute. Let cool for 2 minutes, then cover the mixture with plastic wrap in direct contact with the cream to prevent a skin from forming.",
"FINISHING",
"Supreme and section (segment) the orange. Spread one-quarter of the pastry cream in the middle of each crêpe and fold over.",
"Heat a pat of butter in a skillet or frying pan with a little sugar and let darken slightly.",
"Put a crêpe into the pan. Turn it to caramelize all over, and add a dash of Cointreau. Transfer the crêpe to a plate.",
"Repeat the cooking and plating process for the remaining crêpes. Arrange a few orange sections around each. Reheat the orange butter and serve separately."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": "*"
}