Skip to content

Type Alias: ScoreTermsRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ScoreTermsRequest

ScoreTermsRequest = QueryTerm & object

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

Request to score a given set of candidate terms against a query ψ-term.

optional failOnUnknown?: boolean

Whether to fail unification on unknown (Uninstantiated) values instead of residuating.

optional similarityMode?: string

String similarity strategy (fast/hybrid/semantic).

termIds: string[]

The candidate term IDs to score. Order is preserved in the response.

Intersection of QueryTerm with the candidate-set + scoring parameters. The query-term fields are spread inline (flat wire shape).