first commit

This commit is contained in:
2026-06-12 11:36:33 -03:00
commit 56a420f5f8
69 changed files with 5667 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,11 @@
from __future__ import annotations
import yaml
from evaluator.config.settings import settings
def load_prompt(path: str, key: str) -> str:
p = settings.path(path)
data = yaml.safe_load(p.read_text()) or {}
if key not in data:
raise KeyError(f"Prompt key {key!r} not found in {p}")
return str(data[key])