Skip to main content

Module retrieval

Module retrieval 

Source
Expand description

Retrieval request planning and optional derived backend adapters.

Retrieval owns query-shape validation and budgets before the application service asks storage and derived indexes for data.

Modules§

provider

Structs§

EmbeddingProviderKindError
Invalid embedding provider kind supplied by runtime configuration.
ReadModelBackendConfig
Runtime read model configuration shared by refresh and retrieval status.
ReadModelBackendModeError
Invalid read model backend mode supplied by runtime configuration.
ReadModelMetadata
Model metadata used by semantic/vector refresh workers and diagnostics.
RemoteEmbeddingConfig
Runtime configuration for a remote embedding provider.
RerankConfig
Runtime configuration for post-fusion result reranking.
RetrievalPlan
Validated retrieval request with bounded result count.

Enums§

EmbeddingProviderKind
Remote LLM provider family used for embedding calls.
ReadModelBackendMode
Configured owner of a semantic or vector read model.
RetrievalPlanError
Retrieval planning error mapped to stable API errors by application.

Constants§

DEFAULT_EMBEDDING_BATCH_SIZE
DEFAULT_EMBEDDING_MAX_CONCURRENCY
DEFAULT_EMBEDDING_TIMEOUT
DEFAULT_RERANK_CANDIDATE_MULTIPLIER
DEFAULT_RERANK_MAX_CANDIDATES
DEFAULT_RERANK_TIMEOUT
LOCAL_RERANK_MODEL
LOCAL_SEMANTIC_MODEL
LOCAL_VECTOR_DIMENSION
LOCAL_VECTOR_MODEL

Functions§

read_model_backend_statuses
Builds semantic/vector backend status from configured read models and index cursors.