You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from ..nodesimport ( FetchNode, ParseNode, SearchLinkNode )
10
+
11
+
classSearchLinkGraph(AbstractGraph):
12
+
"""
13
+
SearchLinkGraph is a scraping pipeline that automates the process of extracting information from web pages using a natural language model to interpret and answer prompts.
14
+
15
+
Attributes:
16
+
prompt (str): The prompt for the graph.
17
+
source (str): The source of the graph.
18
+
config (dict): Configuration parameters for the graph.
19
+
schema (BaseModel): The schema for the graph output.
20
+
llm_model: An instance of a language model client, configured for generating answers.
21
+
embedder_model: An instance of an embedding model client,
22
+
configured for generating embeddings.
23
+
verbose (bool): A flag indicating whether to show print statements during execution.
24
+
headless (bool): A flag indicating whether to run the graph in headless mode.
25
+
26
+
Args:
27
+
source (str): The source of the graph.
28
+
config (dict): Configuration parameters for the graph.
29
+
schema (BaseModel, optional): The schema for the graph output. Defaults to None.
0 commit comments