Skip to content

Interface: StreamFactorsRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / StreamFactorsRequest

Defined in: src/types/analysis.ts:1170

Request to stream the factor concepts (a Boolean factorization) of a visible scope.

optional continuation?: Readonly<Record<string, unknown>> | null

Defined in: src/types/analysis.ts:1200

The continuation an earlier response of the same request ended with. Verified natively before anything is delivered; a mismatch is a 422 (fca_factor_continuation_refused).


optional maximumUncovered?: number

Defined in: src/types/analysis.ts:1188

Stop once at most this many positive incidences remain uncovered. Absent ⇒ 0: full coverage. Reaching a positive target is reported as FcaFactorStreamEnd.targetReached, never as complete.


optional pageSize?: number | null

Defined in: src/types/analysis.ts:1194

Factors after which this response ends with a continuation. Absent or null ⇒ stream to the target in one response. 0 is a 400. A page size is a delivery bound, not a search cap.


optional semantics?: DiscoverySemantics

Defined in: src/types/analysis.ts:1182

How records become attributes, exactly as for StreamConceptsRequest.semantics. Absent ⇒ schema_presence. The context must be complete and unambiguous, else 400.


optional sortNames?: string[]

Defined in: src/types/analysis.ts:1176

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.