zeppelin-embed-text 0.8.0

Local text embedding and retrieval for Zeppelin Embed on macOS and Apple silicon
//! Text embedding and retrieval over Zeppelin Embed stores.

#![deny(
    clippy::expect_used,
    clippy::indexing_slicing,
    clippy::panic,
    clippy::todo,
    clippy::unimplemented,
    clippy::unwrap_used,
    unsafe_op_in_unsafe_fn
)]
#![warn(missing_docs)]

#[cfg(all(test, feature = "test-support"))]
extern crate self as zeppelin_embed_text;

/// Model architecture implementations.
pub mod arch;
/// Immutable `.zem` bundle loading and validation.
pub mod bundle;
mod epoch;
mod error;
mod ingest;
mod model;
mod model_manifest;
mod query;
/// Model runtime implementations.
pub mod runtime;
mod tokenizer;
/// Tower metadata and token batches.
pub mod tower;

pub use error::TextError;
pub use ingest::{
    ChunkPolicy, IngestControl, IngestOptions, TextDocument, TextFaultSite, TextIngestReport,
    TextOpenOptions, TextStore,
};
pub use model::{
    DEFAULT_MODEL_MANIFEST_SHA256, DEFAULT_MODEL_REPO, DEFAULT_MODEL_REVISION, ModelError,
    ModelOpenOptions, ModelRef, resolve_model,
};
pub use query::{
    Legs, ObservedComputeUnits, QueryBackend, QueryOptions, TextHit, TextQueryOutcome,
    TextQueryTimings,
};
pub use runtime::mlx_cache::DEFAULT_MLX_CACHE_LIMIT_BYTES;
pub use zeppelin_embed::lifecycle::SearchTier;
pub use zeppelin_embed::tier::{
    MaintenanceBudget, MaintenanceReport, MaintenanceStatus, SegmentTier,
};