Interface: HeavyHittersRequest
@kortexya/reasoninglayer / Streaming / HeavyHittersRequest
Interface: HeavyHittersRequest
Defined in: src/types/streaming.ts:62
Body of POST /api/v1/streaming/heavy-hitters — Misra-Gries detection.
Properties
capacity
capacity:
number
Defined in: src/types/streaming.ts:67
Counter capacity k. Every item whose true frequency exceeds
N / (k + 1) is guaranteed to appear in the output. Must be ≥ 1.
items
items:
string[]
Defined in: src/types/streaming.ts:72
Items to feed into the sketch. Repeated entries are counted as separate observations. Maximum 1 000 000 items per call.