Skip to content

Commit fe8083f

Browse files
committed
Update pdf_scraper_graph_haiku.py
1 parent 4d0d8fa commit fe8083f

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

examples/anthropic/pdf_scraper_graph_haiku.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,10 @@
3030
the Beatrice of his earlier poetry, through the celestial spheres of Paradise.
3131
"""
3232

33-
schema = """
34-
{
35-
"type": "object",
36-
"properties": {
37-
"summary": {
38-
"type": "string"
39-
},
40-
"topics": {
41-
"type": "array",
42-
"items": {
43-
"type": "string"
44-
}
45-
}
46-
}
47-
}
48-
"""
49-
5033
pdf_scraper_graph = PDFScraperGraph(
5134
prompt="Summarize the text and find the main topics",
5235
source=source,
5336
config=graph_config,
54-
schema=schema,
5537
)
5638
result = pdf_scraper_graph.run()
5739

0 commit comments

Comments
 (0)