How Rerankers Work
- Initial Retrieval: Vector search returns candidate memories based on semantic similarity
- Reranking: The reranker evaluates and re-scores these candidates using more complex criteria
- Final Results: Returns the top-k memories with improved relevance ordering
Benefits
- Improved Precision: Better ranking of relevant memories
- Context Awareness: More sophisticated understanding of query-memory relationships
- Performance: Can improve results without changing the underlying vector store