Download this file
1 2 3 4 5 6 7 8 9 10 11 12
def load_prompt(filename: str) -> str: """ Load the prompt from .tmpl files. Args: filename (str): Prompt from .tmpl file Returns: str: Prompt """ with open(filename, "r") as file: return file.read()