Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,7 @@ from pinecone_text.sparse import BM25Encoder
|
|
21 |
from langchain_huggingface import HuggingFaceEmbeddings
|
22 |
from langchain_community.retrievers import PineconeHybridSearchRetriever
|
23 |
from langchain_groq import ChatGroq
|
|
|
24 |
from langchain.retrievers.document_compressors import FlashrankRerank
|
25 |
from langchain_community.chat_models import ChatPerplexity
|
26 |
|
|
|
21 |
from langchain_huggingface import HuggingFaceEmbeddings
|
22 |
from langchain_community.retrievers import PineconeHybridSearchRetriever
|
23 |
from langchain_groq import ChatGroq
|
24 |
+
from langchain.retrievers import ContextualCompressionRetriever
|
25 |
from langchain.retrievers.document_compressors import FlashrankRerank
|
26 |
from langchain_community.chat_models import ChatPerplexity
|
27 |
|