Skip to main content

EMBEDDING_DIM_RANGE

Constant EMBEDDING_DIM_RANGE 

Source
pub const EMBEDDING_DIM_RANGE: RangeInclusive<usize>;
Expand description

Accepted range for any embedding dimensionality, override or recorded.

Declared once because the bound is checked on the CLI/XDG override, on the value adopted from schema_meta, and in the warning text. Three separate literals would be three chances to drift.