Migrate repo fixtures to separated prompts/ and execution profiles/ with file-backed prompt templates
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
id: dnd.session_recap
|
||||
version: "1.0.0"
|
||||
default_profile: local-default
|
||||
description: Example D&D session recap prompt definition for demonstration only.
|
||||
inputs:
|
||||
- name: transcript
|
||||
required: true
|
||||
content_type: text/markdown
|
||||
- name: glossary
|
||||
required: false
|
||||
content_type: text/yaml
|
||||
messages:
|
||||
- role: system
|
||||
content: |
|
||||
You create concise tabletop RPG session recaps.
|
||||
Stay factual and avoid inventing events.
|
||||
- role: user
|
||||
content: |
|
||||
Produce a recap with these sections:
|
||||
- Session Highlights
|
||||
- Open Threads
|
||||
- NPC Mentions
|
||||
|
||||
Transcript:
|
||||
{{input "transcript"}}
|
||||
|
||||
Glossary:
|
||||
{{input "glossary"}}
|
||||
output:
|
||||
format: markdown
|
||||
validation_mode: basic
|
||||
repair_attempts: 0
|
||||
@@ -1,31 +0,0 @@
|
||||
id: generic.markdown_summary
|
||||
version: "1.0.0"
|
||||
default_profile: local-default
|
||||
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: |
|
||||
You are a concise analysis assistant.
|
||||
Write clear Markdown output.
|
||||
- role: user
|
||||
content: |
|
||||
Summarize the following source transcript:
|
||||
|
||||
{{input "transcript"}}
|
||||
|
||||
Reference glossary:
|
||||
|
||||
{{input "glossary"}}
|
||||
output:
|
||||
format: markdown
|
||||
validation_mode: basic
|
||||
repair_attempts: 0
|
||||
@@ -1,30 +0,0 @@
|
||||
id: generic.structured_events
|
||||
version: "1.0.0"
|
||||
default_profile: local-default
|
||||
description: Produce structured event JSON from a transcript.
|
||||
inputs:
|
||||
- name: transcript
|
||||
required: true
|
||||
content_type: text/markdown
|
||||
- name: glossary
|
||||
required: false
|
||||
content_type: text/yaml
|
||||
messages:
|
||||
- role: system
|
||||
content: |
|
||||
Return only JSON following the requested schema.
|
||||
Do not include commentary.
|
||||
- role: user
|
||||
content: |
|
||||
Extract important events from the transcript and emit JSON.
|
||||
|
||||
Transcript:
|
||||
{{input "transcript"}}
|
||||
|
||||
Glossary:
|
||||
{{input "glossary"}}
|
||||
output:
|
||||
format: json
|
||||
validation_mode: json_schema
|
||||
schema_path: structured_events.schema.json
|
||||
repair_attempts: 0
|
||||
7
profiles/local-fast.yaml
Normal file
7
profiles/local-fast.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
id: local-fast
|
||||
endpoint: http://localhost:8000/v1
|
||||
model: gpt-4o-mini
|
||||
temperature: 0.2
|
||||
max_tokens: 500
|
||||
top_p: 1.0
|
||||
timeout_seconds: 90
|
||||
8
profiles/local-quality.yaml
Normal file
8
profiles/local-quality.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
id: local-quality
|
||||
endpoint: http://localhost:8000/v1
|
||||
model: gpt-4.1
|
||||
temperature: 0.0
|
||||
max_tokens: 1200
|
||||
top_p: 1.0
|
||||
timeout_seconds: 180
|
||||
api_key_env: SCRIPTORIUM_API_KEY
|
||||
Reference in New Issue
Block a user