Migrate item reconciliation to shared engine

This commit is contained in:
2026-08-09 16:46:43 +00:00
parent 8c071800cf
commit c7f79fb38e
7 changed files with 286 additions and 233 deletions

View File

@@ -1,2 +0,0 @@
Item candidates:
{{ input "candidates" }}

View File

@@ -1,8 +1,9 @@
Use candidate names and cited transcript windows only to determine whether
candidates identify the same item type or unique designation. Do not treat
nearby evidence, similar objects, or a shared owner as sufficient. Keep
currency denominations, materially different item types, and uncertain aliases
separate. Do not infer an item property or uniqueness.
Use the supplied positive integer candidate IDs and their cited transcript
windows only to determine whether candidates identify the same item type or
unique designation. Do not treat nearby evidence, similar objects, or a shared
owner as sufficient. Keep currency denominations, materially different item
types, and uncertain aliases separate. Do not infer an item property or
uniqueness.
When selecting a canonical display name, choose one supplied candidate name
that is the clearest established designation.

View File

@@ -12,19 +12,19 @@ messages:
- role: system
content_file: ./sharedassets/common-dnd-system.md
- role: user
content_file: ./instructions.md
content_file: ./sharedassets/protocol.md
- role: user
content_file: ./sharedassets/common-dnd-entity-reconciliation.md
content_file: ./instructions.md
cache_control:
type: ephemeral
- role: user
content_file: ./candidates.md
content_file: ./sharedassets/candidates.md
- role: user
content_file: ./sharedassets/common-dnd-transcript-windows.md
content_file: ./sharedassets/transcript-windows.md
cache_control:
type: ephemeral
output:
format: json
validation_mode: json_schema
schema_path: dnd_entity_reconcile_llm.v1.json
schema_path: semantic_reconciliation_llm.v1.json
repair_attempts: 0