2026-07-28 16:38:05 +00:00
|
|
|
version: 4
|
2026-08-03 17:21:42 +00:00
|
|
|
promptkit:
|
|
|
|
|
profile_file: ./examples/profiles/dnd-extraction.yml
|
2026-07-25 15:48:48 +00:00
|
|
|
concurrency:
|
|
|
|
|
total_llm: 2
|
|
|
|
|
stage_workers:
|
|
|
|
|
extract: 2
|
|
|
|
|
output:
|
|
|
|
|
directory: ./notarius-output
|
|
|
|
|
cache:
|
|
|
|
|
chunk_plans:
|
|
|
|
|
mode: auto
|
|
|
|
|
directory: ./notarius-cache/chunk-plans
|
|
|
|
|
checkpoints:
|
|
|
|
|
enabled: true
|
|
|
|
|
directory: ./notarius-cache/checkpoints
|
|
|
|
|
debug:
|
|
|
|
|
directory: ./notarius-debug
|
|
|
|
|
pipelines:
|
|
|
|
|
dnd-session:
|
2026-08-03 17:21:42 +00:00
|
|
|
llm_profile: dnd-extraction
|
2026-07-25 15:48:48 +00:00
|
|
|
input: seriatim
|
|
|
|
|
# Stable campaign context is shared by every module that accepts these slots.
|
|
|
|
|
references:
|
|
|
|
|
party: ./dnd-party.txt
|
|
|
|
|
glossary: ./dnd-glossary.txt
|
|
|
|
|
chunk:
|
|
|
|
|
module: dnd/scenes
|
|
|
|
|
retries: 2
|
|
|
|
|
output:
|
|
|
|
|
module: json
|
|
|
|
|
options:
|
|
|
|
|
include_chunk_map: true
|
2026-07-27 18:23:48 +00:00
|
|
|
evidence_context:
|
|
|
|
|
enabled: true
|
|
|
|
|
window_units: 3
|
|
|
|
|
lanes:
|
2026-08-05 20:00:20 +00:00
|
|
|
- item-occurrences
|
2026-08-05 19:55:34 +00:00
|
|
|
- item-registry
|
2026-08-05 20:07:31 +00:00
|
|
|
- location-registry
|
2026-08-04 00:45:50 +00:00
|
|
|
- location-occurrences
|
2026-08-05 20:07:31 +00:00
|
|
|
- npc-registry
|
2026-07-27 18:23:48 +00:00
|
|
|
- spells
|
|
|
|
|
- combat-turns
|
2026-08-05 19:00:55 +00:00
|
|
|
- npc-occurrences
|
2026-08-03 21:10:21 +00:00
|
|
|
- enemy-events
|
2026-07-25 15:48:48 +00:00
|
|
|
steps:
|
2026-08-05 19:55:34 +00:00
|
|
|
# Establish session-wide reference artifacts before their consumers.
|
2026-07-25 15:48:48 +00:00
|
|
|
- id: describe-session
|
|
|
|
|
artifacts:
|
2026-08-05 19:55:34 +00:00
|
|
|
item-registry:
|
2026-07-25 22:10:53 +00:00
|
|
|
extract:
|
2026-08-05 19:55:34 +00:00
|
|
|
module: dnd/item-registry
|
2026-07-25 22:10:53 +00:00
|
|
|
retries: 2
|
|
|
|
|
merge: appendorder
|
2026-08-05 19:55:34 +00:00
|
|
|
normalize: dnd/item-registry
|
2026-08-05 20:07:31 +00:00
|
|
|
npc-registry:
|
2026-07-25 15:48:48 +00:00
|
|
|
extract:
|
2026-08-05 18:38:22 +00:00
|
|
|
module: dnd/npc-registry
|
2026-07-25 15:48:48 +00:00
|
|
|
retries: 2
|
|
|
|
|
merge: appendorder
|
2026-07-26 01:46:23 +00:00
|
|
|
normalize:
|
2026-08-05 18:38:22 +00:00
|
|
|
module: dnd/npc-registry
|
2026-07-26 01:46:23 +00:00
|
|
|
retries: 2
|
2026-08-05 20:07:31 +00:00
|
|
|
location-registry:
|
2026-08-04 00:45:50 +00:00
|
|
|
extract:
|
2026-08-05 19:13:37 +00:00
|
|
|
module: dnd/location-registry
|
2026-08-04 00:45:50 +00:00
|
|
|
retries: 2
|
|
|
|
|
merge: appendorder
|
|
|
|
|
normalize:
|
2026-08-05 19:13:37 +00:00
|
|
|
module: dnd/location-registry
|
2026-08-04 00:45:50 +00:00
|
|
|
retries: 2
|
2026-07-25 15:48:48 +00:00
|
|
|
scene-descriptions:
|
|
|
|
|
extract:
|
|
|
|
|
module: dnd/scene-descriptions
|
|
|
|
|
retries: 2
|
|
|
|
|
merge: appendorder
|
|
|
|
|
normalize: dnd/scene-descriptions
|
|
|
|
|
- id: extract-events
|
2026-08-04 00:45:50 +00:00
|
|
|
# Accepted registry artifacts and scene-description eligibility artifacts
|
|
|
|
|
# are supplied in memory to their compatible consumers in this step.
|
2026-07-25 15:48:48 +00:00
|
|
|
references:
|
2026-08-05 19:13:37 +00:00
|
|
|
location_registry:
|
2026-08-04 00:45:50 +00:00
|
|
|
artifact:
|
|
|
|
|
step: describe-session
|
2026-08-05 20:07:31 +00:00
|
|
|
lane: location-registry
|
2026-08-05 18:38:22 +00:00
|
|
|
npc_registry:
|
2026-07-25 15:48:48 +00:00
|
|
|
artifact:
|
|
|
|
|
step: describe-session
|
2026-08-05 20:07:31 +00:00
|
|
|
lane: npc-registry
|
2026-07-25 19:23:19 +00:00
|
|
|
scene_descriptions:
|
|
|
|
|
artifact:
|
|
|
|
|
step: describe-session
|
|
|
|
|
lane: scene-descriptions
|
2026-08-05 19:55:34 +00:00
|
|
|
item_registry:
|
|
|
|
|
artifact:
|
|
|
|
|
step: describe-session
|
|
|
|
|
lane: item-registry
|
2026-07-25 15:48:48 +00:00
|
|
|
artifacts:
|
2026-08-05 20:00:20 +00:00
|
|
|
item-occurrences:
|
2026-08-05 19:55:34 +00:00
|
|
|
extract:
|
2026-08-05 20:00:20 +00:00
|
|
|
module: dnd/item-occurrences
|
2026-08-05 19:55:34 +00:00
|
|
|
retries: 2
|
|
|
|
|
merge: appendorder
|
2026-08-05 20:00:20 +00:00
|
|
|
normalize: dnd/item-occurrences
|
2026-07-25 15:48:48 +00:00
|
|
|
spells:
|
|
|
|
|
extract:
|
|
|
|
|
module: dnd/spells
|
|
|
|
|
retries: 2
|
|
|
|
|
references:
|
|
|
|
|
spell_catalog: ./dnd-spell-catalog.json
|
|
|
|
|
merge: appendorder
|
|
|
|
|
# Stage-local file references are intentionally bound at each stage.
|
|
|
|
|
normalize:
|
|
|
|
|
module: dnd/spells
|
|
|
|
|
references:
|
|
|
|
|
spell_catalog: ./dnd-spell-catalog.json
|
|
|
|
|
combat-turns:
|
|
|
|
|
extract:
|
|
|
|
|
module: dnd/combat-turns
|
|
|
|
|
retries: 2
|
|
|
|
|
merge: appendorder
|
|
|
|
|
normalize: dnd/combat-turns
|
2026-08-05 19:00:55 +00:00
|
|
|
npc-occurrences:
|
2026-07-25 15:48:48 +00:00
|
|
|
extract:
|
2026-08-05 19:00:55 +00:00
|
|
|
module: dnd/npc-occurrences
|
2026-07-25 15:48:48 +00:00
|
|
|
retries: 2
|
|
|
|
|
merge: appendorder
|
2026-08-05 19:00:55 +00:00
|
|
|
normalize: dnd/npc-occurrences
|
2026-08-04 00:45:50 +00:00
|
|
|
location-occurrences:
|
|
|
|
|
extract:
|
|
|
|
|
module: dnd/location-occurrences
|
|
|
|
|
retries: 2
|
|
|
|
|
merge: appendorder
|
|
|
|
|
normalize: dnd/location-occurrences
|
2026-08-03 21:10:21 +00:00
|
|
|
- id: track-enemies
|
|
|
|
|
references:
|
2026-08-05 18:38:22 +00:00
|
|
|
npc_registry:
|
2026-08-03 21:10:21 +00:00
|
|
|
artifact:
|
|
|
|
|
step: describe-session
|
2026-08-05 20:07:31 +00:00
|
|
|
lane: npc-registry
|
2026-08-03 21:10:21 +00:00
|
|
|
scene_descriptions:
|
|
|
|
|
artifact:
|
|
|
|
|
step: describe-session
|
|
|
|
|
lane: scene-descriptions
|
|
|
|
|
combat_turns:
|
|
|
|
|
artifact:
|
|
|
|
|
step: extract-events
|
|
|
|
|
lane: combat-turns
|
2026-08-05 19:00:55 +00:00
|
|
|
npc_occurrences:
|
2026-08-03 21:10:21 +00:00
|
|
|
artifact:
|
|
|
|
|
step: extract-events
|
2026-08-05 19:00:55 +00:00
|
|
|
lane: npc-occurrences
|
2026-08-03 21:10:21 +00:00
|
|
|
artifacts:
|
|
|
|
|
enemy-events:
|
|
|
|
|
extract:
|
|
|
|
|
module: dnd/enemy-events
|
|
|
|
|
retries: 2
|
|
|
|
|
merge: appendorder
|
|
|
|
|
normalize: dnd/enemy-events
|