-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
About SearchLinkGraph #915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey there, @salihai! 👋 I'm here to help you with any bugs, questions, or contributions while waiting for a human maintainer. To ensure that the SearchLinkGraph filters out links with extensions such as Here's how you can adjust your configuration: graph_config = {
"llm": {
"model": "ollama/llama3.2",
"temperature": 0,
"format": "json",
"base_url": "<link url='http://localhost:11434'>Webpage description not available.</link>",
},
"verbose": True,
"headless": False,
"filter_links": True, # Ensure this is set to True
"filter_config": {
"diff_domain_filter": True,
"img_exts": [".jpg", ".jpeg", ".png", ".gif", ".bmp", ".svg", ".webp", ".ico"],
"lang_indicators": ["lang=", "/tr", "/en", "/fr", "/pt", "/es", "/de", "/jp", "/it"],
"irrelevant_keywords": [
"/login",
"/signup",
"/register",
"/contact",
"facebook.net",
"twitter.com",
"linkedin.com",
"instagram.com",
".js",
".css",
],
},
} By setting To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Adding this didn't work. |
from smart_scraper_multi_graph import SmartScraperMultiGraph prompt = "What is Chioggia famous for?" smart_scraper_multi = SmartScraperMultiGraph(prompt, source, config) result = smart_scraper_multi.run() print(result) When i ran this code, i got this error message: [WinError 10061] No connection could be made because the target machine actively refused it What should i do to solve this? |
The error message "[WinError 10061] No connection could be made because the target machine actively refused it" typically indicates that the server you are trying to connect to is not accepting connections. Here are some steps you can take to resolve this issue:
By addressing these areas, you should be able to resolve the connection issue. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Hi @salihai, I will update |
Hi @salihai please update to the new beta |
Even though I applied the filtering parameter, SearchLinkGraph continues to give links with extensions such as .css and .js. What should I do?
graph_config = {
}
The text was updated successfully, but these errors were encountered: