Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pints-AI/1.5-Pints
/ from_name
Method
from_name
lit_gpt/prompts.py:28–29 ·
view source on GitHub ↗
(cls, name: str)
Source
from the content-addressed store, hash-verified
26
27
@classmethod
28
def
from_name(cls, name: str) ->
'PromptStyle'
:
29
return
prompt_styles[name]()
30
31
@classmethod
32
def
from_config(cls, config: Config) ->
'PromptStyle'
:
Callers
1
save_prompt_style
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected