Add session_id support to all dnd pipeline prompts
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
id: dnd.character_meta_analysis
|
||||
version: "2.0.0"
|
||||
default_profile: claude-opus-latest
|
||||
default_profile: claude-fable-latest
|
||||
session_id: "{{ .session_id }}"
|
||||
description: D&D character meta analysis prompt.
|
||||
inputs:
|
||||
- name: transcript
|
||||
@@ -14,16 +15,19 @@ inputs:
|
||||
messages:
|
||||
- role: system
|
||||
content_file: ../common/transcript.system.md
|
||||
cache_control:
|
||||
type: ephemeral
|
||||
ttl: 1h
|
||||
- role: user
|
||||
content: |
|
||||
<<<CURRENT_SESSION_TRANSCRIPT
|
||||
{{input "transcript"}}
|
||||
CURRENT_SESSION_TRANSCRIPT>>>
|
||||
content_file: ../common/transcript.user.md
|
||||
cache_control:
|
||||
type: ephemeral
|
||||
ttl: 1h
|
||||
- role: user
|
||||
content: |
|
||||
<<<PREVIOUS_SESSION_RECAP
|
||||
{{input "recap"}}
|
||||
PREVIOUS_SESSION_RECAP>>>
|
||||
content_file: ../common/transcript.previous_recap.md
|
||||
cache_control:
|
||||
type: ephemeral
|
||||
ttl: 1h
|
||||
- role: user
|
||||
content_file: ./character_meta_analysis.task.md
|
||||
- role: user
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
An in-universe recap of the previous Dungeons & Dragons gameplay session is provided below.
|
||||
|
||||
{{ input "recap" }}
|
||||
3
prompts/pipeline-dnd/analyze/common/transcript.user.md
Normal file
3
prompts/pipeline-dnd/analyze/common/transcript.user.md
Normal file
@@ -0,0 +1,3 @@
|
||||
A transcript of a Dungeons & Dragons gameplay session is provided below.
|
||||
|
||||
{{ input "transcript" }}
|
||||
@@ -1,6 +1,7 @@
|
||||
id: dnd.deranged_rumors
|
||||
version: "1.0.0"
|
||||
default_profile: aion-2
|
||||
session_id: "{{ .session_id }}"
|
||||
description: D&D session rumor sheet, completely deranged and unhinged, for the amusement of the players.
|
||||
inputs:
|
||||
- name: recap
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
id: dnd.hostile_rumors
|
||||
version: "1.0.0"
|
||||
default_profile: aion-2
|
||||
session_id: "{{ .session_id }}"
|
||||
description: D&D session rumor sheet
|
||||
inputs:
|
||||
- name: recap
|
||||
|
||||
@@ -12,13 +12,12 @@ messages:
|
||||
content_file: ../common/transcript.system.md
|
||||
cache_control:
|
||||
type: ephemeral
|
||||
ttl: 1h
|
||||
- role: user
|
||||
content: |
|
||||
<<<CURRENT_SESSION_TRANSCRIPT
|
||||
{{input "transcript"}}
|
||||
CURRENT_SESSION_TRANSCRIPT>>>
|
||||
content_file: ../common/transcript.user.md
|
||||
cache_control:
|
||||
type: ephemeral
|
||||
ttl: 1h
|
||||
- role: user
|
||||
content_file: ./scene_map.task.md
|
||||
- role: user
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
id: dnd.session_recap
|
||||
version: "2.0.0"
|
||||
default_profile: claude-opus-latest
|
||||
default_profile: claude-fable-latest
|
||||
session_id: "{{ .session_id }}"
|
||||
description: D&D session recap prompt.
|
||||
inputs:
|
||||
- name: transcript
|
||||
@@ -14,16 +15,19 @@ inputs:
|
||||
messages:
|
||||
- role: system
|
||||
content_file: ../common/transcript.system.md
|
||||
cache_control:
|
||||
type: ephemeral
|
||||
ttl: 1h
|
||||
- role: user
|
||||
content: |
|
||||
<<<CURRENT_SESSION_TRANSCRIPT
|
||||
{{input "transcript"}}
|
||||
CURRENT_SESSION_TRANSCRIPT>>>
|
||||
content_file: ../common/transcript.user.md
|
||||
cache_control:
|
||||
type: ephemeral
|
||||
ttl: 1h
|
||||
- role: user
|
||||
content: |
|
||||
<<<PREVIOUS_SESSION_RECAP
|
||||
{{input "recap"}}
|
||||
PREVIOUS_SESSION_RECAP>>>
|
||||
content_file: ../common/transcript.previous_recap.md
|
||||
cache_control:
|
||||
type: ephemeral
|
||||
ttl: 1h
|
||||
- role: user
|
||||
content_file: ./recap.task.md
|
||||
- role: user
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
id: dnd.session_bounds
|
||||
version: "2.0.0"
|
||||
default_profile: gemini-flash-latest
|
||||
session_id: "{{ .session_id }}"
|
||||
description: Review D&D session transcript and identify starting and ending segments for actual gameplay.
|
||||
inputs:
|
||||
- name: transcript
|
||||
@@ -14,7 +15,7 @@ messages:
|
||||
content_file: ./bounds.user.md
|
||||
- role: user
|
||||
content: |
|
||||
{{input "transcript"}}
|
||||
{{ input "transcript" }}
|
||||
output:
|
||||
format: json
|
||||
validation_mode: json_schema
|
||||
|
||||
Reference in New Issue
Block a user