Proudly Open Source
Extractly
Features
Public endpoint for extracting unstructured data to structured data
Define your schema and extract instructions
Automatic caching
Free
to use
Instructions (describe what you want to extract)
Data to extract:
Here's a delicious family recipe I found in my grandmother's old cookbook from 1963: Grandma Rose's Famous Meatballs and Marinara (Written in her messy handwriting, with some sauce stains on the page) For the meatballs you'll need: 2 pounds of ground beef (she always got it from Joe's Butcher Shop on Main St) 3 cloves of garlic, minced very fine 1 medium yellow onion, diced small 2 large eggs from the backyard chickens About 1 cup of day-old bread crumbs (she saved old bread specifically for this) 1/4 cup fresh parsley, chopped A good pinch of salt and black pepper 2 tablespoons of grated Parmesan (the good kind from the Italian deli) For her special marinara sauce: 6 ripe tomatoes from the garden, peeled and crushed 3 tablespoons of olive oil (she used the one in the green tin from Italy) 4 cloves of garlic, sliced thin 1 large onion, finely diced 2 bay leaves from her herb garden A handful of fresh basil Salt and pepper to taste How to make it (in Grandma's words): First, you need to mix all the meatball ingredients together - but don't overmix or they'll get tough! Use your hands, they're the best tools God gave you for this job. Shape them into balls about the size of a golf ball - not too big, not too small. Brown the meatballs in a heavy bottom pan until they're nice and golden all over. For the sauce, start by sautéing the garlic and onions in the olive oil until they smell heavenly. Add the tomatoes and herbs, then let it simmer for at least 2 hours - the longer the better! Add the meatballs to the sauce for the last 30 minutes of cooking. Serve over spaghetti with extra Parmesan cheese and fresh basil. Don't forget to dip some crusty bread in the sauce - that's the best part! P.S. Always make extra - they freeze beautifully and taste even better the next day. Your grandfather used to take leftovers to work and all the men at the factory would be jealous!
JSON Schema
{ "type": "object", "properties": { "recipe": { "type": "object", "properties": { "name": { "type": "string" }, "ingredients": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "amount": { "type": "string" } }, "required": [ "name", "amount" ] } }, "steps": { "type": "array", "items": { "type": "string" } } }, "required": [ "name", "ingredients", "steps" ] } }, "required": [ "recipe" ] }
Extract structured data
Or use the API with cURL:
curl 'https://extractly.org?prompt=Extract+structured+data+from+the+following+text%3A&schema=%7B%0A++%22type%22%3A+%22object%22%2C%0A++%22properties%22%3A+%7B%0A++++%22recipe%22%3A+%7B%0A++++++%22type%22%3A+%22object%22%2C%0A++++++%22properties%22%3A+%7B%0A++++++++%22name%22%3A+%7B%0A++++++++++%22type%22%3A+%22string%22%0A++++++++%7D%2C%0A++++++++%22ingredients%22%3A+%7B%0A++++++++++%22type%22%3A+%22array%22%2C%0A++++++++++%22items%22%3A+%7B%0A++++++++++++%22type%22%3A+%22object%22%2C%0A++++++++++++%22properties%22%3A+%7B%0A++++++++++++++%22name%22%3A+%7B%0A++++++++++++++++%22type%22%3A+%22string%22%0A++++++++++++++%7D%2C%0A++++++++++++++%22amount%22%3A+%7B%0A++++++++++++++++%22type%22%3A+%22string%22%0A++++++++++++++%7D%0A++++++++++++%7D%2C%0A++++++++++++%22required%22%3A+%5B%0A++++++++++++++%22name%22%2C%0A++++++++++++++%22amount%22%0A++++++++++++%5D%0A++++++++++%7D%0A++++++++%7D%2C%0A++++++++%22steps%22%3A+%7B%0A++++++++++%22type%22%3A+%22array%22%2C%0A++++++++++%22items%22%3A+%7B%0A++++++++++++%22type%22%3A+%22string%22%0A++++++++++%7D%0A++++++++%7D%0A++++++%7D%2C%0A++++++%22required%22%3A+%5B%0A++++++++%22name%22%2C%0A++++++++%22ingredients%22%2C%0A++++++++%22steps%22%0A++++++%5D%0A++++%7D%0A++%7D%2C%0A++%22required%22%3A+%5B%0A++++%22recipe%22%0A++%5D%0A%7D&data=%0AHere%27s+a+delicious+family+recipe+I+found+in+my+grandmother%27s+old+cookbook+from+1963%3A%0A%0AGrandma+Rose%27s+Famous+Meatballs+and+Marinara%0A%28Written+in+her+messy+handwriting%2C+with+some+sauce+stains+on+the+page%29%0A%0AFor+the+meatballs+you%27ll+need%3A%0A2+pounds+of+ground+beef+%28she+always+got+it+from+Joe%27s+Butcher+Shop+on+Main+St%29%0A3+cloves+of+garlic%2C+minced+very+fine%0A1+medium+yellow+onion%2C+diced+small+%0A2+large+eggs+from+the+backyard+chickens%0AAbout+1+cup+of+day-old+bread+crumbs+%28she+saved+old+bread+specifically+for+this%29%0A1%2F4+cup+fresh+parsley%2C+chopped%0AA+good+pinch+of+salt+and+black+pepper%0A2+tablespoons+of+grated+Parmesan+%28the+good+kind+from+the+Italian+deli%29%0A%0AFor+her+special+marinara+sauce%3A%0A6+ripe+tomatoes+from+the+garden%2C+peeled+and+crushed%0A3+tablespoons+of+olive+oil+%28she+used+the+one+in+the+green+tin+from+Italy%29%0A4+cloves+of+garlic%2C+sliced+thin%0A1+large+onion%2C+finely+diced%0A2+bay+leaves+from+her+herb+garden%0AA+handful+of+fresh+basil%0ASalt+and+pepper+to+taste%0A%0AHow+to+make+it+%28in+Grandma%27s+words%29%3A%0AFirst%2C+you+need+to+mix+all+the+meatball+ingredients+together+-+but+don%27t+overmix+or+they%27ll+get+tough%21+Use+your+hands%2C+they%27re+the+best+tools+God+gave+you+for+this+job.%0AShape+them+into+balls+about+the+size+of+a+golf+ball+-+not+too+big%2C+not+too+small.%0ABrown+the+meatballs+in+a+heavy+bottom+pan+until+they%27re+nice+and+golden+all+over.%0AFor+the+sauce%2C+start+by+saut%C3%A9ing+the+garlic+and+onions+in+the+olive+oil+until+they+smell+heavenly.%0AAdd+the+tomatoes+and+herbs%2C+then+let+it+simmer+for+at+least+2+hours+-+the+longer+the+better%21%0AAdd+the+meatballs+to+the+sauce+for+the+last+30+minutes+of+cooking.%0AServe+over+spaghetti+with+extra+Parmesan+cheese+and+fresh+basil.%0ADon%27t+forget+to+dip+some+crusty+bread+in+the+sauce+-+that%27s+the+best+part%21%0A%0AP.S.+Always+make+extra+-+they+freeze+beautifully+and+taste+even+better+the+next+day.+Your+grandfather+used+to+take+leftovers+to+work+and+all+the+men+at+the+factory+would+be+jealous%21' \ -X POST \ -d "Grandma's chocolate chip cookies: 2 cups flour, 1 cup butter, 2 eggs, chocolate chips. Mix and bake."