(self, prefix=DEFAULT_PREFIX, suffix=DEFAULT_SUFFIX, model_name="text-davinci-003", stop=None)
| 4 | |
| 5 | class Solver(LLMNode): |
| 6 | def __init__(self, prefix=DEFAULT_PREFIX, suffix=DEFAULT_SUFFIX, model_name="text-davinci-003", stop=None): |
| 7 | super().__init__("Solver", model_name, stop, input_type=str, output_type=str) |
| 8 | self.prefix = prefix |
| 9 | self.suffix = suffix |
| 10 | |
| 11 | def run(self, input, worker_log, log=False): |
| 12 | assert isinstance(input, self.input_type) |
nothing calls this directly
no outgoing calls
no test coverage detected