Jael Gu
1 year ago
3 changed files with 18 additions and 9 deletions
@ -1,5 +1,5 @@ |
|||||
from typing import List |
from typing import List |
||||
from .template_prompt import TemplatePrompt |
from .template_prompt import TemplatePrompt |
||||
|
|
||||
def template(temp: str, keys: List[str]): |
|
||||
return TemplatePrompt(temp, keys) |
|
||||
|
def template(*args, **kwargs): |
||||
|
return TemplatePrompt(*args, **kwargs) |
||||
|
Loading…
Reference in new issue