Skip to content

Type Alias: FuzzySearchTopKRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Fuzzy / FuzzySearchTopKRequest

Type Alias: FuzzySearchTopKRequest

FuzzySearchTopKRequest = QueryTerm & object

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

Request for fuzzy top-K search.

Type Declaration

failOnUnknown?

optional failOnUnknown: boolean

Whether to fail when encountering unknown (Uninstantiated) values instead of residuating. false = enable residuation (default).

k

k: number

Number of results to return.

minDegree?

optional minDegree: number | null

Optional minimum similarity degree.

similarityMode?

optional similarityMode: string

String similarity strategy:

  • "fast": Exact -> Normalized -> Jaccard only (NO embeddings)
  • "hybrid": Exact -> Normalized -> Jaccard -> Embeddings (default)
  • "semantic": Exact -> Normalized -> Embeddings (skip Jaccard)

Remarks

Intersection of QueryTerm with top-K search parameters. The query term fields are spread inline (flat shape matching the wire format).