We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d0d8fa commit fe8083fCopy full SHA for fe8083f
examples/anthropic/pdf_scraper_graph_haiku.py
@@ -30,28 +30,10 @@
30
the Beatrice of his earlier poetry, through the celestial spheres of Paradise.
31
"""
32
33
-schema = """
34
- {
35
- "type": "object",
36
- "properties": {
37
- "summary": {
38
- "type": "string"
39
- },
40
- "topics": {
41
- "type": "array",
42
- "items": {
43
44
- }
45
46
47
48
-"""
49
-
50
pdf_scraper_graph = PDFScraperGraph(
51
prompt="Summarize the text and find the main topics",
52
source=source,
53
config=graph_config,
54
- schema=schema,
55
)
56
result = pdf_scraper_graph.run()
57
0 commit comments