OliveSensorAPI/scripts/qa_generation/util/prompt_loader.py
2024-03-07 17:56:07 +08:00

8 lines
211 B
Python

from config.config import system_prompt_file_path
def load_system_prompt() -> str:
with open(system_prompt_file_path, 'r', encoding='utf-8') as f:
system_prompt = f.read()
return system_prompt