Skip to documentation
Docs navigation
Docs/Retrieval Pipeline
Advanced

Retrieval Pipeline

Understand semantic search, lifecycle filters, ranking, and prompt assembly.

Stages

Embed the query.
Search active memory vectors.
Apply lifecycle and metadata filters.
Rank by semantic relevance and confidence.
Group by topic and trim to the token budget.

Evaluation

Measure both retrieval relevance and the downstream answer quality produced from the assembled context.