(self, chat = False)
| 4 | |
| 5 | class Prompt(object): |
| 6 | def __init__(self, chat = False): |
| 7 | self.templates = {} |
| 8 | if chat: |
| 9 | self.template_file_path = "src/templates_chat.json" |
| 10 | else: |
| 11 | self.template_file_path = "src/templates.json" |
| 12 | self.example_file_path = "src/fixed_examples.json" |
| 13 | |
| 14 | |
| 15 | def build_templates(self, template): |
nothing calls this directly
no outgoing calls
no test coverage detected