Skip to content

Python scraper based on AI

smart_scraper_local.py: example of arbitrary model_tokens

ftoppi65c572afe176
diff --git a/examples/local/smart_scraper_local.py b/examples/local/smart_scraper_local.py
index f9b639a3..2ef08e38 100644
--- a/examples/local/smart_scraper_local.py
+++ b/examples/local/smart_scraper_local.py
@@ -20,6 +20,7 @@ graph_config = {
"model": "ollama/mistral",
"temperature": 0,
"format": "json", # Ollama needs the format to be specified explicitly
+ # "model_tokens": 2000, # set context length arbitrarily
},
}