|
|
|
|
@@ -370,7 +370,7 @@ selected target declares them:
|
|
|
|
|
| **players** | Optional text player context. |
|
|
|
|
|
| **glossary** | Optional text campaign glossary. |
|
|
|
|
|
| **spell_catalog** | Optional JSON spell-catalog overlay for spell extraction and normalization. See [spell-catalog overlays](integrations/dnd-spell-catalog-overlays.md). |
|
|
|
|
|
| **locations** | Required normalized location registry for location-occurrence extraction and normalization. |
|
|
|
|
|
| **location_registry** | Required normalized location registry for location-occurrence extraction and normalization. |
|
|
|
|
|
| **npc_registry** | Normalized NPC registry. Optional for spells and combat turns; required for NPC occurrences and enemy-event extraction and normalization. |
|
|
|
|
|
| **scene_descriptions** | Required normalized scene-description artifact for combat-turn and enemy-event extraction. |
|
|
|
|
|
| **combat_turns** | Required normalized combat-turn artifact for enemy-event extraction. |
|
|
|
|
|
@@ -387,13 +387,13 @@ binding contracts. Durable semantics and wire shapes remain in their
|
|
|
|
|
| `scene_descriptions` | `dnd/scene-description-list` | `application/json` | 1,048,576 bytes | extract only |
|
|
|
|
|
| `combat_turns` | `dnd/combat-turn-list` | `application/json` | 1,048,576 bytes | extract only |
|
|
|
|
|
| `npc_occurrences` | `dnd/npc-occurrence-list` | `application/json` | 1,048,576 bytes | extract only |
|
|
|
|
|
| `locations` | `dnd/location-registry` | `application/json` | 1,048,576 bytes | location-occurrence extract and normalize |
|
|
|
|
|
| `location_registry` | `dnd/location-registry` | `application/json` | 1,048,576 bytes | location-occurrence extract and normalize |
|
|
|
|
|
|
|
|
|
|
Scene descriptions accept **party**, **players**, and **glossary**, but not
|
|
|
|
|
**roster**. NPC occurrences require **npc_registry** for both extraction and
|
|
|
|
|
normalization. Combat turns require **scene_descriptions** for extraction; the
|
|
|
|
|
normalized combat-turn module may use optional **npc_registry**. Location occurrences
|
|
|
|
|
require **locations** for extraction and normalization. Enemy-event extraction
|
|
|
|
|
require **location_registry** for extraction and normalization. Enemy-event extraction
|
|
|
|
|
requires all four of its JSON artifact slots; its normalizer requires **npc_registry**.
|
|
|
|
|
The [complete example](../examples/dnd-complete.config.yml) shows the ordered
|
|
|
|
|
generated bindings.
|
|
|
|
|
@@ -404,12 +404,12 @@ generated bindings.
|
|
|
|
|
| --- | --- |
|
|
|
|
|
| Input | **seriatim** |
|
|
|
|
|
| Chunk | **generic**, **dnd/scenes** |
|
|
|
|
|
| Extract | **dnd/spells**, **dnd/npc-registry**, **dnd/combat-turns**, **dnd/item-events**, **dnd/npc-occurrences**, **dnd/scene-descriptions**, **dnd/enemy-events**, **dnd/locations**, **dnd/location-occurrences** |
|
|
|
|
|
| Extract | **dnd/spells**, **dnd/npc-registry**, **dnd/combat-turns**, **dnd/item-events**, **dnd/npc-occurrences**, **dnd/scene-descriptions**, **dnd/enemy-events**, **dnd/location-registry**, **dnd/location-occurrences** |
|
|
|
|
|
| Merge | **appendorder** |
|
|
|
|
|
| Normalize | **noop**, **dnd/spells**, **dnd/npc-registry**, **dnd/combat-turns**, **dnd/item-events**, **dnd/npc-occurrences**, **dnd/scene-descriptions**, **dnd/enemy-events**, **dnd/locations**, **dnd/location-occurrences** |
|
|
|
|
|
| Normalize | **noop**, **dnd/spells**, **dnd/npc-registry**, **dnd/combat-turns**, **dnd/item-events**, **dnd/npc-occurrences**, **dnd/scene-descriptions**, **dnd/enemy-events**, **dnd/location-registry**, **dnd/location-occurrences** |
|
|
|
|
|
| Output | **json** |
|
|
|
|
|
|
|
|
|
|
`dnd/locations` extraction and normalization are `llm_backed`; location
|
|
|
|
|
`dnd/location-registry` extraction and normalization are `llm_backed`; location
|
|
|
|
|
normalization may use the pipeline's selected LLM profile for bounded duplicate
|
|
|
|
|
proposals. `dnd/location-occurrences` extraction is `llm_backed`, while its
|
|
|
|
|
normalizer is `deterministic`. The complete example binds the registry in one
|
|
|
|
|
@@ -423,7 +423,7 @@ The D&D artifact contracts define each emitted schema:
|
|
|
|
|
[item events](integrations/dnd-item-event-artifacts.md),
|
|
|
|
|
[scene descriptions](integrations/dnd-scene-description-artifacts.md), and
|
|
|
|
|
[enemy events](integrations/dnd-enemy-event-artifacts.md),
|
|
|
|
|
[locations](integrations/dnd-location-artifacts.md), and
|
|
|
|
|
[location registry](integrations/dnd-location-registry-artifacts.md), and
|
|
|
|
|
[location occurrences](integrations/dnd-location-occurrence-artifacts.md).
|
|
|
|
|
|
|
|
|
|
## Production Validator Keys And Default Chains
|
|
|
|
|
@@ -440,7 +440,7 @@ Available validator keys are:
|
|
|
|
|
| NPC occurrences | **extract/dnd/npc-occurrences/shape**, **extract/dnd/npc-occurrences/registry**, **extract/dnd/npc-occurrences/source_refs**, **extract/dnd/npc-occurrences/source_relatedness**, **normalize/dnd/npc-occurrences/invariants** |
|
|
|
|
|
| Scene descriptions | **extract/dnd/scene-descriptions/shape**, **extract/dnd/scene-descriptions/source_refs**, **extract/dnd/scene-descriptions/source_relatedness**, **normalize/dnd/scene-descriptions/invariants** |
|
|
|
|
|
| Enemy events | **extract/dnd/enemy-events/shape**, **extract/dnd/enemy-events/engagements**, **extract/dnd/enemy-events/source_refs**, **extract/dnd/enemy-events/source_relatedness**, **normalize/dnd/enemy-events/invariants** |
|
|
|
|
|
| Locations | **extract/dnd/locations/shape**, **extract/dnd/locations/source_refs**, **extract/dnd/locations/source_relatedness**, **normalize/dnd/locations/identity** |
|
|
|
|
|
| Location registry | **extract/dnd/location-registry/shape**, **extract/dnd/location-registry/source_refs**, **extract/dnd/location-registry/source_relatedness**, **normalize/dnd/location-registry/identity** |
|
|
|
|
|
| Location occurrences | **extract/dnd/location-occurrences/shape**, **extract/dnd/location-occurrences/registry**, **extract/dnd/location-occurrences/source_refs**, **extract/dnd/location-occurrences/source_relatedness**, **normalize/dnd/location-occurrences/invariants** |
|
|
|
|
|
|
|
|
|
|
When no override is configured, production D&D bindings use the following
|
|
|
|
|
@@ -456,7 +456,7 @@ same at both stages.
|
|
|
|
|
| NPC occurrences | generic/valid_json, extract/dnd/npc-occurrences/shape, extract/dnd/npc-occurrences/registry, extract/dnd/npc-occurrences/source_refs, generic/valid_json_schema, extract/dnd/npc-occurrences/source_relatedness | generic/valid_json, extract/dnd/npc-occurrences/shape, extract/dnd/npc-occurrences/registry, normalize/dnd/npc-occurrences/invariants, extract/dnd/npc-occurrences/source_refs, generic/valid_json_schema, extract/dnd/npc-occurrences/source_relatedness |
|
|
|
|
|
| Scene descriptions | generic/valid_json, extract/dnd/scene-descriptions/shape, extract/dnd/scene-descriptions/source_refs, generic/valid_json_schema, extract/dnd/scene-descriptions/source_relatedness | generic/valid_json, extract/dnd/scene-descriptions/shape, normalize/dnd/scene-descriptions/invariants, extract/dnd/scene-descriptions/source_refs, generic/valid_json_schema, extract/dnd/scene-descriptions/source_relatedness |
|
|
|
|
|
| Enemy events | generic/valid_json, extract/dnd/enemy-events/shape, extract/dnd/enemy-events/engagements, extract/dnd/enemy-events/source_refs, generic/valid_json_schema, extract/dnd/enemy-events/source_relatedness | generic/valid_json, extract/dnd/enemy-events/shape, normalize/dnd/enemy-events/invariants, extract/dnd/enemy-events/source_refs, generic/valid_json_schema, extract/dnd/enemy-events/source_relatedness |
|
|
|
|
|
| Locations | generic/valid_json, extract/dnd/locations/shape, extract/dnd/locations/source_refs, generic/valid_json_schema, extract/dnd/locations/source_relatedness | generic/valid_json, extract/dnd/locations/shape, normalize/dnd/locations/identity, extract/dnd/locations/source_refs, generic/valid_json_schema, extract/dnd/locations/source_relatedness |
|
|
|
|
|
| Location registry | generic/valid_json, extract/dnd/location-registry/shape, extract/dnd/location-registry/source_refs, generic/valid_json_schema, extract/dnd/location-registry/source_relatedness | generic/valid_json, extract/dnd/location-registry/shape, normalize/dnd/location-registry/identity, extract/dnd/location-registry/source_refs, generic/valid_json_schema, extract/dnd/location-registry/source_relatedness |
|
|
|
|
|
| Location occurrences | generic/valid_json, extract/dnd/location-occurrences/shape, extract/dnd/location-occurrences/registry, extract/dnd/location-occurrences/source_refs, generic/valid_json_schema, extract/dnd/location-occurrences/source_relatedness | generic/valid_json, extract/dnd/location-occurrences/shape, extract/dnd/location-occurrences/registry, normalize/dnd/location-occurrences/invariants, extract/dnd/location-occurrences/source_refs, generic/valid_json_schema, extract/dnd/location-occurrences/source_relatedness |
|
|
|
|
|
|
|
|
|
|
Chains are only registered for the D&D extract and normalize modules shown
|
|
|
|
|
|