Skip to content

Interface: MatchedEntityDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conversation / MatchedEntityDto

Interface: MatchedEntityDto

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

An entity matched while resolving a reasoning-trace stage.

Properties

confidence

confidence: number

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

Match confidence in [0, 1].


matchReason

matchReason: string

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

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


name

name: string

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

Display label of the entity.


sortName

sortName: string

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

Sort name the entity belongs to.


termId?

optional termId: string

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

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