Skip to content

Interface: ReasoningStageDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ReasoningStageDto

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

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

optional blockedSites?: string[]

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

Hosts the Space blocked before any page fetch.


optional confidence?: number

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

Optional confidence for this stage (0.0–1.0).


optional detail?: string

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

Free-text detail for display.


optional elapsedMs?: number | null

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

How long the leg took.


optional extracted?: number | null

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

Pages whose typed facts were extracted.


optional followUpOf?: 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: boolean

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

Whether the LLM was actually invoked at this stage.


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.


optional osfql?: string

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

OSFQL executed/produced at this stage, if any.


optional outcome?: 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.


optional read?: number | null

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

Pages read and stored as web_page records.


optional readingDeadline?: string | null

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

While reading: when the engine stops waiting for the pages.


optional reason?: 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.


optional searched?: number | null

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

Results the search returned.


optional sensorPoint?: string

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

For sensor stages: the sensor point consulted.


optional strategy?: string

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

Symbolic strategy used, if any.