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

Method __init__

inference/utils/prompt_templates.py:192–198  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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 7

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected