Interface: EntityMergeAuditDto
@kortexya/reasoninglayer / EntityMergeAuditDto
Interface: EntityMergeAuditDto
Section titled “Interface: EntityMergeAuditDto”Defined in: src/types/ingestion.ts:825
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:831
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:836
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:841
corroboratingFeatures.length, plus one when both entities named the
same sort.
mergedFromId
Section titled “mergedFromId”mergedFromId:
string
Defined in: src/types/ingestion.ts:843
Term id of the entity that was merged away (the shorter form).
mergedFromName
Section titled “mergedFromName”mergedFromName:
string
Defined in: src/types/ingestion.ts:845
Name of the merged-away entity.
mergedFromSort
Section titled “mergedFromSort”mergedFromSort:
string
Defined in: src/types/ingestion.ts:847
Original sort name of the merged-away entity.
mergedIntoId
Section titled “mergedIntoId”mergedIntoId:
string
Defined in: src/types/ingestion.ts:849
Term id of the surviving entity (the longer, canonical form).
mergedIntoName
Section titled “mergedIntoName”mergedIntoName:
string
Defined in: src/types/ingestion.ts:851
Name of the surviving entity.
mergedIntoSort
Section titled “mergedIntoSort”mergedIntoSort:
string
Defined in: src/types/ingestion.ts:853
Sort name of the surviving entity.