(self, name="WolframAlpha")
| 110 | |
| 111 | class 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) |