(self, prompt: str)
| 141 | self.system_prompt = config["system_prompt"] |
| 142 | |
| 143 | def __call__(self, prompt: str): |
| 144 | composed_prompt = f"{self.system_prompt} {prompt}" |
| 145 | response = self.client.generate(composed_prompt) |
| 146 | return response[0].outputs[0].text |
| 147 | |
| 148 | |
| 149 | if __name__ == "__main__": |
nothing calls this directly
no outgoing calls
no test coverage detected