MCPcopy Create free account
hub / github.com/SalesforceAIResearch/perfcodegen / __init__

Method __init__

src/prompt.py:6–12  ·  view source on GitHub ↗
(self, chat = False)

Source from the content-addressed store, hash-verified

4
5class 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):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected