MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / run

Method run

tests/graphs/abstract_graph_test.py:108–112  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 )
107
108 def run(self) -> str:
109 inputs = {"user_prompt": self.prompt, self.input_key: self.source}
110 self.final_state, self.execution_info = self.graph.execute(inputs)
111
112 return self.final_state.get("answer", "No answer found.")
113
114
115class TestAbstractGraph:

Calls 2

getMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected