Skip to main content

MAX_TOP_K

Constant MAX_TOP_K 

Source
pub const MAX_TOP_K: usize = 1000;
Expand description

Hard ceiling on top_k. The recall layer ignores anything above its own configured max anyway; this just prevents a client from forcing the adapter to round-trip absurd values.