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