Skip to content

Interface: EntityMergeAuditDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / EntityMergeAuditDto

Defined in: src/types/ingestion.ts:759

One entity merge that the ingestion pipeline made, with the evidence for it.

Review merges by EntityMergeAuditDto.corroborationStrength. An empty corroboratingFeatures means the merge compared nothing: it rests on the name resemblance alone.

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: 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: number

Defined in: src/types/ingestion.ts:775

corroboratingFeatures.length, plus one when both entities named the same sort.


mergedFromId: string

Defined in: src/types/ingestion.ts:777

Term id of the entity that was merged away (the shorter form).


mergedFromName: string

Defined in: src/types/ingestion.ts:779

Name of the merged-away entity.


mergedFromSort: string

Defined in: src/types/ingestion.ts:781

Original sort name of the merged-away entity.


mergedIntoId: string

Defined in: src/types/ingestion.ts:783

Term id of the surviving entity (the longer, canonical form).


mergedIntoName: string

Defined in: src/types/ingestion.ts:785

Name of the surviving entity.


mergedIntoSort: string

Defined in: src/types/ingestion.ts:787

Sort name of the surviving entity.