Migrate item normalization to native correction and explicit fallback handling

This commit is contained in:
2026-11-22 00:17:58 +00:00
parent 2348730820
commit 772b8619c1
11 changed files with 704 additions and 337 deletions

View File

@@ -11,9 +11,9 @@ prompts:
messages:
- role: system
content_file: ../../../shared/prompts/common-dnd-system.md
- role: user
- role: system
content_file: ../../../../generic/normalize/deduplication/prompts/protocol.md
- role: user
- role: system
content_file: ./instructions.md
cache_control:
type: ephemeral
@@ -27,3 +27,17 @@ prompts:
format: json
validation_mode: json_schema
schema_path: generic/normalize/deduplication/schemas/semantic_reconciliation_llm.v1.json
- id: dnd.item_registry.normalize.repair
default_profile: notarius/dnd-extraction
inputs:
- name: guidance
required: true
content_type: text/plain
messages:
- role: user
content_file: ../../../../generic/normalize/deduplication/prompts/correction.md
output:
format: json
validation_mode: json_schema
schema_path: generic/normalize/deduplication/schemas/semantic_reconciliation_llm.v1.json