Merge_canonicalize v1
Viewer
Template
Preview
History

Loading preview...

Version History

No version history yet. Save changes to create versions.

Reference
Template Variables
{{ reuse_block }}
Injected per-domain canonical reference-sheet block (OntServe-derived)
{{ type_label }}
Title-cased entity type (e.g. Obligations)
{{ entities_text }}
Assembled entity list (ID/label/definition)
Output Schema
entities
id* int
action str
reason str
canonical_label* str
externalized_context dict
JSON Wrapper
Appended to the prompt by the extractor:
IMPORTANT: Wrap your response as a JSON object with exactly two keys:
{"new_merge_canonicalize_classes": [...], "merge_canonicalize_individuals": [...]}
If there are no individuals to report, use an empty array for "merge_canonicalize_individuals".