15 lines
440 B
Python
15 lines
440 B
Python
from __future__ import annotations
|
|
|
|
from typing import Dict
|
|
|
|
from src.evaluation.prompt_builder import build_prompt
|
|
|
|
|
|
def build_full_log_prompt(episode: Dict, mode: str = "baseline") -> Dict[str, str]:
|
|
"""Build a benchmark-style full-log prompt from an existing episode."""
|
|
prompt = build_prompt(episode, include_system=True, mode=mode)
|
|
return {
|
|
"system": prompt.get("system", ""),
|
|
"user": prompt["user"],
|
|
}
|