Expand description
Core library for ripvec semantic code search.
Provides pluggable embedding backends (backend::EmbedBackend trait with
CPU, CUDA, Metal, and MLX implementations), tree-sitter code chunking, parallel
embedding, and cosine similarity ranking.
Re-exports§
pub use error::Error;
Modules§
- backend
- Embedding backend abstraction layer.
- bm25
- BM25 keyword search index for code chunks.
- cache
- Persistent index cache with content-addressed object store.
- chunk
- Tree-sitter based code chunking with sliding-window fallback.
- embed
- Parallel batch embedding pipeline with streaming backpressure.
- error
- Error types for ripvec-core.
- hybrid
- Hybrid semantic + keyword search with Reciprocal Rank Fusion (RRF).
- index
- In-memory search index for real-time re-ranking.
- languages
- Language registry mapping file extensions to tree-sitter grammars.
- profile
- Pipeline profiling instrumentation.
- repo_
map PageRank-weighted structural overview of a codebase.- similarity
- Cosine similarity computation and ranking.
- tokenize
HuggingFacetokenizer wrapper.- turbo_
quant - TurboQuant: high-throughput compressed vector search.
- walk
- Parallel directory traversal using the
ignorecrate.
Type Aliases§
- Result
- Convenience Result type for ripvec-core.