Skip to content

Interface: SoftUnifyResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SoftUnifyResponse

Defined in: src/types/cdl.ts:122

Response for soft unification.

confidence: number

Defined in: src/types/cdl.ts:124

Overall confidence score (0.0-1.0).


elapsedMs: number

Defined in: src/types/cdl.ts:142

Processing time in milliseconds.


embeddingsUsed: boolean

Defined in: src/types/cdl.ts:140

Whether a box-embedding adapter contributed to SoftUnifyResponse.sortScore.

false means the sort axis was scored from the hierarchy alone (subsumption and fuzzy subsumption). The scores are measured either way; this says which evidence was available, so a caller can tell a hierarchy-only answer from an embedding-backed one.


featureScore: number

Defined in: src/types/cdl.ts:128

Feature compatibility score.


hardCompatible: boolean

Defined in: src/types/cdl.ts:130

Whether the terms are hard-compatible (classical unification).


sortScore: number

Defined in: src/types/cdl.ts:126

Sort compatibility score.