MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / __init__

Method __init__

eval_heldout/rewoo/nodes/Worker.py:68–74  ·  view source on GitHub ↗
(self, name="LookUp", docstore=None)

Source from the content-addressed store, hash-verified

66
67class DocStoreLookUpWorker(Node):
68 def __init__(self, name="LookUp", docstore=None):
69 super().__init__(name, input_type=str, output_type=str)
70 self.isLLMBased = False
71 self.description = "Worker that search the direct sentence in current Wikipedia result page. Useful when you " \
72 "need to find information about a specific keyword from a existing Wikipedia search " \
73 "result. Input should be a search keyword."
74 self.docstore = docstore
75
76 def run(self, input, log=False):
77 if not self.docstore:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected