Ask a question to get started
Enter to sendā¢Shift+Enter new line
InfinityRerank()
BaseDocumentCompressor
Infinity client to use for compressing documents.
Model to use for reranking.
Number of documents to return.
Validate that python package exists in environment.
Returns an ordered list of documents ordered by their relevance to the provided query.
Compress documents using Infinity's rerank API.
Document compressor that uses Infinity Rerank API.
Infinity Rerank API