Overview
TheFlashrankRerankAdapter implements reranking functionality that:
- Improves Relevance: Re-ranks retrieved documents for better relevance
- Fast Performance: Uses optimized ONNX models for speed
- Easy Integration: Seamlessly integrates with LangChain retrieval chains
- Automatic Model Download: Downloads models automatically on first use
Configuration
Configure throughLangChatConfig:
Usage
Basic Usage
The adapter is automatically initialized byLangChatEngine:
Related Documentation
- Vector Search Guide - Vector search guide
- Configuration - Configuration options