KB Statistics Keywords π‘ BETA
KB statistics keywords read collection metrics from the knowledge store.
What it does
All six forms are registered with engine.register_fn in crates/botbasic_data/src/keywords/kb_statistics.rs.
Keyword β effect
| Keyword | Effect |
|---|---|
KB STATISTICS |
Aggregate figures |
KB COLLECTION STATS |
One collection |
KB DOCUMENTS COUNT |
Document count |
KB DOCUMENTS ADDED SINCE |
Recent additions |
KB LIST COLLECTIONS |
Collection names |
KB STORAGE SIZE |
Storage used |
Limits
- Listed in the closed keyword catalog in
botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one. - Registered as engine functions, so they are used as call expressions.
- No threshold or default value is published for the returned numbers.