Skip to content

Interface: SimilarityMatch

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Fuzzy / SimilarityMatch

Interface: SimilarityMatch

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

A single similarity match result.

Remarks

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

Properties

confidencePercent

confidencePercent: number

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

Percentage representation (0-100).


degree

degree: number

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

Similarity degree mu in [0,1].


term

term: TermDto

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

The matched term.