Interface: ReasoningStageDto
@kortexya/reasoninglayer / ReasoningStageDto
Interface: ReasoningStageDto
Section titled “Interface: ReasoningStageDto”Defined in: src/types/conversation.ts:521
One executed stage of the conversation pipeline (LLM-as-sensor trace).
Properties
Section titled “Properties”confidence?
Section titled “confidence?”
optionalconfidence?:number
Defined in: src/types/conversation.ts:533
Optional confidence for this stage (0.0–1.0).
detail?
Section titled “detail?”
optionaldetail?:string
Defined in: src/types/conversation.ts:541
Free-text detail for display.
kind:
string
Defined in: src/types/conversation.ts:527
“sensor” (LLM was consulted) or “symbolic” (deterministic).
llmUsed
Section titled “llmUsed”llmUsed:
boolean
Defined in: src/types/conversation.ts:531
Whether the LLM was actually invoked at this stage.
matchedEntities
Section titled “matchedEntities”matchedEntities:
MatchedEntityDto[]
Defined in: src/types/conversation.ts:535
Entities matched at this stage (sort + term id).
name:
string
Defined in: src/types/conversation.ts:523
Stage id, e.g. “classify_intent”.
order:
number
Defined in: src/types/conversation.ts:525
Execution order.
osfql?
Section titled “osfql?”
optionalosfql?:string
Defined in: src/types/conversation.ts:537
OSFQL executed/produced at this stage, if any.
sensorPoint?
Section titled “sensorPoint?”
optionalsensorPoint?:string
Defined in: src/types/conversation.ts:529
For sensor stages: the sensor point consulted.
strategy?
Section titled “strategy?”
optionalstrategy?:string
Defined in: src/types/conversation.ts:539
Symbolic strategy used, if any.