extract schema
hello,
I was playing around the extract endpoint of firecrawl in node (typescript). when i try to hit a url with the schema mentioned, it returns empty object, but when i remove the schema (even though the prompt mentions the same schema fields), it return them propelry in the result object. can someone tell me why? I am attaching the screenshot of the returned object when teh schema is not used, but returns empty object when schema is mentioned along the prompt.
I am attaching the github gist here which will show both the versions in code
https://gist.github.com/palodaman/f7c049661d88e6b2e1327ebe85511b63

2 Replies
even the original example for node from their website does not return anything https://docs.firecrawl.dev/features/extract
I'd recommend trying out JSON mode on endpoints like /scrape for more reliability: https://docs.firecrawl.dev/features/llm-extract.