From 8c807d85dc5a13cd775e9bf56210d31f940c0f59 Mon Sep 17 00:00:00 2001 From: Andrei Fajardo <92402603+nerdai@users.noreply.github.com> Date: Tue, 20 Feb 2024 10:01:26 -0500 Subject: [PATCH] Remove CohereReRank and LlmLongLingua breaking imports (#11023) --- llama-index-core/llama_index/core/indices/postprocessor.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/llama-index-core/llama_index/core/indices/postprocessor.py b/llama-index-core/llama_index/core/indices/postprocessor.py index 5a66d9be0b..365ece9b6f 100644 --- a/llama-index-core/llama_index/core/indices/postprocessor.py +++ b/llama-index-core/llama_index/core/indices/postprocessor.py @@ -1,13 +1,11 @@ # for backward compatibility from llama_index.core.postprocessor import ( AutoPrevNextNodePostprocessor, - CohereRerank, EmbeddingRecencyPostprocessor, FixedRecencyPostprocessor, KeywordNodePostprocessor, LLMRerank, LongContextReorder, - LongLLMLinguaPostprocessor, MetadataReplacementPostProcessor, NERPIINodePostprocessor, PIINodePostprocessor, @@ -31,13 +29,11 @@ __all__ = [ "TimeWeightedPostprocessor", "PIINodePostprocessor", "NERPIINodePostprocessor", - "CohereRerank", "LLMRerank", "SentenceEmbeddingOptimizer", "SentenceTransformerRerank", "MetadataReplacementPostProcessor", "LongContextReorder", - "LongLLMLinguaPostprocessor", "FlagEmbeddingReranker", "RankGPTRerank", "BaseNodePostprocessor", -- GitLab