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

Method __init__

eval_heldout/rewoo/nodes/Worker.py:112–116  ·  view source on GitHub ↗
(self, name="WolframAlpha")

Source from the content-addressed store, hash-verified

110
111class WolframAlphaWorker(Node):
112 def __init__(self, name="WolframAlpha"):
113 super().__init__(name, input_type=str, output_type=str)
114 self.isLLMBased = False
115 self.description = "A WolframAlpha search engine. Useful when you need to solve a complicated Mathematical or " \
116 "Algebraic equation. Input should be an equation or function."
117
118 def run(self, input, log=False):
119 assert isinstance(input, self.input_type)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected