Skip to main content

core_rules/
lib.rs

1pub mod def;
2pub mod engine;
3pub mod hnsw;
4pub mod index;
5pub mod suggest;
6pub mod views;
7pub use def::{
8    decode_rule_def, default_max_edges, evaluate, is_keymatch_rooted, NodeView, Predicate, RuleDef,
9    DEFAULT_KEYMATCH_TOP_K, DEFAULT_SCORED_TOP_K,
10};
11pub use engine::{EngineEdgeDelta, GraphMut, RuleEngine, RuleIvfExport, SideIvfExport};
12pub use hnsw::HnswIndex;
13pub use index::{
14    candidate_spec, with_ivf_drift_rebuild, CandidateSpec, RuleIndex, SideIndex, IVF_DRIFT_REBUILD,
15};
16pub use suggest::{
17    RuleSuggestion, SuggestConfig, SuggestReport, DEFAULT_SEED as SUGGEST_DEFAULT_SEED,
18};
19pub use views::{AggFn, ViewDef, ViewSource, ViewStore};