Skip to content

Interface: ReasoningStageDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conversation / ReasoningStageDto

Interface: ReasoningStageDto

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

One executed stage of the conversation pipeline (LLM-as-sensor trace).

Properties

confidence?

optional confidence: number

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

Optional confidence for this stage (0.0–1.0).


detail?

optional detail: string

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

Free-text detail for display.


kind

kind: string

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

“sensor” (LLM was consulted) or “symbolic” (deterministic).


llmUsed

llmUsed: boolean

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

Whether the LLM was actually invoked at this stage.


matchedEntities

matchedEntities: MatchedEntityDto[]

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

Entities matched at this stage (sort + term id).


name

name: string

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

Stage id, e.g. “classify_intent”.


order

order: number

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

Execution order.


osfql?

optional osfql: string

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

OSFQL executed/produced at this stage, if any.


sensorPoint?

optional sensorPoint: string

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

For sensor stages: the sensor point consulted.


strategy?

optional strategy: string

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

Symbolic strategy used, if any.