admin / Apex
publicBid Management and Orchestration Tool with AI Capability
Apex / Synapse-Apexv2 / backend / app / ai / __init__.py
218 B · main
1 2 3 4 5 6 7 8 | import os _PROMPT_DIR = os.path.join(os.path.dirname(__file__), "prompts") def load_prompt(name: str) -> str: with open(os.path.join(_PROMPT_DIR, f"{name}.md"), encoding="utf-8") as fh: return fh.read() |