Skip to main content

MAX_ENTITIES_PER_MEMORY

Constant MAX_ENTITIES_PER_MEMORY 

Source
pub const MAX_ENTITIES_PER_MEMORY: usize = 50;
Expand description

Default upper bound on distinct entities persisted per memory.

Bumped from 30 → 50 in v1.0.43 to reduce semantic loss on rich documents. Configurable at runtime via SQLITE_GRAPHRAG_MAX_ENTITIES_PER_MEMORY.