File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,16 @@ def execute(self, state: dict) -> dict:
71
71
prompt_relevant_links = """
72
72
You are a website scraper and you have just scraped the following content from a website.
73
73
Content: {content}
74
- You are now asked to find all relevant links from the extracted webpage content related
75
- to prompt {user_prompt}. Only pick links which are valid and relevant
74
+
75
+ You are now tasked with identifying all hyper links within the content that are potentially
76
+ relevant to the user task: {user_prompt}
77
+
78
+ Assume relevance broadly, including any links that might be related or potentially useful
79
+ in relation to the task.
80
+
81
+ Please list only valid URLs and make sure to err on the side of inclusion if it's uncertain
82
+ whether the content at the link is directly relevant.
83
+
76
84
Output only a list of relevant links in the format:
77
85
[
78
86
"link1",
You can’t perform that action at this time.
0 commit comments