Add example profiles, schemas, and an end-to-end local fixture
This commit is contained in:
31
profiles/dnd.session_recap.yaml
Normal file
31
profiles/dnd.session_recap.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
id: dnd.session_recap
|
||||
version: "1.0.0"
|
||||
description: Example D&D session recap profile for demonstration only.
|
||||
expected_inputs:
|
||||
- transcript
|
||||
- glossary
|
||||
templates:
|
||||
- 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"}}
|
||||
model_defaults:
|
||||
endpoint: http://localhost:8000/v1
|
||||
model: gpt-4o-mini
|
||||
temperature: 0.3
|
||||
max_tokens: 900
|
||||
output_format: markdown
|
||||
validation:
|
||||
validation_mode: basic
|
||||
28
profiles/generic.markdown_summary.yaml
Normal file
28
profiles/generic.markdown_summary.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
id: generic.markdown_summary
|
||||
version: "1.0.0"
|
||||
description: Generic markdown summary from transcript and glossary.
|
||||
expected_inputs:
|
||||
- transcript
|
||||
- glossary
|
||||
templates:
|
||||
- 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"}}
|
||||
model_defaults:
|
||||
endpoint: http://localhost:8000/v1
|
||||
model: gpt-4o-mini
|
||||
temperature: 0.2
|
||||
max_tokens: 700
|
||||
output_format: markdown
|
||||
validation:
|
||||
validation_mode: basic
|
||||
31
profiles/generic.structured_events.yaml
Normal file
31
profiles/generic.structured_events.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
id: generic.structured_events
|
||||
version: "1.0.0"
|
||||
description: Produce structured event JSON from a transcript.
|
||||
expected_inputs:
|
||||
- transcript
|
||||
- glossary
|
||||
templates:
|
||||
- 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"}}
|
||||
model_defaults:
|
||||
endpoint: http://localhost:8000/v1
|
||||
model: gpt-4o-mini
|
||||
temperature: 0.0
|
||||
max_tokens: 500
|
||||
output_format: json
|
||||
validation:
|
||||
format: json
|
||||
validation_mode: json_schema
|
||||
schema_path: structured_events.schema.json
|
||||
repair_attempts: 0
|
||||
Reference in New Issue
Block a user