Skip to content

Interface: SimilarityMatch

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SimilarityMatch

Defined in: src/types/fuzzy.ts:425

A single similarity match result.

Returned by both /fuzzy/similar (find similar) and /fuzzy/top-k (top-K search). Includes confidence_percent (percentage representation of degree).

optional awaiting?: string[]

Defined in: src/types/fuzzy.ts:427

Features still awaiting asserted values; the degree remains provisional.


confidencePercent: number

Defined in: src/types/fuzzy.ts:431

Percentage representation (0-100).


degree: number

Defined in: src/types/fuzzy.ts:433

Similarity degree mu in [0,1].


optional residuated?: boolean

Defined in: src/types/fuzzy.ts:429

Whether unknown slots prevent a fully determined degree.


term: TermDto

Defined in: src/types/fuzzy.ts:435

The matched term.