#![cfg(feature = "embeddings")]
pub mod build;
pub mod control;
pub mod models;
pub mod redis_store;
pub mod runtime;
pub mod state;
pub mod text_blob;
#[allow(unused_imports)]
pub use build::{
build_index_parallel, embed_max_rss_mb, parse_type_filter, plan_embed_memory,
plan_embed_memory_with_budget, run as build_index, spawn_background_embed,
BackgroundEmbedConfig, BackgroundEmbedHandle, BuildMode, BuildOptions, BuildReport,
EmbedMemoryPlan,
};
#[allow(unused_imports)]
pub use control::{
arm_embed, disarm_embed, embed_job_status, embed_resume_preflight, is_armed,
request_cancel_in_process_embed, resolve_partial_embed_budget_mb,
should_use_incremental_hnsw_puts, EmbedResumePreflight, PartialEmbedPolicy,
};
#[allow(unused_imports)]
pub use models::{
cache_dir, init_models, DirectEmbedder, EmbedModelKind, Embedder, InitReport, RerankScore,
Reranker, RerankerStatus, DEFAULT_EMBEDDING_MODEL, DEFAULT_RERANKER_MODEL, EMBEDDING_DIM,
MAX_SEQ_LEN,
};
#[allow(unused_imports)]
pub use runtime::{
embed_fast_enabled, ensure_quantized_onnx, quantized_onnx_available, resolve_embed_runtime,
EmbedRuntimePlan,
};
#[allow(unused_imports)]
pub use state::{
count_by_state, create_hnsw_index, delete_state_rows, drop_hnsw_index,
ensure_embedding_state_table, has_any, list_all, list_orphans, list_stale,
mark_stale_for_qualified_names, upsert_fresh, EmbeddingStateRow, FreshRow, StateCounts,
};
#[allow(unused_imports)]
pub use text_blob::{build_blob, classify, BlobKind};