Skip to content

Interface: TemporalSeries

@kortexya/reasoninglayer


@kortexya/reasoninglayer / TemporalSeries

Defined in: src/types/temporal.ts:493

The result of folding a term selection into a temporal series.

points is empty for a pure trend; trend is present only for trend. The three term counts reconcile the selection: usedTerms + skippedTerms accounts for every one of the totalTerms supplied, with terms skipped when they lack a usable time or value feature under a skip missing-policy.

const { series } = await client.temporal.temporalSeries(request);
console.log(`${series.usedTerms}/${series.totalTerms} terms folded`);

points: TemporalSeriesPoint[]

Defined in: src/types/temporal.ts:495

Emitted aggregate points (empty for a pure trend).


skippedTerms: number

Defined in: src/types/temporal.ts:507

Terms skipped for a missing or non-numeric time/value feature.


totalTerms: number

Defined in: src/types/temporal.ts:501

Total terms supplied by the selector.


optional trend?: TemporalTrendSummary

Defined in: src/types/temporal.ts:498

Trend summary, present only for the trend operator.


usedTerms: number

Defined in: src/types/temporal.ts:504

Terms that produced an observation.