Merge pull request #849 from SwapnilSonker/extract/SmartScraperGraph
Some checks failed
/ build (push) Has been cancelled
Release / Build (push) Has been cancelled
Release / Release (push) Has been cancelled

#710 - just a check added for the detailed logging
This commit is contained in:
Marco Vinciguerra 2025-01-05 12:44:24 +01:00 committed by GitHub
commit 927c99b2e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,6 +55,9 @@ class SmartScraperGraph(AbstractGraph):
super().__init__(prompt, config, source, schema)
self.input_key = "url" if source.startswith("http") else "local_dir"
# for detailed logging of the SmartScraper API set it to True
self.verbose = config.get("verbose", False)
def _create_graph(self) -> BaseGraph:
"""