final case class CompiledPrompt(instructions: String, demos: List[Map[String, String]], outputField: String)
Loads a DSPy-compiled prompt artifact (dspy/compile_recommendation_prompt.py produces two: recommendation_prompt.json for the summarizer, review_prompt.json for Reviewer โ see ARCHITECTURE.md ยง5a) and turns it into a plain chat message list any LlmClient can replay.
inputs in the same key names as the Python Signature's InputFields (see dspy/compile_recommendation_prompt.py's INPUT_FIELDS/REVIEW_INPUT_FIELDS) โ snake_case, e.g. beach_name, sea_temp_c.
inputs in the same key names as the Python Signature's InputFields (see dspy/compile_recommendation_prompt.py's INPUT_FIELDS/REVIEW_INPUT_FIELDS) โ snake_case, e.g. beach_name, sea_temp_c.