Refactor the dnd scene_map prompt to use the common cached system message and transcript

This commit is contained in:
2026-07-02 18:34:37 -05:00
parent 852da58663
commit 439d2718ad
9 changed files with 34 additions and 102 deletions

View File

@@ -1,6 +1,6 @@
id: dnd.scene_map
version: "1.0.0"
default_profile: gemma-4-31b
default_profile: nemotron-3-ultra
description: Generates a D&D session scene map, using a transcript as input.
inputs:
- name: transcript
@@ -9,18 +9,18 @@ inputs:
description: Structured recap source transcript
messages:
- role: system
content_file: ./scene_map.system.md
- role: user
content_file: ./scene_map.user.md
content_file: ../common/transcript.system.md
- role: user
content: |
<<<CURRENT_SESSION_TRANSCRIPT
{{input "transcript"}}
CURRENT_SESSION_TRANSCRIPT>>>
- role: user
content_file: ./scene_map.task.md
- role: user
content_file: ./scene_map.instructions.md
output:
format: json
validation_mode: json_schema
schema_path: automation-pipeline-dnd/analyze/scene_map.schema.json
repair_attempts: 0
repair_attempts: 2