File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 55# Imports from standard library
66from typing import List , Optional
77from tqdm import tqdm
8- from bs4 import BeautifulSoup
98
109
1110# Imports from Langchain
1918
2019class SearchLinkNode (BaseNode ):
2120 """
22- A node that can filter out the relevant links in the webpage content.
23- Node expects the aleready scrapped information and hence it is expected
21+ A node that can filter out the relevant links in the webpage content for the user prompt .
22+ Node expects the aleready scrapped links on the webpage and hence it is expected
2423 that this node be used after the FetchNode.
25-
26- For the links which are not incomplete and hence in-navigable. the node will complete
27- the url and return,
28-
29- For example: link /projects/rotary-pendulum-rl/ on https://perinim.github.io/projects/,
30- would be augmented to return https://perinim.github.io/projects/rotary-pendulum-rl/
3124
3225 Attributes:
3326 llm_model: An instance of the language model client used for generating answers.
You can’t perform that action at this time.
0 commit comments