Migrate repo fixtures to separated prompts/ and execution profiles/ with file-backed prompt templates
This commit is contained in:
2
prompts/dnd.session_recap.system.md
Normal file
2
prompts/dnd.session_recap.system.md
Normal file
@@ -0,0 +1,2 @@
|
||||
You create concise tabletop RPG session recaps.
|
||||
Stay factual and avoid inventing events.
|
||||
10
prompts/dnd.session_recap.user.md
Normal file
10
prompts/dnd.session_recap.user.md
Normal file
@@ -0,0 +1,10 @@
|
||||
Produce a recap with these sections:
|
||||
- Session Highlights
|
||||
- Open Threads
|
||||
- NPC Mentions
|
||||
|
||||
Transcript:
|
||||
{{input "transcript"}}
|
||||
|
||||
Glossary:
|
||||
{{input "glossary"}}
|
||||
22
prompts/dnd.session_recap.yaml
Normal file
22
prompts/dnd.session_recap.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
id: dnd.session_recap
|
||||
version: "1.0.0"
|
||||
default_profile: local-quality
|
||||
description: Example D&D session recap prompt definition for demonstration only.
|
||||
inputs:
|
||||
- name: transcript
|
||||
required: true
|
||||
content_type: text/markdown
|
||||
description: Session source content
|
||||
- name: glossary
|
||||
required: false
|
||||
content_type: text/yaml
|
||||
description: Optional glossary context
|
||||
messages:
|
||||
- role: system
|
||||
content_file: ./dnd.session_recap.system.md
|
||||
- role: user
|
||||
content_file: ./dnd.session_recap.user.md
|
||||
output:
|
||||
format: markdown
|
||||
validation_mode: basic
|
||||
repair_attempts: 0
|
||||
2
prompts/generic.markdown_summary.system.md
Normal file
2
prompts/generic.markdown_summary.system.md
Normal file
@@ -0,0 +1,2 @@
|
||||
You are a concise analysis assistant.
|
||||
Write clear Markdown output.
|
||||
7
prompts/generic.markdown_summary.user.md
Normal file
7
prompts/generic.markdown_summary.user.md
Normal file
@@ -0,0 +1,7 @@
|
||||
Summarize the following source transcript:
|
||||
|
||||
{{input "transcript"}}
|
||||
|
||||
Reference glossary:
|
||||
|
||||
{{input "glossary"}}
|
||||
22
prompts/generic.markdown_summary.yaml
Normal file
22
prompts/generic.markdown_summary.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
id: generic.markdown_summary
|
||||
version: "1.0.0"
|
||||
default_profile: local-fast
|
||||
description: Generic markdown summary from transcript and glossary.
|
||||
inputs:
|
||||
- name: transcript
|
||||
required: true
|
||||
content_type: text/markdown
|
||||
description: Source transcript content
|
||||
- name: glossary
|
||||
required: false
|
||||
content_type: text/yaml
|
||||
description: Optional glossary context
|
||||
messages:
|
||||
- role: system
|
||||
content_file: ./generic.markdown_summary.system.md
|
||||
- role: user
|
||||
content_file: ./generic.markdown_summary.user.md
|
||||
output:
|
||||
format: markdown
|
||||
validation_mode: basic
|
||||
repair_attempts: 0
|
||||
2
prompts/generic.structured_events.system.md
Normal file
2
prompts/generic.structured_events.system.md
Normal file
@@ -0,0 +1,2 @@
|
||||
Return only JSON following the requested schema.
|
||||
Do not include commentary.
|
||||
7
prompts/generic.structured_events.user.md
Normal file
7
prompts/generic.structured_events.user.md
Normal file
@@ -0,0 +1,7 @@
|
||||
Extract important events from the transcript and emit JSON.
|
||||
|
||||
Transcript:
|
||||
{{input "transcript"}}
|
||||
|
||||
Glossary:
|
||||
{{input "glossary"}}
|
||||
23
prompts/generic.structured_events.yaml
Normal file
23
prompts/generic.structured_events.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
id: generic.structured_events
|
||||
version: "1.0.0"
|
||||
default_profile: local-quality
|
||||
description: Produce structured event JSON from a transcript.
|
||||
inputs:
|
||||
- name: transcript
|
||||
required: true
|
||||
content_type: text/markdown
|
||||
description: Source transcript content
|
||||
- name: glossary
|
||||
required: false
|
||||
content_type: text/yaml
|
||||
description: Optional glossary context
|
||||
messages:
|
||||
- role: system
|
||||
content_file: ./generic.structured_events.system.md
|
||||
- role: user
|
||||
content_file: ./generic.structured_events.user.md
|
||||
output:
|
||||
format: json
|
||||
validation_mode: json_schema
|
||||
schema_path: structured_events.schema.json
|
||||
repair_attempts: 0
|
||||
Reference in New Issue
Block a user