document_compressors#

Classes

document_compressors.dashscope_rerank.DashScopeRerank

Document compressor that uses DashScope Rerank API.

document_compressors.flashrank_rerank.FlashrankRerank

Document compressor using Flashrank interface.

document_compressors.infinity_rerank.InfinityRerank

Document compressor that uses Infinity Rerank API.

document_compressors.jina_rerank.JinaRerank

Document compressor that uses Jina Rerank API.

document_compressors.llmlingua_filter.LLMLinguaCompressor

Compress using LLMLingua Project.

document_compressors.openvino_rerank.OpenVINOReranker

OpenVINO rerank models.

document_compressors.openvino_rerank.RerankRequest([...])

Request for reranking.

document_compressors.rankllm_rerank.ModelType(value)

document_compressors.rankllm_rerank.RankLLMRerank

Document compressor using Flashrank interface.

document_compressors.volcengine_rerank.VolcengineRerank

Document compressor that uses Volcengine Rerank API.