MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / apply

Method apply

lit_gpt/prompts.py:256–257  ·  view source on GitHub ↗
(self, prompt: str, **kwargs: str)

Source from the content-addressed store, hash-verified

254
255class StableCode(PromptStyle):
256 def apply(self, prompt: str, **kwargs: str) -> str:
257 return f'###Instruction\n{prompt}###Response\n'
258
259
260class CodeLlama(PromptStyle):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected