Skip to content

Python scraper based on AI

changed source to text

Marco Perini9b0e62742b24
diff --git a/examples/openai/pdf_scraper_openai.py b/examples/openai/pdf_scraper_openai.py
index 6267baea..e07a7ab5 100644
--- a/examples/openai/pdf_scraper_openai.py
+++ b/examples/openai/pdf_scraper_openai.py
@@ -32,7 +32,7 @@ source = """
pdf_scraper_graph = PDFScraperGraph(
prompt="Summarize the text and find the main topics",
- source="Laureaconanniaccademici.pdf",
+ source=source,
config=graph_config,
)
result = pdf_scraper_graph.run()