const extractResult = await firecrawlClient.extract({
urls: [url],
prompt: `Extract all information as per the schema provided on this entity ${url}`,
scrapeOptions: {
formats: [{ type: "json", schema: z.toJSONSchema(schema) }],
},
});
const extractResult = await firecrawlClient.extract({
urls: [url],
prompt: `Extract all information as per the schema provided on this entity ${url}`,
scrapeOptions: {
formats: [{ type: "json", schema: z.toJSONSchema(schema) }],
},
});