Skip to main content

ailake_core/
lib.rs

1// SPDX-License-Identifier: MIT OR Apache-2.0
2//! ailake-core — shared type system
3//!
4//! No I/O, no async, no external deps beyond serde/uuid/thiserror/half.
5//! Every other crate depends on this one. This crate depends on nothing internal.
6
7pub mod error;
8pub mod schema;
9pub mod types;
10
11pub use error::{AilakeError, AilakeResult};
12pub use schema::{
13    llm_columns, multimodal_columns, LlmContextSchema, MultimodalContextSchema, PQConfig,
14    VectorStoragePolicy,
15};
16pub use types::{
17    ByteLen, ByteOffset, Centroid, Dim, EmbeddingModelInfo, RowId, VectorMetric, VectorModality,
18    VectorPrecision,
19};