| 66 | |
| 67 | class 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: |