Skip to content

Python scraper based on AI

Updated JSON scraper example prompt

JGalego60584921ca8f
diff --git a/examples/bedrock/json_scraper_bedrock.py b/examples/bedrock/json_scraper_bedrock.py
index 1b7dde0b..ad876425 100644
--- a/examples/bedrock/json_scraper_bedrock.py
+++ b/examples/bedrock/json_scraper_bedrock.py
@@ -42,7 +42,7 @@ graph_config = {
# ************************************************
json_scraper_graph = JSONScraperGraph(
- prompt="List me all questions and options, no answers.",
+ prompt="List me all questions and options in the math section, no answers.",
source=text, # Pass the content of the file, not the file object
config=graph_config
)