Contextual AI Reranker
Contextual AI's Instruction-Following Reranker is the world's first reranker designed to follow custom instructions about how to prioritize documents based on specific criteria like recency, source, and metadata. With superior performance on the BEIR benchmark (scoring 61.2 and outperforming competitors by significant margins), it delivers unprecedented control and accuracy for enterprise RAG applications.
Key Capabilitiesโ
- Instruction Following: Dynamically control document ranking through natural language commands
- Conflict Resolution: Intelligently handle contradictory information from multiple knowledge sources
- Superior Accuracy: Achieve state-of-the-art performance on industry benchmarks
- Seamless Integration: Drop-in replacement for existing rerankers in your RAG pipeline
The reranker excels at resolving real-world challenges in enterprise knowledge bases, such as prioritizing recent documents over outdated ones or favoring internal documentation over external sources.
To learn more about our instruction-following reranker and see examples of it in action, visit our product overview.
For comprehensive documentation on Contextual AI's products, please visit our developer portal.
This integration requires the contextual-client
Python SDK. Learn more about it here.
Overviewโ
This integration invokes Contextual AI's Grounded Language Model.
Integration detailsโ
Class | Package | Local | Serializable | JS support | Package downloads | Package latest |
---|---|---|---|---|---|---|
ContextualRerank | langchain-contextual | โ | beta | โ |