Migrate maintained D&D examples to native configuration

This commit is contained in:
2026-11-22 05:45:31 +00:00
parent 3ef55f4668
commit 854d23b91e
25 changed files with 189 additions and 195 deletions

View File

@@ -1,23 +0,0 @@
version: 5
config:
imports:
- path: pipelines/dnd-session.yml
required: true
promptkit:
profile_file: ./llm-profiles/dnd-extraction.yml
transient_retries: 2
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

View File

@@ -0,0 +1,14 @@
version: 6
config:
imports:
- path: pipelines/dnd-session.yml
required: true
# This bounds ready pipeline jobs independently of native backend admission.
concurrency:
workers: 4
output:
directory: ./notarius-output
cache_directory: ./notarius-cache
# A directory alone does not enable capture; select --debug when needed.
debug:
directory: ./notarius-debug

View File

@@ -0,0 +1,11 @@
# Invocation: --overlay development. These are application controls, not a
# replacement LLM scheduler or backend concurrency configuration.
concurrency:
workers: 1
output:
directory: ../notarius-output-development
pipelines:
dnd-session:
llm_profile: notarius/dnd-extraction-development
max_additional_turns: 0
cache: bypass

View File

@@ -4,7 +4,6 @@ artifacts:
item-registry:
extract:
module: dnd/item-registry
retries: 2
merge:
module: appendorder
normalize:
@@ -12,25 +11,20 @@ artifacts:
npc-registry:
extract:
module: dnd/npc-registry
retries: 2
merge:
module: appendorder
normalize:
module: dnd/npc-registry
retries: 2
location-registry:
extract:
module: dnd/location-registry
retries: 2
merge:
module: appendorder
normalize:
module: dnd/location-registry
retries: 2
scene-descriptions:
extract:
module: dnd/scene-descriptions
retries: 2
merge:
module: appendorder
normalize:

View File

@@ -6,18 +6,20 @@ config:
placement: sequence-item
pipelines:
dnd-session:
llm_profile: dnd-extraction
llm_profile: notarius/dnd-extraction-example
mode: strict
max_additional_turns: 2
cache: auto
input:
module: seriatim
# Stable campaign context is shared by every module that accepts these slots.
references:
party:
path: ../dnd-party.txt
path: ../party.txt
glossary:
path: ../dnd-glossary.txt
path: ../glossary.txt
chunk:
module: dnd/scenes
retries: 2
output:
module: json
options:
@@ -60,7 +62,6 @@ pipelines:
item-occurrences:
extract:
module: dnd/item-occurrences
retries: 2
merge:
module: appendorder
normalize:
@@ -68,10 +69,9 @@ pipelines:
spells:
extract:
module: dnd/spells
retries: 2
references:
spell_catalog:
path: ../dnd-spell-catalog.json
path: ../spell-catalog.json
merge:
module: appendorder
# Stage-local file references are intentionally bound at each stage.
@@ -79,11 +79,10 @@ pipelines:
module: dnd/spells
references:
spell_catalog:
path: ../dnd-spell-catalog.json
path: ../spell-catalog.json
combat-turns:
extract:
module: dnd/combat-turns
retries: 2
merge:
module: appendorder
normalize:
@@ -91,7 +90,6 @@ pipelines:
npc-occurrences:
extract:
module: dnd/npc-occurrences
retries: 2
merge:
module: appendorder
normalize:
@@ -99,7 +97,6 @@ pipelines:
location-occurrences:
extract:
module: dnd/location-occurrences
retries: 2
merge:
module: appendorder
normalize:
@@ -126,14 +123,14 @@ pipelines:
enemy-events:
extract:
module: dnd/enemy-events
retries: 2
merge:
module: appendorder
normalize:
module: dnd/enemy-events
# Development variant: disable PromptKit structural repairs while retaining
# the inherited steps and configured producer retry budgets.
# Inherit the full pipeline, select a native profile variant, and disable
# semantic continuation for a quick comparison. Structural repair stays native.
dnd-session-development:
extends: dnd-session
structured_output_repair_attempts: 0
llm_profile: notarius/dnd-extraction-development
max_additional_turns: 0

View File

@@ -0,0 +1,15 @@
# Native wrapperless settings, discovered beside this example's config.yml.
# Inherit the bundled backend without pinning its queue or diagnostic defaults.
backends:
- id: limited-openrouter
extends: {id: openrouter}
concurrency_limit: 2
collections:
notarius:
profiles:
- id: dnd-extraction-example
extends: {id: dnd-extraction}
backend: limited-openrouter
- id: dnd-extraction-development
extends: {id: dnd-extraction-example}
temperature: 0.2

View File

@@ -1,7 +1,7 @@
version: 5
version: 6
pipelines:
dnd-session:
llm_profile: dnd-extraction
llm_profile: notarius/dnd-extraction
input:
module: seriatim
artifacts:

View File

@@ -1,9 +0,0 @@
profiles:
dnd-extraction:
backend: openrouter
model: openai/gpt-5.6-luna
timeout_seconds: 240
service_tier: flex
dnd-extraction-development:
extends: dnd-extraction
temperature: 0.2

View File

@@ -1,8 +0,0 @@
# This selects operational settings only; choose a different LLM profile with
# the pipeline's llm_profile field or the run command's --llm-profile flag.
concurrency:
total_llm: 1
stage_workers:
extract: 1
output:
directory: ./notarius-output-development