Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/memory / / DEFAULT_THRESHOLD_RATIO

Variable: DEFAULT_THRESHOLD_RATIO

ts
const DEFAULT_THRESHOLD_RATIO: 0.85 = 0.85;

Defined in: packages/memory/src/context-engine/compaction/thresholds.ts:37

Default ratio multiplied against the provider's context window when neither thresholdTokens nor thresholdRatio is supplied.

Stable