Skip to main content

Module embed

Module embed 

Source
Expand description

Search configuration, results, and file I/O helpers.

The transformer streaming pipeline (embed_all, embed_all_batch, embed_all_streaming, embed_distributed) was removed in B6.2. Embedding is now dispatched exclusively through VectorEncoder::embed_root.

Surviving items:

Structs§

SearchConfig
Runtime configuration for the search pipeline.
SearchResult
A search result pairing a code chunk with its similarity score.

Enums§

Scope
Intent-shaped scope for a search invocation.

Constants§

DEFAULT_BATCH_SIZE
Default batch size for embedding inference.
PROSE_EXTENSIONS
Canonical prose file extensions for Scope::Docs. Kept in sync with crate::encoder::ripvec::ranking::is_prose_path.

Functions§

apply_structural_boost
Normalize similarity scores to [0,1] and apply a PageRank structural boost.