import yaml def readPrompts(path: str) -> dict: with open(path, "r") as f: yamlContent = yaml.safe_load(f) return yamlContent