Update README.md
This commit is contained in:
parent
1033034201
commit
3b5f71c1e8
@ -379,9 +379,11 @@ const schema = z.object({
|
|||||||
.length(5)
|
.length(5)
|
||||||
.describe("Top 5 stories on Hacker News"),
|
.describe("Top 5 stories on Hacker News"),
|
||||||
});
|
});
|
||||||
|
|
||||||
const scrapeResult = await app.scrapeUrl("https://firecrawl.dev", {
|
const scrapeResult = await app.scrapeUrl("https://firecrawl.dev", {
|
||||||
extractorOptions: { extractionSchema: schema },
|
extractorOptions: { extractionSchema: schema },
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(scrapeResult.data["llm_extraction"]);
|
console.log(scrapeResult.data["llm_extraction"]);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user