Expand description
ailake-core — shared type system
No I/O, no async, no external deps beyond serde/uuid/thiserror/half. Every other crate depends on this one. This crate depends on nothing internal.
Re-exports§
pub use episodic::episodic_columns;pub use episodic::hybrid_score;pub use episodic::recency_weight;pub use episodic::EpisodicMemorySchema;pub use episodic::RecencyConfig;pub use error::AilakeError;pub use error::AilakeResult;pub use filter::ColumnFilter;pub use filter::FilterOp;pub use filter::FilterValue;pub use schema::llm_columns;pub use schema::multimodal_columns;pub use schema::now_ns;pub use schema::tool_call_columns;pub use schema::LlmContextSchema;pub use schema::MultimodalContextSchema;pub use schema::PQConfig;pub use schema::PartitionDef;pub use schema::ToolCallOutcome;pub use schema::ToolCallSchema;pub use schema::VectorStoragePolicy;pub use types::ByteLen;pub use types::ByteOffset;pub use types::Centroid;pub use types::Dim;pub use types::EmbeddingModelInfo;pub use types::RowId;pub use types::VectorColSpec;pub use types::VectorMetric;pub use types::VectorModality;pub use types::VectorPrecision;
Modules§
- episodic
- Phase 9 — Episodic memory schema and recency scoring primitives.
- error
- filter
- Column-level predicate for pushdown filtering during Parquet reads.
- schema
- types
Constants§
- MAX_
TOP_ K - Upper bound on
top_kaccepted anywhere a search request enters the system (JNI C-ABI,ailake-query::scanner, CLI, Python bindings).top_kflows intoef.max(top_k * 10)inailake-index’s HNSW search and then aBinaryHeap::with_capacitysized off that — an unvalidated hugetop_krequests a multi-GB allocation whose failure aborts the process. Single source of truth so every entry point enforces the same limit.