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": "110 ORGAN MEATS\nAUX LYONNAIS\nTRIPE\n600G 1 POUND 5 OUNCES BEEF\nBLANKET TRIPE\n1 CARROT\n1 ONION\n2 CLOVES\n2 LITERS 8 1/2 CUPS SPRING WATER,\nPLUS MORE AS NEEDED\n1 STALK CELERY\n1 CLOVE GARLIC\n1 BAY LEAF\n10G 0.35 OUNCE (1 1/2\nTABLESPOONS) BLACK PEPPERCORNS\n1 SPRIG THYME\nSEVERAL SPRIGS FLAT-LEAF PARSLEY,\nPLUS 1/2 BUNCH, STEMS AND LEAVES\nSEPARATED\nFLEUR DE SEL\n200ML 3/4 CUP PLUS 1 TABLESPOON\nDRY WHITE WINE\nJUICE OF 3 LEMONS\n1/2 BUNCH TARRAGON, STEMS AND\nLEAVES SEPARATED\n20ML 4 TEASPOONS GRAPESEED OIL\n10ML 2 TEASPOONS AGED RED\nWINE VINEGAR\n1 TABLESPOON DIJON MUSTARD\n1 TABLESPOON WHOLE-GRAIN MUSTARD\nSALT\nFRESHLY GROUND PEPPER\nTABLIER DE SAPEUR\n(CRUMBED TRIPE)\nwith Gribiche Sauce\nSERVES 4\nPREPARATION 1 HOUR\nCOOKING: 5 HOURS\nRESTING: 20 HOURS\nGRIBICHE SAUCE\n1 EGG\n10G 0.35 OUNCE (4 TEASPOONS)\nCAPERS\n10G 0.35 OUNCE (1 TABLESPOON\nPREPARED) GHERKIN\n1/2 BUNCH CHERVIL\n250ML\n1 CUP PEANUT OIL\n30ML 2 TABLESPOONS WHITE VINEGAR\nSALT\nFRESHLY GROUND PEPPER\nCRUMB COATING\n2 EGGS\nSALT\nFRESHLY GROUND PEPPER\n150G 5.29 OUNCES (1 1/4 CUPS)\nFLOUR\n250G 8.82 OUNCES (2 1/2 CUPS) DRY\nBREAD CRUMBS\nFINISHING\n30ML 2 TABLESPOONS PEANUT OIL\n20G -0.71 OUNCE\n(1 1/2 TABLESPOONS) BUTTER\nMAKE THE TRIPE\nORGAN MEATS 111\nOne day ahead, place the tripe in a bowl of water to cover and soak\nfor 12 hours in the refrigerator. The day of serving, put the tripe into\na saucepan of cold water, bring to a boil, and skim. Wash the tripe\nagain in cold water and drain.\nPeel the carrot and onion. Stud the onion with the cloves. Put the\ntripe into a large saucepan with the spring water. Bring it to a boil\nand regularly skim off the scum. Add the carrot, onion, celery, crushed\ngarlic, bay leaf, peppercorns, thyme, several sprigs parsley, and a lit-\ntle fleur de sel. Simmer* for 5 hours, topping up with spring water, if\nnecessary. Let the tripe cool in the liquid, then transfer to a rack to\ndrain. In a bowl, prepare a marinade with the wine, lemon juice, parsley\nand tarragon stems, oil, vinegar, and mustards. Season with salt and\npepper. Cut the tripe into uniform pieces, immerse in the marinade,\nand refrigerate for 8 hours.\nMAKE THE GRIBICHE SAUCE\nBoil the egg for 9 minutes in a saucepan of salted water, then coarsely\nchop the egg white. Chop* the capers and mince* the gherkin. Mince*\nthe reserved parsley and tarragon leaves, and the chervil. Pass the egg\nyolk through a fine strainer (sieve) into a bowl and make a mayonnaise\nby whisking it with the oil. Add the vinegar, salt, and pepper, followed\nby the capers, gherkin, herbs, and egg white.\nMAKE THE CRUMB COATING\nBeat the eggs in a deep plate with a pinch of salt and pepper. Spread\nthe flour in another deep plate, and put the bread crumbs into a third\nplate.\nDredge a piece of tripe in the flour and tap off the excess. Then dip\nin the egg and coat with the crumbs. Repeat the operation with all of\nthe other pieces.\nFINISHING\nHeat the oil in a skillet or frying pan with the butter. Cook the crumb-\ncoated tripe on both sides, making sure that the pieces are a deep\ngolden color and crispy.\nDrain on paper towels and arrange on a serving dish. Serve with the\ngribiche sauce.\nTHE WINE\nA RED BEAUJOLAIS, SUCH AS MORGON"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "Organ Meats Aux Lyonnais",
"Subtitle": "Tripe with Gribiche Sauce",
"Preparation_Time": 60,
"Cooking_Time": 300,
"Difficulty": "medium",
"Ingredients": [
{
"section": "For the recipe",
"ingredients": [
"600G 1 POUND 5 OUNCES BEEF BLANKET TRIPE",
"1 CARROT",
"1 ONION",
"2 CLOVES",
"2 LITERS 8 1/2 CUPS SPRING WATER, PLUS MORE AS NEEDED",
"1 STALK CELERY",
"1 CLOVE GARLIC",
"1 BAY LEAF",
"10G 0.35 OUNCE (1 1/2 TABLESPOONS) BLACK PEPPERCORNS",
"1 SPRIG THYME",
"SEVERAL SPRIGS FLAT-LEAF PARSLEY, PLUS 1/2 BUNCH, STEMS AND LEAVES SEPARATED",
"FLEUR DE SEL",
"200ML 3/4 CUP PLUS 1 TABLESPOON DRY WHITE WINE",
"JUICE OF 3 LEMONS",
"1/2 BUNCH TARRAGON, STEMS AND LEAVES SEPARATED",
"20ML 4 TEASPOONS GRAPESEED OIL",
"10ML 2 TEASPOONS AGED RED WINE VINEGAR",
"1 TABLESPOON DIJON MUSTARD",
"1 TABLESPOON WHOLE-GRAIN MUSTARD",
"SALT",
"FRESHLY GROUND PEPPER",
"2 EGGS",
"150G 5.29 OUNCES (1 1/4 CUPS) FLOUR",
"250G 8.82 OUNCES (2 1/2 CUPS) DRY BREAD CRUMBS",
"30ML 2 TABLESPOONS PEANUT OIL",
"20G -0.71 OUNCE (1 1/2 TABLESPOONS) BUTTER",
"1 EGG",
"10G 0.35 OUNCE (4 TEASPOONS) CAPERS",
"10G 0.35 OUNCE (1 TABLESPOON PREPARED) GHERKIN",
"1/2 BUNCH CHERVIL",
"250ML 1 CUP PEANUT OIL",
"30ML 2 TABLESPOONS WHITE VINEGAR",
"SALT",
"FRESHLY GROUND PEPPER"
]
}
],
"Description": "A delectable dish featuring tender tripe, lovingly prepared with a range of aromatic ingredients and complemented by a rich Gribiche sauce, making it a delightful main course.",
"Instructions": [
"One day ahead, place the tripe in a bowl of water to cover and soak for 12 hours in the refrigerator.",
"The day of serving, put the tripe into a saucepan of cold water, bring to a boil, and skim.",
"Wash the tripe again in cold water and drain.",
"Peel the carrot and onion. Stud the onion with the cloves.",
"Put the tripe into a large saucepan with the spring water.",
"Bring it to a boil and regularly skim off the scum.",
"Add the carrot, onion, celery, crushed garlic, bay leaf, peppercorns, thyme, several sprigs parsley, and a little fleur de sel.",
"Simmer for 5 hours, topping up with spring water, if necessary.",
"Let the tripe cool in the liquid, then transfer to a rack to drain.",
"In a bowl, prepare a marinade with the wine, lemon juice, parsley and tarragon stems, oil, vinegar, and mustards. Season with salt and pepper.",
"Cut the tripe into uniform pieces, immerse in the marinade, and refrigerate for 8 hours.",
"Boil the egg for 9 minutes in a saucepan of salted water, then coarsely chop the egg white.",
"Chop the capers and mince the gherkin.",
"Mince the reserved parsley and tarragon leaves, and the chervil.",
"Pass the egg yolk through a fine strainer (sieve) into a bowl and make a mayonnaise by whisking it with the oil.",
"Add the vinegar, salt, and pepper, followed by the capers, gherkin, herbs, and egg white.",
"Beat the eggs in a deep plate with a pinch of salt and pepper.",
"Spread the flour in another deep plate, and put the bread crumbs into a third plate.",
"Dredge a piece of tripe in the flour and tap off the excess.",
"Then dip in the egg and coat with the crumbs.",
"Repeat the operation with all of the other pieces.",
"Heat the oil in a skillet or frying pan with the butter.",
"Cook the crumb-coated tripe on both sides, making sure that the pieces are a deep golden color and crispy.",
"Drain on paper towels and arrange on a serving dish.",
"Serve with the gribiche sauce."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": "Simmer* for 5 hours, topping up with spring water, if necessary."
}