Interface: EntityMergeAuditDto
@kortexya/reasoninglayer / EntityMergeAuditDto
Interface: EntityMergeAuditDto
Section titled “Interface: EntityMergeAuditDto”Defined in: src/types/ingestion.ts:759
One entity merge that the ingestion pipeline made, with the evidence for it.
Remarks
Section titled “Remarks”Review merges by EntityMergeAuditDto.corroborationStrength. An empty
corroboratingFeatures means the merge compared nothing: it rests on the
name resemblance alone.
Properties
Section titled “Properties”basis:
string
Defined in: src/types/ingestion.ts:765
How the merge was decided: "substring_name_match" (one name contains
the other) or "language_model_judgement" (an LLM coreference call).
The engine types the field as a free string.
corroboratingFeatures
Section titled “corroboratingFeatures”corroboratingFeatures:
string[]
Defined in: src/types/ingestion.ts:770
Feature paths on which both entities carried a definite, agreeing value. Empty when nothing was compared.
corroborationStrength
Section titled “corroborationStrength”corroborationStrength:
number
Defined in: src/types/ingestion.ts:775
corroboratingFeatures.length, plus one when both entities named the
same sort.
mergedFromId
Section titled “mergedFromId”mergedFromId:
string
Defined in: src/types/ingestion.ts:777
Term id of the entity that was merged away (the shorter form).
mergedFromName
Section titled “mergedFromName”mergedFromName:
string
Defined in: src/types/ingestion.ts:779
Name of the merged-away entity.
mergedFromSort
Section titled “mergedFromSort”mergedFromSort:
string
Defined in: src/types/ingestion.ts:781
Original sort name of the merged-away entity.
mergedIntoId
Section titled “mergedIntoId”mergedIntoId:
string
Defined in: src/types/ingestion.ts:783
Term id of the surviving entity (the longer, canonical form).
mergedIntoName
Section titled “mergedIntoName”mergedIntoName:
string
Defined in: src/types/ingestion.ts:785
Name of the surviving entity.
mergedIntoSort
Section titled “mergedIntoSort”mergedIntoSort:
string
Defined in: src/types/ingestion.ts:787
Sort name of the surviving entity.