(self, name="Google")
| 20 | |
| 21 | class GoogleWorker(Node): |
| 22 | def __init__(self, name="Google"): |
| 23 | super().__init__(name, input_type=str, output_type=str) |
| 24 | self.isLLMBased = False |
| 25 | self.description = "Worker that searches results from Google. Useful when you need to find short " \ |
| 26 | "and succinct answers about a specific topic. Input should be a search query." |
| 27 | |
| 28 | def run(self, input, log=False): |
| 29 | assert isinstance(input, self.input_type) |