Skip to content

Interface: MatchedEntityDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Query / MatchedEntityDto

Interface: MatchedEntityDto

Defined in: src/types/query.ts:70

A matched entity in a structured search result.

Properties

communityId

communityId: string

Defined in: src/types/query.ts:76

Community this entity belongs to.


features

features: Record<string, string>

Defined in: src/types/query.ts:80

Key features as strings.


matchDegree

matchDegree: number

Defined in: src/types/query.ts:82

Match degree (0.0-1.0).


matchReason?

optional matchReason: string | null

Defined in: src/types/query.ts:84

Why this entity matched.


name?

optional name: string | null

Defined in: src/types/query.ts:78

Human-readable name (if available).


sortId

sortId: string

Defined in: src/types/query.ts:74

Sort ID.


termId

termId: string

Defined in: src/types/query.ts:72

Term ID.