Interface: ReasoningStageDto
@kortexya/reasoninglayer / ReasoningStageDto
Interface: ReasoningStageDto
Section titled “Interface: ReasoningStageDto”Defined in: src/types/conversation.ts:556
One executed stage of the conversation pipeline (LLM-as-sensor trace).
Properties
Section titled “Properties”blockedSites?
Section titled “blockedSites?”
optionalblockedSites?:string[]
Defined in: src/types/conversation.ts:558
Hosts the Space blocked before any page fetch.
confidence?
Section titled “confidence?”
optionalconfidence?:number
Defined in: src/types/conversation.ts:586
Optional confidence for this stage (0.0–1.0).
detail?
Section titled “detail?”
optionaldetail?:string
Defined in: src/types/conversation.ts:594
Free-text detail for display.
elapsedMs?
Section titled “elapsedMs?”
optionalelapsedMs?:number|null
Defined in: src/types/conversation.ts:560
How long the leg took.
extracted?
Section titled “extracted?”
optionalextracted?:number|null
Defined in: src/types/conversation.ts:562
Pages whose typed facts were extracted.
followUpOf?
Section titled “followUpOf?”
optionalfollowUpOf?:string|null
Defined in: src/types/conversation.ts:564
The turn whose reading this leg completes (WP-5).
kind:
string
Defined in: src/types/conversation.ts:580
“sensor” (LLM was consulted) or “symbolic” (deterministic).
llmUsed
Section titled “llmUsed”llmUsed:
boolean
Defined in: src/types/conversation.ts:584
Whether the LLM was actually invoked at this stage.
matchedEntities
Section titled “matchedEntities”matchedEntities:
MatchedEntityDto[]
Defined in: src/types/conversation.ts:588
Entities matched at this stage (sort + term id).
name:
string
Defined in: src/types/conversation.ts:576
Stage id, e.g. “classify_intent”.
order:
number
Defined in: src/types/conversation.ts:578
Execution order.
osfql?
Section titled “osfql?”
optionalosfql?:string
Defined in: src/types/conversation.ts:590
OSFQL executed/produced at this stage, if any.
outcome?
Section titled “outcome?”
optionaloutcome?:string|null
Defined in: src/types/conversation.ts:566
The web leg’s outcome (stage web_search, WP-4): completed, skipped (with reason), reading (with reading_deadline) or failed.
optionalread?:number|null
Defined in: src/types/conversation.ts:568
Pages read and stored as web_page records.
readingDeadline?
Section titled “readingDeadline?”
optionalreadingDeadline?:string|null
Defined in: src/types/conversation.ts:570
While reading: when the engine stops waiting for the pages.
reason?
Section titled “reason?”
optionalreason?:string|null
Defined in: src/types/conversation.ts:572
Why the leg did not search (one code of the skip list: setting_off, scope_excludes_web, not_permitted, data_class, quota, needs_confirmation, unavailable, answered_from_records), or why it failed.
searched?
Section titled “searched?”
optionalsearched?:number|null
Defined in: src/types/conversation.ts:574
Results the search returned.
sensorPoint?
Section titled “sensorPoint?”
optionalsensorPoint?:string
Defined in: src/types/conversation.ts:582
For sensor stages: the sensor point consulted.
strategy?
Section titled “strategy?”
optionalstrategy?:string
Defined in: src/types/conversation.ts:592
Symbolic strategy used, if any.