MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / MPTPrompter

Class MPTPrompter

inference/utils/prompt_templates.py:191–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190
191class MPTPrompter(BasePrompter):
192 def __init__(self):
193 system_inst = "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions."
194 role1 = "### Human"
195 role2 = "### Assistant"
196 sen_spliter = "\n"
197 qa_spliter = "\n"
198 super().__init__(system_inst, role1, role2, sen_spliter, qa_spliter)
199
200
201class MPTChatPrompter(BasePrompter):

Callers 1

get_prompterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected