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": "FARMHOUSE GUINEA FOWL\nwith Lentils\nTHE WINE BLANC DE BOURGOGNE, MACON-CHAINTRÉ\nALLARD\nPOULTRY 171\nOne day ahead, soak the lentils in 790ml - 3 1/3 cups (double the\nvolume) of cold water for 12 hours at room temperature.\nMAKE THE GUINEA\nFOWL\nOn the day of serving, preheat the oven to 220°C - 425°F (gas mark\n7). Roast the guinea fowl in a baking pan with the garlic, thyme,\nbutter, and oil for 40 minutes, turning often and basting regularly to\ncrisp the skin. Take the bird out of the oven and deglaze* the pan\nwith the chicken stock. Reduce* the cooking liquid for 10 minutes\nover medium heat and set aside to add to the lentils.\nMAKE THE\nLENTILS\nDrain and rinse the lentils. Peel and cut the carrots and onions into\nbrunoise. Brown* them in a sauté pan* in a little olive oil. Add the\nlentils. Mix, then add the chicken stock. Add the bouquet garni and\nbay leaf. Cook over medium heat for 40 minutes without bringing to\na boil, otherwise the lentils will burst. Season with salt and pepper\nafter the lentils have cooked for 30 minutes. Add the guinea fowl\ncooking liquid.\nFINISHING\nUntie the guinea fowl. Add a little vinegar to the lentils and arrange\nthem in a deep serving dish; reserve the cooking sauce. Place the\nguinea fowl on top. Finish by seasoning with a pinch of fleur de sel\nand two turns of the pepper mill. Serve the lentil cooking sauce\nseparately.\nSERVES 4\nPREPARATION: 20 MINUTES\nCOOKING: 1 HOUR\nRESTING: 12 HOURS\n320G\n11.29 OUNCES\n(1 2/3 cups) PUY (FRENCH GREEN)\nLENTILS\nGUINEA FOWL\n1 FREE-RANGE GUINEA FOWL,\nCLEANED AND TRUSSED'\n1/2 HEAD GARLIC\n2 SPRIGS THYME\n10G 0.35 OUNCE\n(3/4 TABLESPOON) BUTTER\n200ML 3/4 CUP PLUS\n1 TABLESPOON OLIVE OIL\n200ML 3/4 CUP PLUS\n1 TABLESPOON WHITE CHICKEN\nSTOCK (SEE P. 246)\nFLEUR DE SEL\nPEPPER\nLENTILS\n2 CARROTS\n2 WHITE ONIONS\nOLIVE OIL\n2 LITERS 8 1/2 CUPS WHITE\nCHICKEN STOCK (SEE P. 246)\n1 BOUQUET GARNI\n1 BAY LEAF\nSALT\nFRESHLY GROUND PEPPER\nFINISHING\n10ML 2 TEASPOONS SHERRY\nVINEGAR\nFLEUR DE SEL\nFRESHLY GROUND PEPPER"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "FARMHOUSE GUINEA FOWL",
"Subtitle": "with Lentils",
"Preparation_Time": 20,
"Cooking_Time": 60,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"320G 11.29 OUNCES (1 2/3 cups) PUY (FRENCH GREEN) LENTILS",
"1 FREE-RANGE GUINEA FOWL, CLEANED AND TRUSSED",
"1/2 HEAD GARLIC",
"2 SPRIGS THYME",
"10G 0.35 OUNCE (3/4 TABLESPOON) BUTTER",
"200ML 3/4 CUP PLUS 1 TABLESPOON OLIVE OIL",
"200ML 3/4 CUP PLUS 1 TABLESPOON WHITE CHICKEN STOCK (SEE P. 246)",
"FLEUR DE SEL",
"PEPPER",
"2 CARROTS",
"2 WHITE ONIONS",
"2 LITERS 8 1/2 CUPS WHITE CHICKEN STOCK (SEE P. 246)",
"1 BOUQUET GARNI",
"1 BAY LEAF",
"SALT",
"FRESHLY GROUND PEPPER",
"10ML 2 TEASPOONS SHERRY VINEGAR",
"FLEUR DE SEL",
"FRESHLY GROUND PEPPER"
]
}
],
"Description": "This delicious farmhouse guinea fowl dish paired with lentils will surely impress your guests with its rich flavors and lovely presentation.",
"Instructions": [
"One day ahead, soak the lentils in 790ml - 3 1/3 cups (double the volume) of cold water for 12 hours at room temperature.",
"On the day of serving, preheat the oven to 220°C - 425°F (gas mark 7). Roast the guinea fowl in a baking pan with the garlic, thyme, butter, and oil for 40 minutes, turning often and basting regularly to crisp the skin.",
"Take the bird out of the oven and deglaze the pan with the chicken stock. Reduce the cooking liquid for 10 minutes over medium heat and set aside to add to the lentils.",
"Drain and rinse the lentils. Peel and cut the carrots and onions into brunoise. Brown them in a sauté pan in a little olive oil.",
"Add the lentils. Mix, then add the chicken stock.",
"Add the bouquet garni and bay leaf. Cook over medium heat for 40 minutes without bringing to a boil, otherwise the lentils will burst.",
"Season with salt and pepper after the lentils have cooked for 30 minutes. Add the guinea fowl cooking liquid.",
"Untie the guinea fowl. Add a little vinegar to the lentils and arrange them in a deep serving dish; reserve the cooking sauce.",
"Place the guinea fowl on top. Finish by seasoning with a pinch of fleur de sel and two turns of the pepper mill.",
"Serve the lentil cooking sauce separately."
],
"AuthorName": "ALLARD",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}