ReMe/tests/other/read_yaml.py
2024-07-28 20:12:02 +08:00

11 lines
304 B
Python

import sys
sys.path.append(".") # noqa: E402
from memoryscope.core.utils.prompt_handler import PromptHandler
if __name__ == "__main__":
file_path: str = __file__
print(file_path)
handler = PromptHandler(__file__, language="cn", prompt_file="read_prompt", )
print(handler.prompt_dict)