Skip to content

Interface: MatchedEntityDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conversation / MatchedEntityDto

Interface: MatchedEntityDto

Defined in: src/types/conversation.ts:159

An entity matched while resolving a reasoning-trace stage.

Properties

confidence

confidence: number

Defined in: src/types/conversation.ts:167

Match confidence in [0, 1].


matchReason

matchReason: string

Defined in: src/types/conversation.ts:169

Why it matched (e.g. “exact”, “fuzzy_glb”, “salience”).


name

name: string

Defined in: src/types/conversation.ts:161

Display label of the entity.


sortName

sortName: string

Defined in: src/types/conversation.ts:163

Sort name the entity belongs to.


termId?

optional termId: string

Defined in: src/types/conversation.ts:165

Term ID (string form), if the match resolved to a stored term.