Interface: StreamConceptsRequest
@kortexya/reasoninglayer / StreamConceptsRequest
Interface: StreamConceptsRequest
Section titled “Interface: StreamConceptsRequest”Defined in: src/types/analysis.ts:679
Request to stream the formal concepts of a visible scope.
Properties
Section titled “Properties”continuation?
Section titled “continuation?”
optionalcontinuation?:Readonly<Record<string,unknown>> |null
Defined in: src/types/analysis.ts:705
The continuation an earlier response of the same request ended with. It
is verified against the freshly read population and filters before
anything is delivered; a mismatch is a 422
(fca_stream_continuation_refused).
guidance?
Section titled “guidance?”
optionalguidance?:FcaBranchGuidance
Defined in: src/types/analysis.ts:723
Reorder-only guidance (K4): the engine’s native UCB1 bandit over the
top-level branches decides which branch is walked next. Every branch is
still walked to its end, so the delivered concepts, the counters and the
completeness are those of the unguided stream; only the delivery order
differs. The end event then carries FcaConceptStreamEnd.guidance.
A fresh stream only: sent with a continuation it is a 400 (a resumed
stream continues in native order).
minExtentSize?
Section titled “minExtentSize?”
optionalminExtentSize?:number
Defined in: src/types/analysis.ts:690
Smallest admitted extent. It prunes the traversal (an iceberg lattice;
the top concept is visited regardless). Absent ⇒ 0.
minIntentSize?
Section titled “minIntentSize?”
optionalminIntentSize?:number
Defined in: src/types/analysis.ts:692
Smallest admitted intent; it filters the output only. Absent ⇒ 0.
pageSize?
Section titled “pageSize?”
optionalpageSize?:number|null
Defined in: src/types/analysis.ts:698
Concepts after which this response ends with a continuation (a few more
may arrive from workers already running). Absent or null ⇒ the whole
stream in one response. 0 is a 400.
semantics?
Section titled “semantics?”
optionalsemantics?:DiscoverySemantics
Defined in: src/types/analysis.ts:713
How records become attributes. Absent ⇒ schema_presence (a feature
being present). scaled applies the engine’s conceptual scaling to the
named features’ values (odor=foul), as in sort discovery; the scaled
context must be complete and unambiguous, else 400.
native_predicates is refused (400).
sortNames?
Section titled “sortNames?”
optionalsortNames?:string[]
Defined in: src/types/analysis.ts:685
Sorts whose visible records (including records of their subsorts) form
the population. Absent or empty ⇒ every visible record of the tenant. An
unknown name is a 400. There is no population cap.